#include <PropertyDblVec.h>
Public Member Functions | |
PropertyDblVec_ () | |
Default constructor. | |
PropertyDblVec_ (const std::string &aName, const SimTK::Vec< M > &aVec) | |
Construct from name and value. | |
PropertyDblVec_ (const std::string &aName, const Array< double > &anArray) | |
Construct from name and value as an Array<double>. | |
PropertyDblVec_ (const PropertyDblVec_ &aProperty) | |
Copy constructor. | |
virtual Property * | copy () const |
virtual | ~PropertyDblVec_ () |
PropertyDblVec_ & | operator= (const PropertyDblVec_ &aProperty) |
Assign this property to another. | |
virtual const char * | getTypeAsString () const |
Get the type of this property as a string. | |
virtual void | setValue (const SimTK::Vec< M > &aVec) |
set value of property from an equivalently sized Vec | |
virtual void | setValue (const Array< double > &anArray) |
set value of this property from an array of doubles of equal or greater length | |
virtual SimTK::Vec< M > & | getValueDblVec () |
get writable reference to the value | |
virtual const SimTK::Vec< M > & | getValueDblVec () const |
get const (read-only) reference to the value | |
virtual void | setValue (int aSize, const double aArray[]) |
set value from double array | |
virtual const Array< double > & | getValueDblArray () const |
get value as double array | |
virtual const std::string & | toString () |
Get a constant String represeting the value of this property. | |
virtual int | getArraySize () const |
OpenSim::PropertyDblVec_< M >::PropertyDblVec_ | ( | ) | [inline] |
Default constructor.
OpenSim::PropertyDblVec_< M >::PropertyDblVec_ | ( | const std::string & | aName, | |
const SimTK::Vec< M > & | aVec | |||
) | [inline] |
Construct from name and value.
OpenSim::PropertyDblVec_< M >::PropertyDblVec_ | ( | const std::string & | aName, | |
const Array< double > & | anArray | |||
) | [inline] |
Construct from name and value as an Array<double>.
OpenSim::PropertyDblVec_< M >::PropertyDblVec_ | ( | const PropertyDblVec_< M > & | aProperty | ) | [inline] |
Copy constructor.
virtual OpenSim::PropertyDblVec_< M >::~PropertyDblVec_ | ( | ) | [inline, virtual] |
virtual Property* OpenSim::PropertyDblVec_< M >::copy | ( | ) | const [inline, virtual] |
Implements OpenSim::Property.
virtual int OpenSim::PropertyDblVec_< M >::getArraySize | ( | ) | const [inline, virtual] |
Reimplemented from OpenSim::Property.
virtual const char* OpenSim::PropertyDblVec_< M >::getTypeAsString | ( | ) | const [inline, virtual] |
Get the type of this property as a string.
Reimplemented from OpenSim::Property.
virtual const Array<double>& OpenSim::PropertyDblVec_< M >::getValueDblArray | ( | ) | const [inline, virtual] |
get value as double array
Reimplemented from OpenSim::Property.
virtual const SimTK::Vec<M>& OpenSim::PropertyDblVec_< M >::getValueDblVec | ( | ) | const [inline, virtual] |
get const (read-only) reference to the value
virtual SimTK::Vec<M>& OpenSim::PropertyDblVec_< M >::getValueDblVec | ( | ) | [inline, virtual] |
get writable reference to the value
PropertyDblVec_& OpenSim::PropertyDblVec_< M >::operator= | ( | const PropertyDblVec_< M > & | aProperty | ) | [inline] |
Assign this property to another.
Reimplemented from OpenSim::Property.
virtual void OpenSim::PropertyDblVec_< M >::setValue | ( | int | aSize, | |
const double | aArray[] | |||
) | [inline, virtual] |
set value from double array
Reimplemented from OpenSim::Property.
virtual void OpenSim::PropertyDblVec_< M >::setValue | ( | const Array< double > & | anArray | ) | [inline, virtual] |
set value of this property from an array of doubles of equal or greater length
Reimplemented from OpenSim::Property.
virtual void OpenSim::PropertyDblVec_< M >::setValue | ( | const SimTK::Vec< M > & | aVec | ) | [inline, virtual] |
set value of property from an equivalently sized Vec
virtual const std::string& OpenSim::PropertyDblVec_< M >::toString | ( | ) | [inline, virtual] |
Get a constant String represeting the value of this property.
Implements OpenSim::Property.