Panda3D
Loading...
Searching...
No Matches
Public Member Functions | List of all members
PandaNode::Parents Class Reference

Public Member Functions

 Parents (const CData *cdata)
 
 Parents (const Parents &copy)
 
 Parents (Parents &&from) noexcept
 
size_t get_num_parents () const
 Returns the number of parents of the node.
 
PandaNodeget_parent (size_t n) const
 Returns the nth parent of the node.
 
void operator= (const Parents &copy)
 
void operator= (Parents &&from) noexcept
 
PandaNodeoperator[] (size_t n) const
 
size_t size () const
 

Detailed Description

Definition at line 752 of file pandaNode.h.

Constructor & Destructor Documentation

◆ Parents() [1/4]

PandaNode::Parents::Parents ( )
inline

Definition at line 1062 of file pandaNode.I.

◆ Parents() [2/4]

PandaNode::Parents::Parents ( const CData * cdata)
inline

Definition at line 1069 of file pandaNode.I.

◆ Parents() [3/4]

PandaNode::Parents::Parents ( const Parents & copy)
inline

Definition at line 1078 of file pandaNode.I.

◆ Parents() [4/4]

PandaNode::Parents::Parents ( PandaNode::Parents && from)
inlinenoexcept

Definition at line 1095 of file pandaNode.I.

Member Function Documentation

◆ get_num_parents()

size_t PandaNode::Parents::get_num_parents ( ) const
inline

Returns the number of parents of the node.

Definition at line 1112 of file pandaNode.I.

Referenced by PandaNode::is_under_scene_root(), and PandaNode::replace_node().

◆ get_parent()

PandaNode * PandaNode::Parents::get_parent ( size_t n) const
inline

Returns the nth parent of the node.

Definition at line 1121 of file pandaNode.I.

Referenced by PandaNode::is_under_scene_root(), and PandaNode::replace_node().

◆ operator=() [1/2]

void PandaNode::Parents::operator= ( const Parents & copy)
inline

Definition at line 1087 of file pandaNode.I.

◆ operator=() [2/2]

void PandaNode::Parents::operator= ( PandaNode::Parents && from)
inlinenoexcept

Definition at line 1104 of file pandaNode.I.

◆ operator[]()

PandaNode * PandaNode::Parents::operator[] ( size_t n) const
inline

Definition at line 766 of file pandaNode.h.

◆ size()

size_t PandaNode::Parents::size ( ) const
inline

Definition at line 767 of file pandaNode.h.


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