Base class for file writing/reading in DABC.
More...
#include <dabc/BinaryFile.h>
Base class for file writing/reading in DABC.
Mainly used to handle FileInterface instance and FileInterface::Handle pointer
Definition at line 84 of file BinaryFile.h.
◆ BasicFile()
dabc::BasicFile::BasicFile |
( |
| ) |
|
|
inline |
◆ ~BasicFile()
dabc::BasicFile::~BasicFile |
( |
| ) |
|
|
inline |
◆ CloseBasicFile()
bool dabc::BasicFile::CloseBasicFile |
( |
| ) |
|
|
inlineprotected |
◆ CheckIO()
void dabc::BasicFile::CheckIO |
( |
| ) |
|
|
inlineprotected |
◆ SetIO()
void dabc::BasicFile::SetIO |
( |
FileInterface * |
_io, |
|
|
bool |
_ioowner = false |
|
) |
| |
|
inline |
◆ isOpened()
bool dabc::BasicFile::isOpened |
( |
| ) |
const |
|
inline |
◆ isReading()
bool dabc::BasicFile::isReading |
( |
| ) |
const |
|
inline |
◆ isWriting()
bool dabc::BasicFile::isWriting |
( |
| ) |
const |
|
inline |
◆ eof()
bool dabc::BasicFile::eof |
( |
| ) |
const |
|
inline |
◆ GetIntPar()
int dabc::BasicFile::GetIntPar |
( |
const char * |
parname | ) |
|
|
inline |
Return integer file parameter.
Definition at line 138 of file BinaryFile.h.
◆ GetStrPar()
bool dabc::BasicFile::GetStrPar |
( |
const char * |
parname, |
|
|
char * |
sbuf, |
|
|
int |
sbuflen |
|
) |
| |
|
inline |
◆ IsRFIO()
bool dabc::BasicFile::IsRFIO |
( |
| ) |
|
|
inline |
Returns true when RFIO is used.
Definition at line 144 of file BinaryFile.h.
◆ io
◆ iowoner
bool dabc::BasicFile::iowoner |
|
protected |
interface to the file system
Definition at line 87 of file BinaryFile.h.
◆ fd
if true, io object owned by file
Definition at line 88 of file BinaryFile.h.
◆ fReadingMode
bool dabc::BasicFile::fReadingMode |
|
protected |
The documentation for this class was generated from the following file: