OpenSim::PropertyDblVec_< M > Class Template Reference

#include <PropertyDblVec.h>

Inheritance diagram for OpenSim::PropertyDblVec_< M >:
OpenSim::Property

List of all members.

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 Propertycopy () 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

template<int M>
class OpenSim::PropertyDblVec_< M >


Constructor & Destructor Documentation

template<int M>
OpenSim::PropertyDblVec_< M >::PropertyDblVec_ (  )  [inline]

Default constructor.

template<int M>
OpenSim::PropertyDblVec_< M >::PropertyDblVec_ ( const std::string &  aName,
const SimTK::Vec< M > &  aVec 
) [inline]

Construct from name and value.

template<int M>
OpenSim::PropertyDblVec_< M >::PropertyDblVec_ ( const std::string &  aName,
const Array< double > &  anArray 
) [inline]

Construct from name and value as an Array<double>.

template<int M>
OpenSim::PropertyDblVec_< M >::PropertyDblVec_ ( const PropertyDblVec_< M > &  aProperty  )  [inline]

Copy constructor.

template<int M>
virtual OpenSim::PropertyDblVec_< M >::~PropertyDblVec_ (  )  [inline, virtual]

Member Function Documentation

template<int M>
virtual Property* OpenSim::PropertyDblVec_< M >::copy (  )  const [inline, virtual]

Implements OpenSim::Property.

template<int M>
virtual int OpenSim::PropertyDblVec_< M >::getArraySize (  )  const [inline, virtual]

Reimplemented from OpenSim::Property.

template<int M>
virtual const char* OpenSim::PropertyDblVec_< M >::getTypeAsString (  )  const [inline, virtual]

Get the type of this property as a string.

Reimplemented from OpenSim::Property.

template<int M>
virtual const Array<double>& OpenSim::PropertyDblVec_< M >::getValueDblArray (  )  const [inline, virtual]

get value as double array

Reimplemented from OpenSim::Property.

template<int M>
virtual const SimTK::Vec<M>& OpenSim::PropertyDblVec_< M >::getValueDblVec (  )  const [inline, virtual]

get const (read-only) reference to the value

template<int M>
virtual SimTK::Vec<M>& OpenSim::PropertyDblVec_< M >::getValueDblVec (  )  [inline, virtual]

get writable reference to the value

template<int M>
PropertyDblVec_& OpenSim::PropertyDblVec_< M >::operator= ( const PropertyDblVec_< M > &  aProperty  )  [inline]

Assign this property to another.

Reimplemented from OpenSim::Property.

template<int M>
virtual void OpenSim::PropertyDblVec_< M >::setValue ( int  aSize,
const double  aArray[] 
) [inline, virtual]

set value from double array

Reimplemented from OpenSim::Property.

template<int M>
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.

template<int M>
virtual void OpenSim::PropertyDblVec_< M >::setValue ( const SimTK::Vec< M > &  aVec  )  [inline, virtual]

set value of property from an equivalently sized Vec

template<int M>
virtual const std::string& OpenSim::PropertyDblVec_< M >::toString (  )  [inline, virtual]

Get a constant String represeting the value of this property.

Implements OpenSim::Property.


The documentation for this class was generated from the following file:

Generated on Sun Sep 25 00:19:50 2011 for OpenSim by  doxygen 1.6.1