Maintains a list of pointers to engines. More...
#include <Inventor/lists/SoEngineList.h>
Public Member Functions | |
SoEngineList () | |
SoEngineList (int size) | |
SoEngineList (const SoEngineList &l) | |
virtual | ~SoEngineList () |
void | append (SoEngine *ptr) |
SoEngine * | operator[] (int i) const |
SoEngineList & | operator= (const SoEngineList &l) |
Maintains a list of pointers to engines.
This subclass of SoBaseList holds lists of pointers to SoEngines. It updates reference counts to engines in the list whenever adding or removing pointers.
SoEngineList::SoEngineList | ( | ) | [inline] |
Constructor.
SoEngineList::SoEngineList | ( | int | size | ) | [inline] |
Constructor that pre-allocates storage for size pointers.
SoEngineList::SoEngineList | ( | const SoEngineList & | l | ) | [inline] |
Constructor that copies the contents of another list.
virtual SoEngineList::~SoEngineList | ( | ) | [inline, virtual] |
Destructor.
void SoEngineList::append | ( | SoEngine * | ptr | ) | [inline] |
Adds an engine to the end of the list.
SoEngineList& SoEngineList::operator= | ( | const SoEngineList & | l | ) | [inline] |
Copies a list, keeping all reference counts correct.
Reimplemented from SoBaseList.
SoEngine* SoEngineList::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 SoBaseList.