Generic file storage for DABC buffers.
More...
#include <dabc/BinaryFile.h>
|
| BinaryFile () |
| buffer header More...
|
|
bool | Close () |
|
const BinaryFileHeader & | hdr () const |
|
bool | OpenReading (const char *fname) |
|
bool | OpenWriting (const char *fname) |
|
bool | ReadBuffer (void *ptr, uint64_t *sz, uint64_t *typ=0) |
|
bool | ReadBufHeader (uint64_t *size, uint64_t *typ=0) |
|
bool | ReadBufPayload (void *ptr, uint64_t sz) |
|
bool | WriteBuffer (const void *ptr, uint64_t sz, uint64_t typ=0) |
|
bool | WriteBufHeader (uint64_t size, uint64_t typ=0) |
|
bool | WriteBufPayload (const void *ptr, uint64_t sz) |
|
| ~BinaryFile () |
|
| 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 () |
|
Generic file storage for DABC buffers.
Definition at line 181 of file BinaryFile.h.
◆ BinaryFile()
dabc::BinaryFile::BinaryFile |
( |
| ) |
|
|
inline |
◆ ~BinaryFile()
dabc::BinaryFile::~BinaryFile |
( |
| ) |
|
|
inline |
◆ OpenReading()
bool dabc::BinaryFile::OpenReading |
( |
const char * |
fname | ) |
|
|
inline |
◆ OpenWriting()
bool dabc::BinaryFile::OpenWriting |
( |
const char * |
fname | ) |
|
|
inline |
◆ Close()
bool dabc::BinaryFile::Close |
( |
| ) |
|
|
inline |
◆ hdr()
◆ WriteBufHeader()
bool dabc::BinaryFile::WriteBufHeader |
( |
uint64_t |
size, |
|
|
uint64_t |
typ = 0 |
|
) |
| |
|
inline |
◆ WriteBufPayload()
bool dabc::BinaryFile::WriteBufPayload |
( |
const void * |
ptr, |
|
|
uint64_t |
sz |
|
) |
| |
|
inline |
◆ WriteBuffer()
bool dabc::BinaryFile::WriteBuffer |
( |
const void * |
ptr, |
|
|
uint64_t |
sz, |
|
|
uint64_t |
typ = 0 |
|
) |
| |
|
inline |
◆ ReadBufHeader()
bool dabc::BinaryFile::ReadBufHeader |
( |
uint64_t * |
size, |
|
|
uint64_t * |
typ = 0 |
|
) |
| |
|
inline |
◆ ReadBufPayload()
bool dabc::BinaryFile::ReadBufPayload |
( |
void * |
ptr, |
|
|
uint64_t |
sz |
|
) |
| |
|
inline |
◆ ReadBuffer()
bool dabc::BinaryFile::ReadBuffer |
( |
void * |
ptr, |
|
|
uint64_t * |
sz, |
|
|
uint64_t * |
typ = 0 |
|
) |
| |
|
inline |
◆ fFileHdr
◆ fBufHdr
The documentation for this class was generated from the following file: