| HDK
    | 
Opaque data type to pass values of any type across boundaries. More...
#include <DT_Plugin.h>
 Inheritance diagram for DT_Value:
 Inheritance diagram for DT_Value:| Public Member Functions | |
| DT_Value () | |
| template<typename T > | |
| DT_Value (const T &value) | |
| template<typename T > | |
| DT_Value & | operator= (const T &value) | 
| void | copy (const DT_Value &v) | 
| void | clear () | 
| Reset the DT_Value object to be empty.  More... | |
| template<typename T > | |
| const T & | get () const | 
Opaque data type to pass values of any type across boundaries.
Definition at line 115 of file DT_Plugin.h.
| 
 | inline | 
Create a new, empty DT_Value object. A value can be assigned to it later using the assignment operator.
Definition at line 120 of file DT_Plugin.h.
| 
 | inline | 
Create a new DT_Value from the given value. A copy of the incoming value will be stored, rather than a reference to it.
Definition at line 125 of file DT_Plugin.h.
| 
 | inline | 
Reset the DT_Value object to be empty.
Definition at line 143 of file DT_Plugin.h.
An explicit copy function to copy in a new DT_Value. The call is explicit, rather than using the implicit assignment operator, to avoid arbitrary copying, which can get expensive for large objects.
Definition at line 139 of file DT_Plugin.h.
| 
 | inline | 
Return a reference to the value contained within. It is important that the type matches, otherwise an exception is thrown.
Definition at line 157 of file DT_Plugin.h.
Assign a new value to this DT_Value. Any previous value will be destroyed, and a copy made of the incoming value.
Definition at line 130 of file DT_Plugin.h.