API
4.3
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 |
Access an element of the array using its index.
Implemented in OpenSim::ValueArray< T >.
|
pure virtual |
Access an element of the array using its index.
Implemented in OpenSim::ValueArray< T >.
|
pure virtual |
Get the size of the array.
Implemented in OpenSim::ValueArray< T >.
Referenced by OpenSim::DataTable_< double, SimTK::Real >::validateDependentsMetaData().
|
pure virtual |
Get value corresponding to the given index as string.
Implemented in OpenSim::ValueArray< T >.