API
4.2
For MATLAB, Python, Java, and C++ users
|
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 |
|
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 |
|
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::AbstractDataTable::setColumnLabels(), and OpenSim::ValueArrayDictionary::setValueForKey().