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

List of all members.

Classes

struct  NetPacketHeader
 Header used to read binary file format. More...

Public Member Functions

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 Function Documentation

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) [static, protected]

Read One line in a file used for the binary format to read a FOM in a file.


The documentation for this class was generated from the following file:

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)