Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PandaNode::DownConnection Class Reference

List of all members.

Public Member Functions

 DownConnection (PandaNode *child, int sort)
bool operator< (const DownConnection &other) const
 Provides a partial ordering on the children of a node so that they are ranked first in sort order, and then (by virtue of the ordered_vector) in the order they were added.

PandaNodeget_child () const
void set_child (PandaNode *child)
 This is only called by PandaNode::replace_child().

int get_sort () const

Private Attributes

PointerTo< PandaNode_child
int _sort

Constructor & Destructor Documentation

PandaNode::DownConnection::DownConnection PandaNode child,
int  sort
[inline]
 

Definition at line 31 of file pandaNode.I.

References _sort, and INLINE.


Member Function Documentation

PandaNode * PandaNode::DownConnection::get_child  )  const [inline]
 

Definition at line 65 of file pandaNode.I.

References _sort, and INLINE.

int PandaNode::DownConnection::get_sort  )  const [inline]
 

Definition at line 91 of file pandaNode.I.

References PandaNode::UpConnection::_parent, and INLINE.

bool PandaNode::DownConnection::operator< const DownConnection &  other  )  const [inline]
 

Provides a partial ordering on the children of a node so that they are ranked first in sort order, and then (by virtue of the ordered_vector) in the order they were added.

Definition at line 52 of file pandaNode.I.

References _child.

void PandaNode::DownConnection::set_child PandaNode child  )  [inline]
 

This is only called by PandaNode::replace_child().

Definition at line 78 of file pandaNode.I.

References INLINE.


Member Data Documentation

PointerTo< PandaNode > PandaNode::DownConnection::_child [private]
 

Definition at line 250 of file pandaNode.h.

Referenced by operator<().

int PandaNode::DownConnection::_sort [private]
 

Definition at line 251 of file pandaNode.h.

Referenced by DownConnection(), and get_child().


The documentation for this class was generated from the following files:
Generated on Fri May 2 00:53:03 2003 for Panda by doxygen1.3