The loader responsible for loading annotations from a file into a DtEnvironment.
More...
Public Member Functions |
| virtual | ~DtLgrAnnotationLoader () |
| virtual DtEnvironment | loadFile (const DtString &filename, bool &success) |
| | Attempts to load the annotations from the filename into the supplied manager.
|
Protected Member Functions |
| FileFormat | determineFileFormat (const DtString &) |
| | Function determines file format of file.
|
| DtEnvironment | readBinaryFormat (const DtString &filename, bool &success) |
| | Reads the binary format.
|
| DtEnvironment | readXMLFormat (const DtString &filename, bool &success) |
| | Reads the XML format. This format is very extensible.
|
Static Protected Member Functions |
| static DtString | readOneLine (int fd) |
| | Read One line in a file used for the binary format to read a FOM in a file.
|
Detailed Description
The loader responsible for loading annotations from a file into a DtEnvironment.
Member Enumeration Documentation
- Enumerator:
| Format_Unknown |
|
| Format_LegacyBinaryFormat |
|
| Format_XML |
|
Constructor & Destructor Documentation
| virtual MAKLogger::DtLgrAnnotationLoader::~DtLgrAnnotationLoader |
( |
| ) |
|
|
virtual |
Member Function Documentation
| FileFormat MAKLogger::DtLgrAnnotationLoader::determineFileFormat |
( |
const DtString & |
| ) |
|
|
protected |
Function determines file format of file.
| virtual DtEnvironment MAKLogger::DtLgrAnnotationLoader::loadFile |
( |
const DtString & |
filename, |
|
|
bool & |
success |
|
) |
| |
|
virtual |
Attempts to load the annotations from the filename into the supplied manager.
| DtEnvironment MAKLogger::DtLgrAnnotationLoader::readBinaryFormat |
( |
const DtString & |
filename, |
|
|
bool & |
success |
|
) |
| |
|
protected |
Reads the binary format.
This format does not support many annotation types.
| static DtString MAKLogger::DtLgrAnnotationLoader::readOneLine |
( |
int |
fd | ) |
|
|
staticprotected |
Read One line in a file used for the binary format to read a FOM in a file.
| DtEnvironment MAKLogger::DtLgrAnnotationLoader::readXMLFormat |
( |
const DtString & |
filename, |
|
|
bool & |
success |
|
) |
| |
|
protected |
Reads the XML format. This format is very extensible.
The documentation for this class was generated from the following file: