#include <Inventor/lists/SbPList.h>
Public Member Functions | |
SbPList (void) | |
SbPList (const int sizehint) | |
SbPList (const SbPList &l) | |
void * | get (const int index) const |
void | set (const int index, void *const item) |
void * | operator[] (const int index) const |
void *& | operator[] (const int index) |
This class is for most purposes superseded by the Coin-specific SbList class.
SbPList::SbPList | ( | void | ) | [inline] |
Default constructor.
SbPList::SbPList | ( | const int | sizehint | ) | [inline] |
This constructor initializes the internal allocated size for the list to sizehint. Note that the list will still initially contain zero items.
SbPList::SbPList | ( | const SbPList & | l | ) | [inline] |
void * SbPList::get | ( | const int | index | ) | const [inline] |
Returns element at index. Does not expand array bounds if index is outside the list.
void SbPList::set | ( | const int | index, | |
void *const | item | |||
) | [inline] |
Index operator to set element at index. Does not expand array bounds if index is outside the list.
void * SbPList::operator[] | ( | const int | index | ) | const |
Returns element at index.
Overridden from parent class to automatically expand the size of the internal array if index is outside the current bounds of the list. The values of any additional pointers are then set to NULL
.
Reimplemented from SbList< void * >.
Reimplemented in SoBaseList, SoEngineList, SoNodeList, and SoPathList.
void *& SbPList::operator[] | ( | const int | index | ) |
Index operator to set element at index.
Overridden from parent class to automatically expand the size of the internal array if index is outside the current bounds of the list. The values of any additional pointers are then set to NULL
.
Reimplemented from SbList< void * >.
Reimplemented in SoActionMethodList.