ValueHelper Class Template Reference

#include <Value.h>

Inheritance diagram for ValueHelper:

AbstractValue Value List of all members.

Detailed Description

template<class T>
class SimTK::ValueHelper< T >

Templatized version of the abstract class, providing generic type-specific functionality that does not require specialization.


Public Member Functions

 ValueHelper ()
 ValueHelper (const T &t)
ValueHelperoperator= (const ValueHelper &v)
const T & get () const
void set (const T &t)
T & upd ()
bool isCompatible (const AbstractValue &v) const
void compatibleAssign (const AbstractValue &v)
String getTypeName () const
String getValueAsString () const
AbstractValueclone () const
 SimTK_DOWNCAST (ValueHelper, AbstractValue)

Protected Attributes

thing


Constructor & Destructor Documentation

ValueHelper (  )  [inline]

ValueHelper ( const T &  t  )  [inline, explicit]


Member Function Documentation

AbstractValue* clone (  )  const [inline, virtual]

Implements AbstractValue.

void compatibleAssign ( const AbstractValue v  )  [inline, virtual]

Implements AbstractValue.

const T& get (  )  const [inline]

String getTypeName (  )  const [inline, virtual]

Implements AbstractValue.

String getValueAsString (  )  const [inline, virtual]

Implements AbstractValue.

bool isCompatible ( const AbstractValue v  )  const [inline, virtual]

Implements AbstractValue.

ValueHelper& operator= ( const ValueHelper< T > &  v  )  [inline]

void set ( const T &  t  )  [inline]

SimTK_DOWNCAST ( ValueHelper< T >  ,
AbstractValue   
)

T& upd (  )  [inline]


Member Data Documentation

T thing [protected]


The documentation for this class was generated from the following file:
Generated on Thu Feb 28 01:34:36 2008 for SimTKcommon by  doxygen 1.4.7