1 #ifndef TFILE_ADAPTOR_TSTORAGE_FACTORY_FILE_H 2 #define TFILE_ADAPTOR_TSTORAGE_FACTORY_FILE_H 29 Bool_t parallelopen = kFALSE);
32 TStorageFactoryFile(
const char *name, Option_t *option =
"",
const char *ftitle =
"", Int_t compress = 1);
36 Bool_t
ReadBuffer(
char *buf, Int_t len)
override;
37 Bool_t
ReadBuffer(
char *buf, Long64_t
pos, Int_t len)
override;
39 Bool_t
ReadBuffers(
char *buf, Long64_t *pos, Int_t *len, Int_t nbuf)
override;
40 Bool_t
WriteBuffer(
const char *buf, Int_t len)
override;
47 Long64_t
SysSeek(Int_t fd, Long64_t
offset, Int_t whence)
override;
48 Int_t
SysStat(Int_t fd, Long_t *
id, Long64_t *
size, Long_t *flags, Long_t *modtime)
override;
49 Int_t
SysSync(Int_t fd)
override;
52 void Initialize(
const char *name, Option_t *option =
"");
54 Bool_t
ReadBuffersSync(
char *buf, Long64_t *pos, Int_t *len, Int_t nbuf);
63 #endif // TFILE_ADAPTOR_TSTORAGE_FACTORY_FILE_H
TStorageFactoryFile(void)
void ResetErrno(void) const override
Long64_t SysSeek(Int_t fd, Long64_t offset, Int_t whence) override
Int_t SysClose(Int_t fd) override
std::vector< Variable::Flags > flags
Bool_t ReadBufferAsync(Long64_t off, Int_t len) override
Bool_t ReadBuffer(char *buf, Int_t len) override
edm::propagate_const< std::unique_ptr< Storage > > storage_
ClassDefOverride(TStorageFactoryFile, 0)
std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
Int_t SysOpen(const char *pathname, Int_t flags, UInt_t mode) override
~TStorageFactoryFile(void) override
Int_t SysSync(Int_t fd) override
Bool_t WriteBuffer(const char *buf, Int_t len) override
Bool_t ReadBuffers(char *buf, Long64_t *pos, Int_t *len, Int_t nbuf) override
Bool_t ReadBuffersSync(char *buf, Long64_t *pos, Int_t *len, Int_t nbuf)
void Initialize(const char *name, Option_t *option="")
Int_t SysStat(Int_t fd, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime) override