man SoNodeList () - maintains a list of pointers to nodes

NAME

SoNodeList - maintains a list of pointers to nodes

INHERITS FROM

SbPList > SoBaseList > SoNodeList

SYNOPSIS

#include <Inventor/SoLists.h> Methods from class SoNodeList: c } c } SoNodeList()

c } c } SoNodeList(int size)

c } c } SoNodeList(const SoNodeList &l)

c } c } ~SoNodeList()

c } c } append(SoNode *node)

c } c } operator [](int i) const

c } c } operator =(const SoNodeList &l) Methods from class SoBaseList: c } c } insert(SoBase *ptr, int addBefore)

c } c } remove(int which)

c } c } truncate(int start)

c } c } copy(const SoBaseList &l)

c } c } set(int i, SoBase *ptr)

c } c } addReferences(SbBool flag) Methods from class SbPList: c } c } find(const void *ptr) const

c } c } getLength() const

c } c } operator ==(const SbPList &pl) const

c } c } 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

c } c } SoNodeList()

Constructor. c } c } SoNodeList(int size)

Constructor that pre-allocates storage for size pointers. c } c } SoNodeList(const SoNodeList &l)

Constructor that copies the contents of another list. c } c } ~SoNodeList()

Destructor. c } c } append(SoNode *node)

Adds a pointer to the end of the list. c } c } operator [](int i) const

Accesses an element of a list. c } c } operator =(const SoNodeList &l)

Copies a list, keeping all reference counts correct.

SEE ALSO

SoNode