VR-Link API Documentation for HLA 1516
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 DtOMTTree * readFile (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 DtOMTTree * readFiles (const std::vector< DtString > &str, DtExerciseConn *ex)
virtual const DtString & getLastError ()
virtual void clearLastError ()

Protected Member Functions

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

Protected Attributes

DtString myLastError
DtExerciseConn * myExConn
std::vector< DtOMTTree * > myOMTTrees

Private Member Functions

 DtXMLFileReader (const DtXMLFileReader &orig)
 Copy Constructor.
DtXMLFileReader & operator= (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)