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

Public Member Functions

 Stashed (const CData *cdata)
 
 Stashed (const Stashed &copy)
 
 Stashed (Stashed &&from) noexcept
 
size_t get_num_stashed () const
 Returns the number of stashed children of the node.
 
PandaNodeget_stashed (size_t n) const
 Returns the nth stashed child of the node.
 
int get_stashed_sort (size_t n) const
 Returns the sort index of the nth child node of this node (that is, the number that was passed to add_child()).
 
void operator= (const Stashed &copy)
 
void operator= (Stashed &&from) noexcept
 
PandaNodeoperator[] (size_t n) const
 
size_t size () const
 

Detailed Description

Definition at line 729 of file pandaNode.h.

Constructor & Destructor Documentation

◆ Stashed() [1/4]

PandaNode::Stashed::Stashed ( )
inline

Definition at line 982 of file pandaNode.I.

◆ Stashed() [2/4]

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

Definition at line 989 of file pandaNode.I.

◆ Stashed() [3/4]

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

Definition at line 998 of file pandaNode.I.

◆ Stashed() [4/4]

PandaNode::Stashed::Stashed ( PandaNode::Stashed && from)
inlinenoexcept

Definition at line 1015 of file pandaNode.I.

Member Function Documentation

◆ get_num_stashed()

size_t PandaNode::Stashed::get_num_stashed ( ) const
inline

Returns the number of stashed children of the node.

Definition at line 1032 of file pandaNode.I.

Referenced by PandaNode::copy_children(), and PandaNode::r_prepare_scene().

◆ get_stashed()

PandaNode * PandaNode::Stashed::get_stashed ( size_t n) const
inline

Returns the nth stashed child of the node.

Definition at line 1041 of file pandaNode.I.

Referenced by PandaNode::copy_children(), and PandaNode::r_prepare_scene().

◆ get_stashed_sort()

int PandaNode::Stashed::get_stashed_sort ( size_t n) const
inline

Returns the sort index of the nth child node of this node (that is, the number that was passed to add_child()).

See get_num_stashed().

Definition at line 1052 of file pandaNode.I.

Referenced by PandaNode::copy_children().

◆ operator=() [1/2]

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

Definition at line 1007 of file pandaNode.I.

◆ operator=() [2/2]

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

Definition at line 1024 of file pandaNode.I.

◆ operator[]()

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

Definition at line 744 of file pandaNode.h.

◆ size()

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

Definition at line 745 of file pandaNode.h.


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