vrecko
virtual reality framework
|
#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) |
ConstraintHierarchyMember * | findHierarchyMember (string areaClassStringLookingFor) |
bool | isHierarchyAncestorOf (ConstraintHierarchyMember *hierarchyMember) |
Class representing a constraint class hierarchy member
ConstraintHierarchyMember::ConstraintHierarchyMember | ( | ) |
Creates a constraint area hierarchy node with no children
|
virtual |
Frees a constraint area hierarchy node and all its children
ConstraintHierarchyMember * ConstraintHierarchyMember::findHierarchyMember | ( | string | areaClassStringLookingFor | ) |
Tries to find a hierarchy member with the specified areaClassString
|
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
|
inline |
void ConstraintHierarchyMember::write | ( | int | level = 0 | ) |
Writes the hierarchy information to standard output (indenting according to the level parameter)