![]() |
MAK Data Logger API Documentation for DIS
|
A file opened for reading. More...
Inheritance diagram for MAKLogger::DtLoggerOutputFile:
Collaboration diagram for MAKLogger::DtLoggerOutputFile:Public Member Functions | |
| DtLoggerOutputFile (const DtString &filename, int version, bool truncate=true) | |
| Opens a file for output and writes the version and any meta data. More... | |
| virtual | ~DtLoggerOutputFile () |
| DTOR. More... | |
| virtual int | fileDescriptor () |
| Get the file descriptor to access the file. More... | |
| virtual DtFilePosition | startOfData () |
| Get the position for the start of data. More... | |
| virtual DtFilePosition | fileSize () |
| The size of the output file. More... | |
Public Member Functions inherited from MAKLogger::DtLoggerFile | |
| virtual | ~DtLoggerFile () |
| DTOR. More... | |
| virtual int | fileVersion () const |
| Get the file version. More... | |
| virtual const DtString & | filename () const |
| Get the file name. More... | |
Protected Member Functions | |
| void | openFileForOutput (bool truncate=true) |
| Non virtual since called by constructor. More... | |
| void | writeFileVersion (int version) |
| Non virtual since called by constructor. More... | |
| virtual void | setFileDescriptor (int fd) |
| Set the file descriptor. More... | |
Protected Member Functions inherited from MAKLogger::DtLoggerFile | |
| DtLoggerFile (const DtString &filename, int fileVersion) | |
| Create a Logger file from an existing file. More... | |
| virtual void | setFileVersion (int fileVersion) |
| Set the file version. More... | |
| virtual void | setFilename (const DtString &filename) |
| Set the filename. More... | |
Protected Attributes | |
| int | myFileDescriptor |
Protected Attributes inherited from MAKLogger::DtLoggerFile | |
| DtString | myFilename |
| int | myFileVersion |
Private Member Functions | |
| DtLoggerOutputFile (const DtLoggerOutputFile &) | |
| Not Implemented. More... | |
| DtLoggerOutputFile & | operator= (const DtLoggerOutputFile &) |
| Not Implemented. More... | |
A file opened for reading.
| MAKLogger::DtLoggerOutputFile::DtLoggerOutputFile | ( | const DtString & | filename, |
| int | version, | ||
| bool | truncate = true |
||
| ) |
Opens a file for output and writes the version and any meta data.
| DtFileWriteError | if the version can't be written to the file. |
|
private |
Not Implemented.
|
virtual |
DTOR.
|
virtual |
Get the file descriptor to access the file.
Implements MAKLogger::DtLoggerFile.
|
virtual |
The size of the output file.
|
protected |
Non virtual since called by constructor.
|
private |
Not Implemented.
|
protectedvirtual |
Set the file descriptor.
|
virtual |
Get the position for the start of data.
Typically there are version and meta data before the actual data.
|
protected |
Non virtual since called by constructor.
|
protected |