SoNodeList3iv
Maintains a list of pointers to nodes
Usage
#include <Inventor/SoLists.h>
Methods from class SoNodeList:
SoNodeList()
SoNodeList(int size)
SoNodeList(const SoNodeList &l)
~SoNodeList()
void append(SoNode *node)
SoNode * operator [](int i) const
SoNodeList & operator =(const SoNodeList &l)
Methods from class SoBaseList:
void insert(SoBase *ptr, int addBefore)
void remove(int which)
void truncate(int start)
void copy(const SoBaseList &l)
void set(int i, SoBase *ptr)
void addReferences(SbBool flag)
Methods from class SbPList:
int find(const void *ptr) const
int getLength() const
int operator ==(const SbPList &pl) const
int operator !=(const SbPList &pl) const
Inherits from
SbPList > SoBaseList > SoNodeList
Overview
This subclass of SoBaseList holds lists of pointers to SoNodes. It updates reference counts to nodes in the list whenever adding or removing pointers.
Methods
SoNodeList()
Constructor.
SoNodeList(int size)
Constructor that pre-allocates storage for size pointers.
SoNodeList(const SoNodeList &l)
Constructor that copies the contents of another list.
~SoNodeList()
Destructor.
void append(SoNode *node)
Adds a pointer to the end of the list.
SoNode * operator [](int i) const
Accesses an element of a list.
SoNodeList & operator =(const SoNodeList &l)
Copies a list, keeping all reference counts correct.
Releases
Unchanged in 9 releases since Debian 3.0 (Woody).