SoNodeList(3IV)
SoNodeList (SoNodeList) - maintains a list of pointers to nodes
As shipped in IRIX 6.5.22. Added in IRIX 6.5.22.
NAME SoNodeList (SoNodeList) - maintains a list of pointers to nodes INHERITS FROM SbPList > SoBaseList > SoNodeList SYNOPSIS #include <Inventor_c/SoLists.h> Functions from class SoNodeList: SoNodeList * SoNodeListCreate() SoNodeList * SoNodeListCreateSize(int size) void SoNodeListDelete(SoNodeList *this) void SoNodeListAppend(SoNodeList *this, SoNode *node) SoNode * SoNodeListUnknownOperator(const SoNodeList *this, int i) SoNodeList * SoNodeListCopy(SoNodeList *this, const SoNodeList *l) Functions from class SoBaseList: void SoNodeListInsert(SoNodeList *this, SoBase *ptr, int addBefore) void SoNodeListRemove(SoNodeList *this, int which) void SoNodeListTruncate(SoNodeList *this, int start) void SoNodeListSet(SoNodeList *this, int i, SoBase *ptr) void SoNodeListAddReferences(SoNodeList *this, SbBool flag) Functions from class SbPList: int SoNodeListFind(const SoNodeList *this, const void *ptr) int SoNodeListGetLen(const SoNodeList *this) int SoNodeListIsEq(const SoNodeList *this, const SbPList *pl) int SoNodeListIsNEq(const SoNodeList *this, const SbPList *pl) 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. FUNCTIONS SoNodeList * SoNodeListCreate() Constructor. SoNodeList * SoNodeListCreateSize(int size) Constructor that pre-allocates storage for size pointers. void SoNodeListDelete(SoNodeList *this) Destructor. void SoNodeListAppend(SoNodeList *this, SoNode *node) Adds a pointer to the end of the list. SoNode * SoNodeListUnknownOperator(const SoNodeList *this, int i) Accesses an element of a list. SoNodeList * SoNodeListCopy(SoNodeList *this, const SoNodeList *l) Copies a list, keeping all reference counts correct. SEE ALSO SoNode