#include <Inventor/lists/SbIntList.h>
Public Member Functions | |
SbIntList (void) | |
SbIntList (const int sizehint) | |
SbIntList (const SbIntList &l) | |
int | get (const int index) const |
void | set (const int index, const int item) |
SbIntList::SbIntList | ( | void | ) | [inline] |
Default constructor.
SbIntList::SbIntList | ( | 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.
SbIntList::SbIntList | ( | const SbIntList & | l | ) | [inline] |
int SbIntList::get | ( | const int | index | ) | const [inline] |
This method returns the element at index. Does the same thing as SbList::operator[](). This method is only present for compatibility with the original Inventor API.
void SbIntList::set | ( | const int | index, | |
const int | item | |||
) | [inline] |
This method sets the element at index to item. Does the same thing as SbList::operator[](). This method is only present for compatibility with the original Inventor API.