#define ClassDef(name, id)
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
A ROOT file that reads/writes via a rfiod server.
Int_t SysClose(Int_t fd)
Interface to system close. All arguments like in POSIX close.
Bool_t ReadBuffers(char *buf, Long64_t *pos, Int_t *len, Int_t nbuf)
Read a list of buffers given in pos[] and len[] and return it in a single buffer.
Int_t SysRead(Int_t fd, void *buf, Int_t len)
Interface to system read. All arguments like in POSIX read.
Int_t GetErrno() const
Method returning rfio_errno.
~TRFIOFile()
RFIO file dtor. Close and flush directory structure.
Int_t SysSync(Int_t)
Interface to system fsync. All arguments like in POSIX fsync().
void ResetErrno() const
Method resetting the rfio_errno, serrno and errno.
Long64_t SysSeek(Int_t fd, Long64_t offset, Int_t whence)
Interface to system lseek.
Int_t SysOpen(const char *pathname, Int_t flags, UInt_t mode)
Interface to system open. All arguments like in POSIX open.
Int_t SysStat(Int_t fd, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime)
Interface to TSystem:GetPathInfo().
Int_t SysWrite(Int_t fd, const void *buf, Int_t len)
Interface to system write. All arguments like in POSIX write.
Directory handler for RFIO.
Bool_t AccessPathName(const char *path, EAccessMode mode)
Returns FALSE if one can access a file using the specified access mode.
void * OpenDirectory(const char *name)
Open a directory via rfiod.
TRFIOSystem()
Create helper class that allows directory access via rfiod.
const char * GetDirEntry(void *dirp)
Get directory entry via rfiod. Returns 0 in case no more entries.
Int_t MakeDirectory(const char *name)
Make a directory via rfiod.
Int_t GetPathInfo(const char *path, FileStat_t &buf)
Get info about a file.
Int_t Unlink(const char *path)
Unlink, i.e.
void FreeDirectory(void *dirp)
Free directory via rfiod.
Abstract base class defining a generic interface to the underlying Operating System.
@ kUseGeneralPurpose
Use the recommended general-purpose setting; moderate read / write speed and compression ratio.