SoNodeList(3IV)NAMESoNodeList (SoNodeList) - maintains a list of pointers to nodes
INHERITS FROM
SbPList > SoBaseList > SoNodeListSYNOPSIS
#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.
FUNCTIONSSoNodeList * SoNodeListCreate()
Constructor.
SoNodeList * SoNodeListCreateSize(int size)
Constructor that pre-allocates storage for size pointers.
Page 1SoNodeList(3IV)
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
Page 2