VR-Link API Documentation for DIS
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
DtXMLFileReader Class Reference
+ Collaboration diagram for DtXMLFileReader:

List of all members.

Public Member Functions

 DtXMLFileReader ()
 default constructor
virtual ~DtXMLFileReader ()
 destructor
virtual DtOMTTreereadFile (const DtString &str, DtExerciseConn *ex)
 This creates an OMT tree from a file Ownership of this tree is passed to the person who called this function.
virtual DtOMTTreereadFiles (const std::vector< DtString > &str, DtExerciseConn *ex)
virtual const DtStringgetLastError ()
virtual void clearLastError ()

Protected Member Functions

virtual DtFedReadStatus openFile (const char *fedFileName, xmlDoc **newXmlDocTree)
bool isEvolvedFormat (xmlNodePtr &rootNode)
xmlNodegetNodeByName (xmlNode *rootNode, const xmlChar *nodeName)
const xmlCharchildContentByName (xmlNode *node, const xmlChar *name)

Protected Attributes

DtString myLastError
DtExerciseConnmyExConn
std::vector< DtOMTTree * > myOMTTrees

Private Member Functions

 DtXMLFileReader (const DtXMLFileReader &orig)
 Copy Constructor.
DtXMLFileReaderoperator= (const DtXMLFileReader &rhs)
 Assignment Operator.
void buildTree (DtOMTTree *omtTree)
 Setup the tree handles.
void setAttributeHandles (DtObjectClassFedNode *objNode)
void setParameterHandles (DtInteractionClassFedNode *objNode)

Constructor & Destructor Documentation

default constructor

virtual DtXMLFileReader::~DtXMLFileReader ( ) [virtual]

destructor

Copy Constructor.


Member Function Documentation

void DtXMLFileReader::buildTree ( DtOMTTree omtTree) [private]

Setup the tree handles.

const xmlChar* DtXMLFileReader::childContentByName ( xmlNode node,
const xmlChar name 
) [protected]
virtual void DtXMLFileReader::clearLastError ( ) [virtual]
virtual const DtString& DtXMLFileReader::getLastError ( ) [virtual]
xmlNode* DtXMLFileReader::getNodeByName ( xmlNode rootNode,
const xmlChar nodeName 
) [protected]
bool DtXMLFileReader::isEvolvedFormat ( xmlNodePtr &  rootNode) [protected]
virtual DtFedReadStatus DtXMLFileReader::openFile ( const char *  fedFileName,
xmlDoc **  newXmlDocTree 
) [protected, virtual]
DtXMLFileReader& DtXMLFileReader::operator= ( const DtXMLFileReader rhs) [private]

Assignment Operator.

virtual DtOMTTree* DtXMLFileReader::readFile ( const DtString str,
DtExerciseConn ex 
) [virtual]

This creates an OMT tree from a file Ownership of this tree is passed to the person who called this function.

virtual DtOMTTree* DtXMLFileReader::readFiles ( const std::vector< DtString > &  str,
DtExerciseConn ex 
) [virtual]

Member Data Documentation

std::vector<DtOMTTree*> DtXMLFileReader::myOMTTrees [protected]

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

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)