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

PandaNode::UpConnection Class Reference

List of all members.

Public Member Functions

 UpConnection (PandaNode *child)
bool operator< (const UpConnection &other) const
 Sorts the up connections of a node by pointer.

PandaNodeget_parent () const

Private Attributes

PandaNode_parent

Constructor & Destructor Documentation

PandaNode::UpConnection::UpConnection PandaNode child  )  [inline]
 

Definition at line 103 of file pandaNode.I.

References _parent, and INLINE.


Member Function Documentation

PandaNode * PandaNode::UpConnection::get_parent  )  const [inline]
 

Definition at line 140 of file pandaNode.I.

References BitMask< PN_uint32, 32 >::all_off().

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

Sorts the up connections of a node by pointer.

This is different from the down connections of a node, which are sorted by the specified _sort number. This makes it easy to locate a particular parent of a node by pointer, or to test for a parent-child relationship given two node pointers.

Definition at line 127 of file pandaNode.I.

References INLINE.


Member Data Documentation

PandaNode* PandaNode::UpConnection::_parent [private]
 

Definition at line 264 of file pandaNode.h.

Referenced by PandaNode::DownConnection::get_sort(), and UpConnection().


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