Value< T > Class Template Reference
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>
List of all members.
Detailed Description
template<class T>
class SimTK::Value< T >
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.
Constructor & Destructor Documentation
Value |
( |
const T & |
t |
) |
[inline, explicit] |
Member Function Documentation
void compatibleAssign |
( |
const AbstractValue< T > & |
v |
) |
[inline, virtual] |
const T& get |
( |
|
) |
const [inline] |
String getTypeName |
( |
|
) |
const [inline, virtual] |
String getValueAsString |
( |
|
) |
const [inline, virtual] |
bool isCompatible |
( |
const AbstractValue< T > & |
v |
) |
const [inline, virtual] |
operator const T & |
( |
|
) |
const [inline] |
operator T & |
( |
|
) |
[inline] |
Value& operator= |
( |
const T & |
t |
) |
[inline] |
Value& operator= |
( |
const Value< T > & |
v |
) |
[inline] |
void set |
( |
const T & |
t |
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: