API
4.0
For C++ developers
|
Public Member Functions | |
ValueArray * | clone () const override |
size_t | size () const override |
Get the size of the array. More... | |
Value< T > & | operator[] (size_t index) override |
Access an element of the array using its index. More... | |
const Value< T > & | operator[] (size_t index) const override |
Access an element of the array using its index. More... | |
const std::vector< Value< T > > & | get () const |
Get the underlying array. More... | |
std::vector< Value< T > > & | upd () |
Get the underlying array. More... | |
std::string | toString (const size_t index) const override |
Get the value corresponding to the given index as string. More... | |
Public Member Functions inherited from OpenSim::AbstractValueArray | |
AbstractValueArray ()=default | |
AbstractValueArray (const AbstractValueArray &)=default | |
AbstractValueArray (AbstractValueArray &&)=default | |
AbstractValueArray & | operator= (const AbstractValueArray &)=default |
AbstractValueArray & | operator= (AbstractValueArray &&)=default |
virtual | ~AbstractValueArray ()=default |
Public Types | |
template<typename U > | |
using | Value = SimTK::Value< U > |
Public Types inherited from OpenSim::AbstractValueArray | |
using | AbstractValue = SimTK::AbstractValue |
|
inlineoverridevirtual |
Implements OpenSim::AbstractValueArray.
|
inline |
Get the underlying array.
|
inlineoverridevirtual |
Access an element of the array using its index.
IndexOutOfRange | If index is out of range. |
Implements OpenSim::AbstractValueArray.
|
inlineoverridevirtual |
Access an element of the array using its index.
IndexOutOfRange | If index is out of range. |
Implements OpenSim::AbstractValueArray.
|
inlineoverridevirtual |
Get the size of the array.
Implements OpenSim::AbstractValueArray.
|
inlineoverridevirtual |
Get the value corresponding to the given index as string.
IndexOutOfRange | If indes is out of range. |
Implements OpenSim::AbstractValueArray.
|
inline |
Get the underlying array.
Referenced by OpenSim::DelimFileAdapter< double >::extendRead(), OpenSim::AbstractDataTable::setColumnLabels(), and OpenSim::ValueArrayDictionary::setValueForKey().