Open Inventor Reference
|
Maintains a list of pointers to fields. More...
#include <Inventor/SoLists.h>
Public Member Functions | |
SoFieldList () | |
SoFieldList (int size) | |
SoFieldList (const SoFieldList &l) | |
~SoFieldList () | |
Destructor. | |
void | append (SoField *field) |
Adds a pointer to the end of the list. | |
void | insert (SoField *field, int addBefore) |
Inserts given pointer in list before pointer with given index. | |
SoField * | operator[] (int i) const |
Access an element of a list. | |
void | set (int i, SoField *Field) |
Sets an element of a list. | |
SoField * | get (int i) const |
Internal versions of [] that do not check for bounds: |
This subclass of SbPList holds lists of pointers to instances of classes derived from SoField.
SoFieldList::SoFieldList | ( | const SoFieldList & | l | ) | [inline] |
SoFieldList::~SoFieldList | ( | ) | [inline] |
Definition at line 432 of file SoLists.h.
References SbPList::truncate().
void SoFieldList::append | ( | SoField * | field | ) | [inline] |
Definition at line 435 of file SoLists.h.
References SbPList::append().
SoField* SoFieldList::get | ( | int | i | ) | const [inline] |
void SoFieldList::insert | ( | SoField * | field, |
int | addBefore | ||
) | [inline] |
Definition at line 439 of file SoLists.h.
References SbPList::insert().
SoField* SoFieldList::operator[] | ( | int | i | ) | const [inline] |