#include <Value.h>
Public Member Functions | |
ValueHelper () | |
ValueHelper (const T &t) | |
ValueHelper & | operator= (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 |
AbstractValue * | clone () const |
SimTK_DOWNCAST (ValueHelper, AbstractValue) | |
Protected Attributes | |
T | thing |
ValueHelper | ( | ) | [inline] |
Referenced by ValueHelper::clone().
ValueHelper | ( | const T & | t | ) | [inline, explicit] |
ValueHelper& operator= | ( | const ValueHelper< T > & | v | ) | [inline] |
References ValueHelper::thing.
const T& get | ( | ) | const [inline] |
References ValueHelper::thing.
void set | ( | const T & | t | ) | [inline] |
References ValueHelper::thing.
T& upd | ( | ) | [inline] |
References ValueHelper::thing.
bool isCompatible | ( | const AbstractValue & | v | ) | const [inline, virtual] |
Implements AbstractValue.
void compatibleAssign | ( | const AbstractValue & | v | ) | [inline, virtual] |
Implements AbstractValue.
References ValueHelper::getTypeName(), AbstractValue::getTypeName(), and SimTK_THROW2.
String getTypeName | ( | ) | const [inline, virtual] |
String getValueAsString | ( | ) | const [inline, virtual] |
AbstractValue* clone | ( | ) | const [inline, virtual] |
SimTK_DOWNCAST | ( | ValueHelper< T > | , | |
AbstractValue | ||||
) |
T thing [protected] |