DABC (Data Acquisition Backbone Core)
2.9.9
|
Reading/writing LMD files (new API) More...
#include <mbs/LmdFile.h>
Public Member Functions | |
bool | Close () |
const FileHeader & | hdr () const |
LmdFile () | |
file header More... | |
bool | OpenReading (const char *fname, const char *opt=0) |
bool | OpenWriting (const char *fname, const char *opt=nullptr) |
bool | ReadBuffer (void *ptr, uint64_t *sz, bool onlyevent=false) |
Reads buffer with several MBS events. More... | |
bool | WriteBuffer (const void *ptr, uint64_t sz) |
Write buffer or part of buffer User must ensure that content of buffer is corresponds to the lmd header formatting. More... | |
~LmdFile () | |
![]() | |
BasicFile () | |
bool | eof () const |
int | GetIntPar (const char *parname) |
Return integer file parameter. More... | |
bool | GetStrPar (const char *parname, char *sbuf, int sbuflen) |
Return string file parameter. More... | |
bool | isOpened () const |
bool | isReading () const |
bool | IsRFIO () |
Returns true when RFIO is used. More... | |
bool | isWriting () const |
void | SetIO (FileInterface *_io, bool _ioowner=false) |
~BasicFile () | |
Protected Attributes | |
FileHeader | fFileHdr |
![]() | |
FileInterface::Handle | fd |
if true, io object owned by file More... | |
bool | fReadingMode |
file descriptor More... | |
FileInterface * | io |
bool | iowoner |
interface to the file system More... | |
Additional Inherited Members | |
![]() | |
void | CheckIO () |
bool | CloseBasicFile () |
reading/writing mode More... | |
Reading/writing LMD files (new API)
New LMD file, exclude index table from previous implementation
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |