Maintains a list of pointers to engine outputs. More...
#include <Inventor/lists/SoEngineOutputList.h>
Public Member Functions | |
SoEngineOutputList () | |
SoEngineOutputList (int size) | |
SoEngineOutputList (const SoEngineOutputList &l) | |
virtual | ~SoEngineOutputList () |
void | append (SoEngineOutput *engineOutput) |
void | insert (SoEngineOutput *engineOutput, int addBefore) |
SoEngineOutput * | operator[] (int i) const |
void | set (int i, SoEngineOutput *engineOutput) |
Maintains a list of pointers to engine outputs.
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.
SoEngineOutputList::SoEngineOutputList | ( | ) | [inline] |
Constructor.
SoEngineOutputList::SoEngineOutputList | ( | int | size | ) | [inline] |
Constructor that pre-allocates storage for size pointers.
SoEngineOutputList::SoEngineOutputList | ( | const SoEngineOutputList & | l | ) | [inline] |
Constructor that copies the contents of another list.
virtual SoEngineOutputList::~SoEngineOutputList | ( | ) | [inline, virtual] |
Destructor.
void SoEngineOutputList::append | ( | SoEngineOutput * | engineOutput | ) | [inline] |
Adds an engine output to the end of the list.
void SoEngineOutputList::insert | ( | SoEngineOutput * | engineOutput, | |
int | addBefore | |||
) | [inline] |
Inserts the given engine output in the list before the element of the given index.
SoEngineOutput* SoEngineOutputList::operator[] | ( | int | i | ) | const [inline] |
Returns pointer with given index. If requested index does not exists, list is grown to return a valid pointer.
Reimplemented from SbPList.
void SoEngineOutputList::set | ( | int | i, | |
SoEngineOutput * | engineOutput | |||
) | [inline] |
Sets an element of a list.