1 #ifndef TFILE_ADAPTOR_TSTORAGE_FACTORY_FILE_H
2 #define TFILE_ADAPTOR_TSTORAGE_FACTORY_FILE_H
12 namespace edm::storage {
31 Bool_t parallelopen = kFALSE);
34 TStorageFactoryFile(
const char *name, Option_t *option =
"",
const char *ftitle =
"", Int_t compress = 1);
39 Bool_t
ReadBuffer(
char *buf, Long64_t pos, Int_t len)
override;
41 Bool_t
ReadBuffers(
char *buf, Long64_t *pos, Int_t *len, Int_t nbuf)
override;
42 Bool_t
WriteBuffer(
const char *buf, Int_t len)
override;
49 Long64_t
SysSeek(Int_t fd, Long64_t
offset, Int_t whence)
override;
50 Int_t
SysStat(Int_t fd, Long_t *
id, Long64_t *
size, Long_t *flags, Long_t *modtime)
override;
51 Int_t
SysSync(Int_t fd)
override;
54 void Initialize(
const char *name, Option_t *option =
"");
56 Bool_t
ReadBuffersSync(
char *buf, Long64_t *pos, Int_t *len, Int_t nbuf);
65 #endif // TFILE_ADAPTOR_TSTORAGE_FACTORY_FILE_H
TStorageFactoryFile(void)
Long64_t SysSeek(Int_t fd, Long64_t offset, Int_t whence) override
Int_t SysClose(Int_t fd) override
constexpr std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
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< edm::storage::Storage > > storage_
ClassDefOverride(TStorageFactoryFile, 0)
Int_t SysOpen(const char *pathname, Int_t flags, UInt_t mode) override
void ResetErrno(void) const 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="")
tuple size
Write out results.
Int_t SysStat(Int_t fd, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime) override