SoTypeList(3IV)NAMESoTypeList (SoTypeList) - maintains a list of SoTypes
INHERITS FROM
SbPList > SoTypeListSYNOPSIS
#include <Inventor_c/SoLists.h>
Functions from class SoTypeList:
SoTypeList * SoTypeListCreate()SoTypeList * SoTypeListCreateSize(int size)
void SoTypeListDelete(SoTypeList *this)
void SoTypeListAppend(SoTypeList *this, SoType type)
void SoTypeListInsert(SoTypeList *this, SoType *type, int
addBefore)
void SoTypeListSet(SoTypeList *this, int i, SoType *type)
int SoTypeListFind(const SoTypeList *this, SoType typeId)
SoType SoTypeListUnknownOperator(const SoTypeList *this, int
i)
Functions from class SbPList:
void SoTypeListRemove(SoTypeList *this, int which)
int SoTypeListGetLen(const SoTypeList *this)
void SoTypeListTruncate(SoTypeList *this, int start)
void SoTypeListCopy(SoTypeList *this, const SbPList *pl)
int SoTypeListIsEq(const SoTypeList *this, const SbPList
*pl)
int SoTypeListIsNEq(const SoTypeList *this, const SbPList
*pl)
DESCRIPTION
This subclass of SbPList holds lists of SoType type identifiers.
FUNCTIONSSoTypeList * SoTypeListCreate()
Constructor.
SoTypeList * SoTypeListCreateSize(int size)
Constructor that pre-allocates storage for size types.
void SoTypeListDelete(SoTypeList *this)
Destructor.
void SoTypeListAppend(SoTypeList *this, SoType type)
Adds a type to the end of the list.
void SoTypeListInsert(SoTypeList *this, SoType *type, int
addBefore)
Page 1SoTypeList(3IV)
Inserts given type in list before type with given index.
void SoTypeListSet(SoTypeList *this, int i, SoType *type)
Sets an element of a list.
int SoTypeListFind(const SoTypeList *this, SoType typeId)
Returns index of given type in list, or -1 if not found.
SoType SoTypeListUnknownOperator(const SoTypeList *this, int
i)
Accesses an element of a list.
SEE ALSO
SoType
Page 2