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

SoNodeList — maintains a list of pointers to nodes

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.

Inherits From

       SbPList > SoBaseList > SoNodeList

Methods

SoNodeList()
          Constructor.

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

                         SoNodeList(constSoNodeList&l)
          Constructor that copies the contents of another list.

                         ~SoNodeList()
          Destructor.

     voidappend(SoNode*node)
          Adds a pointer to the end of the list.

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

     SoNodeList&operator=(constSoNodeList&l)
          Copies a list, keeping all reference counts correct.

Name

       SoNodeList — maintains a list of pointers to nodes

See Also

SoNodeSoNodeList(3IV)()

Synopsis

#include<Inventor/SoLists.h>

          Methods from class SoNodeList:

                         SoNodeList()SoNodeList(intsize)SoNodeList(constSoNodeList&l)~SoNodeList()voidappend(SoNode*node)SoNode*operator[](inti)constSoNodeList&operator=(constSoNodeList&l)

          Methods from class SoBaseList:

     voidinsert(SoBase*ptr,intaddBefore)voidremove(intwhich)voidtruncate(intstart)voidcopy(constSoBaseList&l)voidset(inti,SoBase*ptr)voidaddReferences(SbBoolflag)

          Methods from class SbPList:

     intfind(constvoid*ptr)constintgetLength()constintoperator==(constSbPList&pl)constintoperator!=(constSbPList&pl)const

See Also