stream  0.10.0
stream analysis framework
Public Member Functions | Protected Member Functions | Protected Attributes
dabc::BasicFile Class Reference

Base class for file writing/reading in DABC. More...

#include <dabc/BinaryFile.h>

Inheritance diagram for dabc::BasicFile:
dabc::BinaryFile hadaq::HldFile

Public Member Functions

void SetIO (FileInterface *_io, bool _ioowner=false)
 
bool isOpened () const
 
bool isReading () const
 
bool isWriting () const
 
bool eof () const
 
int GetIntPar (const char *parname)
 Return integer file parameter.
 
bool GetStrPar (const char *parname, char *sbuf, int sbuflen)
 Return string file parameter.
 
bool IsRFIO ()
 Returns true when RFIO is used.
 

Protected Member Functions

bool CloseBasicFile ()
 
void CheckIO ()
 

Protected Attributes

FileInterfaceio
 ! interface to the file system
 
bool iowoner
 ! if true, io object owned by file
 
FileInterface::Handle fd
 ! file descriptor
 
bool fReadingMode
 ! reading/writing mode
 

Detailed Description

Base class for file writing/reading in DABC.

Mainly used to handle FileInterface instance and FileInterface::Handle pointer


The documentation for this class was generated from the following file: