1 #ifndef DaqSource_RawFile_h 2 #define DaqSource_RawFile_h bool ok()
It is OK (i.e. file was correctly opened)
RawFile * open(const char *path)
Open file.
virtual ~RawFile()
Destructor.
int read(void *data, size_t nbytes)
Read from file.
long tell()
Tell instruction.
FILE * GetPointer()
Get file pointer.
bool isRFIO()
Castor flag.
int close()
Close file if necessary.
int seek(long offset, int whence)
Go somewhere.
int eof()
Check end of file.
int ignore(long offset)
Ignore some bytes.
char data[epos_bytes_allocation]
RawFile()
Default constructor.
bool isXROOTD()
XROOTD flag.