#ifndef ROOT_TFileCacheWrite
#define ROOT_TFileCacheWrite
#ifndef ROOT_TObject
#include "TObject.h"
#endif
class TFile;
class TFileCacheWrite : public TObject {
protected:
Long64_t fSeekStart;
Int_t fBufferSize;
Int_t fNtot;
TFile *fFile;
char *fBuffer;
Bool_t fRecursive;
private:
TFileCacheWrite(const TFileCacheWrite &);
TFileCacheWrite& operator=(const TFileCacheWrite &);
public:
TFileCacheWrite();
TFileCacheWrite(TFile *file, Int_t buffersize);
virtual ~TFileCacheWrite();
virtual Bool_t Flush();
virtual Int_t GetBytesInCache() const { return fNtot; }
virtual void Print(Option_t *option="") const;
virtual Int_t ReadBuffer(char *buf, Long64_t pos, Int_t len);
virtual Int_t WriteBuffer(const char *buf, Long64_t pos, Int_t len);
virtual void SetFile(TFile *file);
ClassDef(TFileCacheWrite,1)
};
#endif
Last change: Wed Jun 25 08:39:00 2008
Last generated: 2008-06-25 08:39
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.