MAK Data Logger API Documentation for HLA
List of all members | Classes | Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions
MAKLogger::DtLgrAnnotationLoader Class Reference

The loader responsible for loading annotations from a file into a DtEnvironment. More...

Classes

struct  NetPacketHeader
 Header used to read binary file format. 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 Types

enum  FileFormat { Format_Unknown, Format_LegacyBinaryFormat, Format_XML }

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:

Document ID: Generated on Sun Dec 15 18:04:30 EST 2013 from SVN revision 134418
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)