Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

TCache Class Reference

#include <TCache.h>

Inheritance diagram for TCache:

Inheritance graph
[legend]
Collaboration diagram for TCache:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { kDfltPageSize = 0x80000, kDfltLowLevel = 70 }

Public Methods

 TCache (Int_t maxCacheSize, TFile *file, Int_t pageSize=kDfltPageSize)
virtual ~TCache ()
Int_t GetMaxCacheSize () const
Int_t GetActiveCacheSize () const
Int_t GetPageSize () const
Int_t GetLowLevel () const
Int_t Resize (Int_t maxCacheSize)
void SetLowLevel (Int_t percentOfHigh)
Int_t ReadBuffer (Seek_t offset, char *buf, Int_t len)
Int_t WriteBuffer (Seek_t offset, const char *buf, Int_t len)
Int_t Flush ()

Friends

class TFile

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
kDfltPageSize 
kDfltLowLevel 

Definition at line 107 of file TCache.h.


Constructor & Destructor Documentation

TCache::TCache Int_t    maxCacheSize,
TFile   file,
Int_t    pageSize = kDfltPageSize
 

virtual TCache::~TCache   [virtual]
 


Member Function Documentation

Int_t TCache::GetMaxCacheSize   const
 

Definition at line 115 of file TCache.h.

Int_t TCache::GetActiveCacheSize   const
 

Int_t TCache::GetPageSize   const
 

Definition at line 117 of file TCache.h.

Int_t TCache::GetLowLevel   const
 

Definition at line 118 of file TCache.h.

Int_t TCache::Resize Int_t    maxCacheSize
 

void TCache::SetLowLevel Int_t    percentOfHigh
 

Int_t TCache::ReadBuffer Seek_t    offset,
char *    buf,
Int_t    len
 

Int_t TCache::WriteBuffer Seek_t    offset,
const char *    buf,
Int_t    len
 

Int_t TCache::Flush  
 


Friends And Related Function Documentation

friend class TFile [friend]
 

Definition at line 54 of file TCache.h.


The documentation for this class was generated from the following file:
Generated on Thu Dec 18 14:56:54 2003 for ROOT by doxygen1.2.16