vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ConstraintHierarchyMember Class Reference

#include <ConstraintHierarchy.h>

Public Member Functions

 ConstraintHierarchyMember ()
 
virtual ~ConstraintHierarchyMember ()
 
string getAreaClassString ()
 
void setAreaClassString (string areaClassString)
 
bool loadXMLFile (const char *xmlFile)
 
bool loadXMLParameters (XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *pParametersNode)
 
void write (int level=0)
 
ConstraintHierarchyMemberfindHierarchyMember (string areaClassStringLookingFor)
 
bool isHierarchyAncestorOf (ConstraintHierarchyMember *hierarchyMember)
 

Detailed Description

Class representing a constraint class hierarchy member

Constructor & Destructor Documentation

ConstraintHierarchyMember::ConstraintHierarchyMember ( )

Creates a constraint area hierarchy node with no children

ConstraintHierarchyMember::~ConstraintHierarchyMember ( )
virtual

Frees a constraint area hierarchy node and all its children

Member Function Documentation

ConstraintHierarchyMember * ConstraintHierarchyMember::findHierarchyMember ( string  areaClassStringLookingFor)

Tries to find a hierarchy member with the specified areaClassString

string ConstraintHierarchyMember::getAreaClassString ( )
inline
bool ConstraintHierarchyMember::isHierarchyAncestorOf ( ConstraintHierarchyMember hierarchyMember)

Returns whether this hierarchy node is an ancestor of the specified node (or that node itself)

bool ConstraintHierarchyMember::loadXMLFile ( const char *  xmlFile)

Loads a constraint area hierarchy node and its children from the specified XML file

bool ConstraintHierarchyMember::loadXMLParameters ( XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *  pParametersNode)

Loads a constraint area hierarchy node and its children from a DOM node

void ConstraintHierarchyMember::setAreaClassString ( string  areaClassString)
inline
void ConstraintHierarchyMember::write ( int  level = 0)

Writes the hierarchy information to standard output (indenting according to the level parameter)


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