VR-Link API Documentation for HLA 1.3
Public Member Functions | Protected Attributes | Private Attributes

Represents a node in a fed tree. More...

+ Inheritance diagram for DtFedNode:
+ Collaboration diagram for DtFedNode:

List of all members.

Public Member Functions

 DtFedNode ()
 Default Constructor.
 DtFedNode (DtFedNode *)
 Build this Node as a child in the tree.
virtual ~DtFedNode ()
 Destructor.
 DtFedNode (const DtFedNode &orig)
 Copy Constructor.
DtFedNodeoperator= (const DtFedNode &rhs)
 Assignment Operator.
virtual void setParentObject (DtFedNode *)
 Set the parent, if you haven't done it in the constructor.
virtual DtFedNodegetParentObject () const
 Get the parent.
virtual const DtStringgetFullName () const
 Get the full name of this node...

Protected Attributes

DtFedNodemyParentObject

Private Attributes

DtStringmyFullName
 Used so we don't have to traverse the tree every time.

Detailed Description

Represents a node in a fed tree.

. Which could be an interaction, an object, or an attribute.


Constructor & Destructor Documentation

Default Constructor.

DtFedNode::DtFedNode ( DtFedNode ) [explicit]

Build this Node as a child in the tree.

virtual DtFedNode::~DtFedNode ( ) [virtual]

Destructor.

DtFedNode::DtFedNode ( const DtFedNode orig)

Copy Constructor.


Member Function Documentation

virtual const DtString& DtFedNode::getFullName ( ) const [virtual]

Get the full name of this node...

This usually goes something like this: parentNodeFullName.nodeName

virtual DtFedNode* DtFedNode::getParentObject ( ) const [virtual]

Get the parent.

DtFedNode& DtFedNode::operator= ( const DtFedNode rhs)

Assignment Operator.

virtual void DtFedNode::setParentObject ( DtFedNode ) [virtual]

Set the parent, if you haven't done it in the constructor.


Member Data Documentation

DtString* DtFedNode::myFullName [mutable, private]

Used so we don't have to traverse the tree every time.

The side effect is that we can only set a node once, but I don't see why we would want to do this more than that.


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)