|
Simbody
3.4 (development)
|
Templatized version of the abstract class, providing generic type-specific functionality that does not require specialization, with automatic conversion to the underlying type. More...
#include <Value.h>
Inheritance diagram for SimTK::Value< T >:Public Member Functions | |
| Value () | |
| Value (const T &t) | |
| Value & | operator= (const Value &v) |
| Value & | operator= (const T &t) |
| operator const T & () const | |
| operator T & () | |
| 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 (Value, AbstractValue) | |
Protected Attributes | |
| T | thing |
Templatized version of the abstract class, providing generic type-specific functionality that does not require specialization, with automatic conversion to the underlying type.
Note that this class requires that type T supports an output operator "<<" so that we can serialize abstract values.
| SimTK::Value< T >::Value | ( | ) | [inline] |
| SimTK::Value< T >::Value | ( | const T & | t | ) | [inline, explicit] |
| Value& SimTK::Value< T >::operator= | ( | const Value< T > & | v | ) | [inline] |
| Value& SimTK::Value< T >::operator= | ( | const T & | t | ) | [inline] |
| SimTK::Value< T >::operator const T & | ( | ) | const [inline] |
| SimTK::Value< T >::operator T & | ( | ) | [inline] |
| const T& SimTK::Value< T >::get | ( | ) | const [inline] |
| void SimTK::Value< T >::set | ( | const T & | t | ) | [inline] |
| T& SimTK::Value< T >::upd | ( | ) | [inline] |
| bool SimTK::Value< T >::isCompatible | ( | const AbstractValue< T > & | v | ) | const [inline, virtual] |
Implements SimTK::AbstractValue.
| void SimTK::Value< T >::compatibleAssign | ( | const AbstractValue< T > & | v | ) | [inline, virtual] |
Implements SimTK::AbstractValue.
| String SimTK::Value< T >::getTypeName | ( | ) | const [inline, virtual] |
Implements SimTK::AbstractValue.
| String SimTK::Value< T >::getValueAsString | ( | ) | const [inline, virtual] |
Implements SimTK::AbstractValue.
| AbstractValue* SimTK::Value< T >::clone | ( | ) | const [inline, virtual] |
Implements SimTK::AbstractValue.
| SimTK::Value< T >::SimTK_DOWNCAST | ( | Value< T > | , |
| AbstractValue< T > | |||
| ) |
T SimTK::Value< T >::thing [protected] |