NAME
SoNodeList – maintains a list of pointers to nodes
INHERITS FROM
SoNodeList
SYNOPSIS
#include <Inventor/SoLists.h>
Methods from class SoNodeList:
SoNodeList(const SoNodeList &l)
SoNode * operator [](int i) const
SoNodeList & operator =(const SoNodeList &l)
void insert(SoBase *ptr, int addBefore)
void addReferences(SbBool flag)
int find(const void *ptr) const
int operator ==(const SbPList &pl) const
int operator !=(const SbPList &pl) const
DESCRIPTION
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.
SEE ALSO
Typeset by Felix Ritter (MeVis Research GmbH)
Hyperlinks by Wolfram Esser (method park Software AG)