DABC (Data Acquisition Backbone Core)
2.9.9
|
Defines and implements basic POSIX file interface. More...
#include <dabc/BinaryFile.h>
Public Types | |
typedef void * | Handle |
File handle descriptor. More... | |
Public Member Functions | |
virtual void | fclose (Handle f) |
virtual bool | feof (Handle f) |
virtual bool | fflush (Handle f) |
virtual Object * | fmatch (const char *fmask, bool select_files=true) |
Produce list of files, object must be explicitly destroyed with ref.Destroy call One could decide if files or directories should be listed. More... | |
virtual Handle | fopen (const char *fname, const char *mode, const char *=0) |
virtual size_t | fread (void *ptr, size_t sz, size_t nmemb, Handle f) |
virtual bool | fseek (Handle f, long int offset, bool relative=true) |
virtual size_t | fwrite (const void *ptr, size_t sz, size_t nmemb, Handle f) |
virtual int | GetFileIntPar (Handle h, const char *parname) |
Method returns file-specific int parameter. More... | |
virtual bool | GetFileStrPar (Handle h, const char *parname, char *sbuf, int sbuflen) |
Method returns file-specific string parameter. More... | |
virtual bool | mkdir (const char *path) |
virtual | ~FileInterface () |
Defines and implements basic POSIX file interface.
Used to virtualize access to file system and be able to replace such access by other file engines
Definition at line 33 of file BinaryFile.h.
typedef void* dabc::FileInterface::Handle |
File handle descriptor.
Definition at line 37 of file BinaryFile.h.
|
inlinevirtual |
Reimplemented in rfio::FileInterface, and ltsm::FileInterface.
Definition at line 39 of file BinaryFile.h.
|
inlinevirtual |
Reimplemented in rfio::FileInterface, and ltsm::FileInterface.
Definition at line 41 of file BinaryFile.h.
|
inlinevirtual |
Reimplemented in rfio::FileInterface, and ltsm::FileInterface.
Definition at line 43 of file BinaryFile.h.
|
inlinevirtual |
Reimplemented in rfio::FileInterface, and ltsm::FileInterface.
Definition at line 45 of file BinaryFile.h.
|
inlinevirtual |
Reimplemented in rfio::FileInterface, and ltsm::FileInterface.
Definition at line 48 of file BinaryFile.h.
|
inlinevirtual |
Reimplemented in rfio::FileInterface, and ltsm::FileInterface.
Definition at line 51 of file BinaryFile.h.
|
inlinevirtual |
Reimplemented in rfio::FileInterface, and ltsm::FileInterface.
Definition at line 54 of file BinaryFile.h.
|
inlinevirtual |
Reimplemented in rfio::FileInterface, and ltsm::FileInterface.
Definition at line 57 of file BinaryFile.h.
|
virtual |
Produce list of files, object must be explicitly destroyed with ref.Destroy call One could decide if files or directories should be listed.
Reimplemented in rfio::FileInterface, and ltsm::FileInterface.
Definition at line 60 of file BinaryFile.cxx.
|
virtual |
Definition at line 29 of file BinaryFile.cxx.
|
inlinevirtual |
Method returns file-specific int parameter.
Reimplemented in rfio::FileInterface, and ltsm::FileInterface.
Definition at line 67 of file BinaryFile.h.
|
inlinevirtual |
Method returns file-specific string parameter.
Reimplemented in rfio::FileInterface, and ltsm::FileInterface.
Definition at line 70 of file BinaryFile.h.