Public Member Functions | |
UpConnection (PandaNode *child) | |
bool | operator< (const UpConnection &other) const |
Sorts the up connections of a node by pointer. | |
PandaNode * | get_parent () const |
Private Attributes | |
PandaNode * | _parent |
|
Definition at line 103 of file pandaNode.I. |
|
Definition at line 140 of file pandaNode.I. References BitMask< PN_uint32, 32 >::all_off(). |
|
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. |
|
Definition at line 264 of file pandaNode.h. Referenced by PandaNode::DownConnection::get_sort(), and UpConnection(). |