MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | Private Attributes
DtFedNode Class Reference

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

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

Public Member Functions

 DtFedNode ()
 Default Constructor. More...
 
 DtFedNode (DtFedNode *)
 Build this Node as a child in the tree. More...
 
virtual ~DtFedNode ()
 Destructor. More...
 
 DtFedNode (const DtFedNode &orig)
 Copy Constructor. More...
 
DtFedNodeoperator= (const DtFedNode &rhs)
 Assignment Operator. More...
 
bool operator== (const DtFedNode &rhs)
 
virtual void setParentObject (DtFedNode *)
 Set the parent, if you haven't done it in the constructor. More...
 
virtual DtFedNodegetParentObject () const
 Get the parent. More...
 
virtual const DtString & getFullName () const
 Get the full name of this node... More...
 
- Public Member Functions inherited from DtOMTNode
 DtOMTNode ()
 Default Constructor. More...
 
virtual ~DtOMTNode ()
 Destructor. More...
 
 DtOMTNode (const DtOMTNode &orig)
 Copy Constructor. More...
 
DtOMTNodeoperator= (const DtOMTNode &rhs)
 Assignment Operator. More...
 
virtual void setName (const DtString &)
 
virtual const DtString & getName () const
 
virtual void setUniqueName (const DtString &)
 
virtual const DtString & getUniqueName () const
 
virtual void setNote (const DtString &)
 
virtual const DtString & getNote () const
 

Protected Attributes

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

Private Attributes

DtString * myFullName
 Used so we don't have to traverse the tree every time. More...
 

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 Thu Oct 3 15:35:11 EDT 2024 from SVN revision 270037
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)