#include <ExternalData.h>
Public Member Functions |
|
ListExternalData (bool makePythonSafe) | |
void | addValue (const T &value) |
void | clear () |
const T & | getValue (int index) const |
int | size () const |
Protected Member Functions |
|
virtual | ~ListExternalData () |
ListExternalData | ( | bool | makePythonSafe | ) |
: ExternalData( makePythonSafe ) { }
~ListExternalData | ( | ) | [protected, virtual] |
{ }
void addValue | ( | const T & | value | ) |
{ myValues.push_back( value ); }
void clear | ( | ) |
{ myValues.clear(); }
const T & getValue | ( | int | index | ) | const |
{ assert( index >= 0 && index < size() ); return myValues[index]; }
int size | ( | ) | const |
{
return myValues.size();
}