SoTypeList — maintains a list of SoTypes
Contents
Description
This subclass of SbPList holds lists of SoType type identifiers.
Inherits From
SbPList > SoTypeList
Methods
SoTypeList()
Constructor.
SoTypeList(intsize)
Constructor that pre-allocates storage for size types.
SoTypeList(constSoTypeList&l)
Constructor that copies the contents of another list.
~SoTypeList()
Destructor.
voidappend(SoTypetype)
Adds a type to the end of the list.
voidinsert(SoType*type,intaddBefore)
Inserts given type in list before type with given index.
voidset(inti,SoType*type)
Sets an element of a list.
intfind(SoTypetypeId)const
Returns index of given type in list, or -1 if not found.
SoTypeoperator[](inti)const
Accesses an element of a list.
Name
SoTypeList — maintains a list of SoTypesSee Also
SoTypeSoTypeList(3IV)()
Synopsis
#include<Inventor/SoLists.h>
Methods from class SoTypeList:
SoTypeList()SoTypeList(intsize)SoTypeList(constSoTypeList&l)~SoTypeList()voidappend(SoTypetype)voidinsert(SoType*type,intaddBefore)voidset(inti,SoType*type)intfind(SoTypetypeId)constSoTypeoperator[](inti)const
Methods from class SbPList:
voidremove(intwhich)intgetLength()constvoidtruncate(intstart)voidcopy(constSbPList&pl)SbPList&operator=(constSbPList&pl)intoperator==(constSbPList&pl)constintoperator!=(constSbPList&pl)const