1 #ifndef TFILE_ADAPTOR_TSTORAGE_FACTORY_FILE_H
2 # define TFILE_ADAPTOR_TSTORAGE_FACTORY_FILE_H
25 const char *ftitle, Int_t compress, Int_t netopt,
26 Bool_t parallelopen = kFALSE);
30 const char *ftitle =
"", Int_t compress = 1);
34 virtual Bool_t
ReadBuffer(
char *buf, Int_t len);
35 virtual Bool_t
ReadBuffer(
char *buf, Long64_t pos, Int_t len);
37 virtual Bool_t
ReadBuffers(
char *buf, Long64_t *pos, Int_t *len, Int_t nbuf);
38 virtual Bool_t
WriteBuffer(
const char *buf, Int_t len);
45 virtual Long64_t
SysSeek(Int_t fd, Long64_t
offset, Int_t whence);
46 virtual Int_t
SysStat(Int_t fd, Long_t *
id, Long64_t *
size, Long_t *flags, Long_t *modtime);
47 virtual Int_t
SysSync(Int_t fd);
50 void Initialize(
const char *name, Option_t *option =
"");
52 Bool_t
ReadBuffersSync(
char *buf, Long64_t *pos, Int_t *len, Int_t nbuf);
59 #endif // TFILE_ADAPTOR_TSTORAGE_FACTORY_FILE_H
TStorageFactoryFile(void)
virtual Long64_t SysSeek(Int_t fd, Long64_t offset, Int_t whence)
virtual Int_t SysOpen(const char *pathname, Int_t flags, UInt_t mode)
std::vector< Variable::Flags > flags
virtual Bool_t ReadBuffers(char *buf, Long64_t *pos, Int_t *len, Int_t nbuf)
virtual Bool_t ReadBufferAsync(Long64_t off, Int_t len)
virtual Bool_t ReadBuffer(char *buf, Int_t len)
virtual Bool_t WriteBuffer(const char *buf, Int_t len)
ClassDef(TStorageFactoryFile, 0)
~TStorageFactoryFile(void)
void ResetErrno(void) const
virtual Int_t SysStat(Int_t fd, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime)
virtual Int_t SysClose(Int_t fd)
virtual Int_t SysSync(Int_t fd)
Bool_t ReadBuffersSync(char *buf, Long64_t *pos, Int_t *len, Int_t nbuf)
void Initialize(const char *name, Option_t *option="")
tuple size
Write out results.