Open Inventor Reference
|
Maintains a list of pointers to nodes. More...
#include <Inventor/SoLists.h>
Public Member Functions | |
SoNodeList () | |
SoNodeList (int size) | |
SoNodeList (const SoNodeList &l) | |
~SoNodeList () | |
Destructor. | |
void | append (SoNode *ptr) |
Adds a pointer to the end of the list. | |
SoNodeList & | operator= (const SoNodeList &l) |
Copies a list, keeping all reference counts correct. | |
SoNode * | operator[] (int i) const |
Access an element of a list. |
This subclass of SoBaseList holds lists of pointers to SoNodes. It updates reference counts to nodes in the list whenever adding or removing pointers.
SoNodeList::SoNodeList | ( | const SoNodeList & | l | ) | [inline] |
void SoNodeList::append | ( | SoNode * | ptr | ) | [inline] |
Reimplemented in SoChildList.
SoNodeList& SoNodeList::operator= | ( | const SoNodeList & | l | ) | [inline] |
Definition at line 190 of file SoLists.h.
References SoBaseList::copy().
SoNode* SoNodeList::operator[] | ( | int | i | ) | const [inline] |
Reimplemented from SoBaseList.