![]() |
VR-Link API Documentation for DIS
|
This is a generic attribute node I should be able to use this to replace all these extra node classes. More...
Inheritance diagram for DtGenAttrNode:
Collaboration diagram for DtGenAttrNode:Public Member Functions | |
| DtGenAttrNode () | |
| Default Constructor. | |
| virtual | ~DtGenAttrNode () |
| Destructor. | |
| virtual void | addAttribute (const DtString &name, const DtString &attr) |
| virtual const DtString & | getAttribute (const DtString &name) |
| virtual std::map< DtString, DtString >::iterator | getAttributes () |
Protected Attributes | |
| std::map< DtString, DtString > | myAttrMap |
Private Member Functions | |
| DtGenAttrNode (const DtGenAttrNode &orig) | |
| Copy Constructor. | |
| DtGenAttrNode & | operator= (const DtGenAttrNode &rhs) |
| Assignment Operator. | |
This is a generic attribute node I should be able to use this to replace all these extra node classes.
Less code = less maintenance cost! This is unused as long as other specialized node classes are being used instead
Default Constructor.
| virtual DtGenAttrNode::~DtGenAttrNode | ( | ) | [virtual] |
Destructor.
| DtGenAttrNode::DtGenAttrNode | ( | const DtGenAttrNode & | orig | ) | [private] |
Copy Constructor.
| virtual void DtGenAttrNode::addAttribute | ( | const DtString & | name, |
| const DtString & | attr | ||
| ) | [virtual] |
| virtual const DtString& DtGenAttrNode::getAttribute | ( | const DtString & | name | ) | [virtual] |
| virtual std::map<DtString, DtString>::iterator DtGenAttrNode::getAttributes | ( | ) | [virtual] |
| DtGenAttrNode& DtGenAttrNode::operator= | ( | const DtGenAttrNode & | rhs | ) | [private] |
Assignment Operator.
std::map<DtString, DtString> DtGenAttrNode::myAttrMap [protected] |