|
Simbody
3.5
|
Templatized version of the abstract class, providing generic type-specific functionality that does not require specialization, with automatic conversion to the underlying type. More...
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) | |
Public Member Functions inherited from SimTK::AbstractValue | |
| AbstractValue () | |
| virtual | ~AbstractValue () |
| AbstractValue & | operator= (const AbstractValue &v) |
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.
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements SimTK::AbstractValue.
|
inlinevirtual |
Implements SimTK::AbstractValue.
|
inlinevirtual |
Implements SimTK::AbstractValue.
|
inlinevirtual |
Implements SimTK::AbstractValue.
|
inlinevirtual |
Implements SimTK::AbstractValue.
| SimTK::Value< T >::SimTK_DOWNCAST | ( | Value< T > | , |
| AbstractValue< T > | |||
| ) |
|
protected |