API 4.4.1-2022-10-19-2c4045e59
For MATLAB, Python, Java, and C++ users
|
ValueArray (of type T) represents an array of SimTK::Value (of type T). More...
Public Member Functions | |
AbstractValueArray ()=default | |
AbstractValueArray (const AbstractValueArray &)=default | |
AbstractValueArray (AbstractValueArray &&)=default | |
AbstractValueArray & | operator= (const AbstractValueArray &)=default |
AbstractValueArray & | operator= (AbstractValueArray &&)=default |
virtual | ~AbstractValueArray ()=default |
virtual AbstractValueArray * | clone () const =0 |
virtual size_t | size () const =0 |
Get the size of the array. More... | |
virtual AbstractValue & | operator[] (size_t index)=0 |
Access an element of the array using its index. More... | |
virtual const AbstractValue & | operator[] (size_t index) const =0 |
Access an element of the array using its index. More... | |
virtual std::string | toString (const size_t index) const =0 |
Get value corresponding to the given index as string. More... | |
ValueArray (of type T) represents an array of SimTK::Value (of type T).
AbstractValueArray is the base class of all ValueArray thereby hiding the type of the underlying array (which is T).
|
default |
|
default |
|
default |
|
virtualdefault |
using OpenSim::AbstractValueArray::AbstractValue = SimTK::AbstractValue |
|
pure virtual |
Implemented in OpenSim::ValueArray< T >.
Referenced by OpenSim::ValueArrayDictionary::setValueArrayForKey().
|
default |
|
default |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Get the size of the array.
Implemented in OpenSim::ValueArray< T >.
Referenced by OpenSim::DataTable_< ETX, ETY >::validateDependentsMetaData().
|
pure virtual |