VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | Private Attributes

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

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

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.
bool operator== (const DtFedNode &rhs)
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...
- Public Member Functions inherited from DtOMTNode
 DtOMTNode ()
 Default Constructor.
virtual ~DtOMTNode ()
 Destructor.
 DtOMTNode (const DtOMTNode &orig)
 Copy Constructor.
DtOMTNodeoperator= (const DtOMTNode &rhs)
 Assignment Operator.
virtual void setName (const DtString &)
virtual const DtStringgetName () const
virtual void setUniqueName (const DtString &)
virtual const DtStringgetUniqueName () const
virtual void setNote (const DtString &)
virtual const DtStringgetNote () const

Protected Attributes

DtFedNodemyParentObject
- Protected Attributes inherited from DtOMTNode
DtString myName
DtString myNote
DtString myUniqueName

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

DtFedNode::DtFedNode ( )

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.

bool DtFedNode::operator== ( const DtFedNode rhs)
virtual void DtFedNode::setParentObject ( DtFedNode )
virtual

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

Member Data Documentation

DtString* DtFedNode::myFullName
mutableprivate

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.

DtFedNode* DtFedNode::myParentObject
protected

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

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)