logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SoTypeList — maintains a list of SoTypes

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 SoTypes

See 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

See Also