Open Inventor Reference
SoEngineOutputList Class Reference

Maintains a list of pointers to engine outputs. More...

#include <Inventor/SoLists.h>

Inheritance diagram for SoEngineOutputList:
SbPList

Public Member Functions

 SoEngineOutputList ()
 
 SoEngineOutputList (int size)
 
 SoEngineOutputList (const SoEngineOutputList &l)
 
 ~SoEngineOutputList ()
 Destructor. More...
 
void append (SoEngineOutput *engineOutput)
 Adds an engine output to the end of the list. More...
 
void insert (SoEngineOutput *engineOutput, int addBefore)
 Inserts the given engine output in the list before the element of the given index. More...
 
SoEngineOutputoperator[] (int i) const
 Access an element of a list. More...
 
void set (int i, SoEngineOutput *engineOutput)
 Sets an element of a list. More...
 
- Public Member Functions inherited from SbPList
 SbPList ()
 Constructor. More...
 
 SbPList (int initSize)
 initSize specifies an initial size for the list, which is useful as an optimization if you can estimate the length of the list before you construct it. More...
 
 SbPList (const SbPList &pl)
 Copy constructor. More...
 
 ~SbPList ()
 Destructor. More...
 
void append (void *ptr)
 Adds given pointer to end of list. More...
 
int find (const void *ptr) const
 Returns index of given pointer in list, or -1 if not found. More...
 
void insert (void *ptr, int addBefore)
 Inserts given pointer in list before pointer with given index. More...
 
void remove (int which)
 Removes pointer with given index. More...
 
int getLength () const
 Returns number of pointers in list. More...
 
void truncate (int start)
 Removes all pointers after one with given index, inclusive. More...
 
void copy (const SbPList &pl)
 Copy a list. More...
 
SbPListoperator= (const SbPList &pl)
 Assignment operator; copies list into this list. More...
 
void *& operator[] (int i) const
 Returns pointer with given index. More...
 
bool operator== (const SbPList &pl) const
 Equality and inequality operators. More...
 
bool operator!= (const SbPList &pl) const
 Equality and inequality operators. More...
 
void * get (int i) const
 Internal versions of [] that do not check for bounds: More...
 
void set (int i, void *j)
 

Detailed Description

This subclass of SbPlist holds lists of pointers to SoEngineOutputs. It updates reference counts to engine outputs in the list whenever adding or removing pointers.

See Also
SoEngineOutput

Definition at line 471 of file SoLists.h.

Constructor & Destructor Documentation

◆ SoEngineOutputList() [1/3]

SoEngineOutputList::SoEngineOutputList ( )
inline

Definition at line 473 of file SoLists.h.

◆ SoEngineOutputList() [2/3]

SoEngineOutputList::SoEngineOutputList ( int  size)
inline

Definition at line 474 of file SoLists.h.

◆ SoEngineOutputList() [3/3]

SoEngineOutputList::SoEngineOutputList ( const SoEngineOutputList l)
inline

Definition at line 475 of file SoLists.h.

◆ ~SoEngineOutputList()

SoEngineOutputList::~SoEngineOutputList ( )
inline

Definition at line 477 of file SoLists.h.

References SbPList::truncate().

Member Function Documentation

◆ append()

void SoEngineOutputList::append ( SoEngineOutput engineOutput)
inline

Definition at line 480 of file SoLists.h.

References SbPList::append().

◆ insert()

void SoEngineOutputList::insert ( SoEngineOutput engineOutput,
int  addBefore 
)
inline

Definition at line 485 of file SoLists.h.

References SbPList::insert().

◆ operator[]()

SoEngineOutput* SoEngineOutputList::operator[] ( int  i) const
inline

Definition at line 489 of file SoLists.h.

◆ set()

void SoEngineOutputList::set ( int  i,
SoEngineOutput engineOutput 
)
inline

Definition at line 493 of file SoLists.h.


The documentation for this class was generated from the following file: