MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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. More...
 

Protected Types

enum  FileFormat { Format_Unknown, Format_LegacyBinaryFormat, Format_XML }
 

Protected Member Functions

FileFormat determineFileFormat (const DtString &)
 Function determines file format of file. More...
 
DtEnvironment readBinaryFormat (const DtString &filename, bool &success)
 Reads the binary format. More...
 
DtEnvironment readXMLFormat (const DtString &filename, bool &success)
 Reads the XML format. This format is very extensible. More...
 

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. More...
 

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 Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)