Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SoEngineList — maintains a list of pointers to engines

Description

       This  subclass of SoBaseList holds lists of pointers to SoEngines. It updates reference counts to engines
       in the list whenever adding or removing pointers.

Inherits From

       SbPList > SoBaseList > SoEngineList

Methods

SoEngineList()
          Constructor.

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

                         SoEngineList(constSoEngineList&l)
          Constructor that copies the contents of another list.

                         ~SoEngineList()
          Destructor.

     voidappend(SoEngine*engine)
          Adds an engine to the end of the list.

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

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

Name

       SoEngineList — maintains a list of pointers to engines

See Also

SoEngineSoEngineList(3IV)()

Synopsis

#include<Inventor/SoLists.h>

          Methods from class SoEngineList:

                         SoEngineList()SoEngineList(intsize)SoEngineList(constSoEngineList&l)~SoEngineList()voidappend(SoEngine*engine)SoEngine*operator[](inti)constSoEngineList&operator=(constSoEngineList&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