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

SoFieldList — maintains a list of pointers to fields

Description

       This subclass of SbPList holds lists of pointers to instances of classes derived from SoField.

Inherits From

       SbPList > SoFieldList

Methods

SoFieldList()
          Constructor.

                         SoFieldList(intsize)
          Constructor that pre-allocates storage for size pointers.

                         SoFieldList(constSoFieldList&l)
          Constructor that copies the contents of another list.

                         ~SoFieldList()
          Destructor.

     voidappend(SoField*ptr)
          Adds a pointer to the end of the list.

     voidinsert(SoField*ptr,intaddBefore)
          Inserts given pointer in list before pointer with given index.

     SoField*operator[](inti)const
          Accesses an element of a list.

     voidset(inti,SoField*field)
          Sets an element of a list.

Name

       SoFieldList — maintains a list of pointers to fields

See Also

SoFieldSoFieldList(3IV)()

Synopsis

#include<Inventor/SoLists.h>

          Methods from class SoFieldList:

                         SoFieldList()SoFieldList(intsize)SoFieldList(constSoFieldList&l)~SoFieldList()voidappend(SoField*ptr)voidinsert(SoField*ptr,intaddBefore)SoField*operator[](inti)constvoidset(inti,SoField*field)

          Methods from class SbPList:

     intfind(constvoid*ptr)constvoidremove(intwhich)intgetLength()constvoidtruncate(intstart)voidcopy(constSbPList&pl)SbPList&operator=(constSbPList&pl)intoperator==(constSbPList&pl)constintoperator!=(constSbPList&pl)const

See Also