HDK
|
#include <abstractData.h>
Public Member Functions | |
SdfAbstractDataTypedValue (T *value) | |
virtual bool | StoreValue (const VtValue &v) override |
virtual bool | StoreValue (VtValue &&v) override |
Public Member Functions inherited from SdfAbstractDataValue | |
template<class T > | |
bool | StoreValue (const T &v) |
bool | StoreValue (const SdfValueBlock &block) |
Additional Inherited Members | |
Public Attributes inherited from SdfAbstractDataValue | |
void * | value |
const std::type_info & | valueType |
bool | isValueBlock |
bool | typeMismatch |
Protected Member Functions inherited from SdfAbstractDataValue | |
SdfAbstractDataValue (void *value_, const std::type_info &valueType_) | |
The fully-typed container for a field value in an SdfAbstractData
. An SdfAbstractDataTypedValue
allows a consumer to pass a pointer to an object through the virtual SdfAbstractData
interface along with information about that object's type. That information may allow implementations of SdfAbstractData
to populate the contained object in a more efficient way, avoiding unnecessary boxing/unboxing of data.
SdfAbstractDataTypedValue objects are intended to be transient; they are solely used to get pointer information into and out of an SdfAbstractData container.
Definition at line 466 of file abstractData.h.
|
inline |
Definition at line 469 of file abstractData.h.
|
inlineoverridevirtual |
Implements SdfAbstractDataValue.
Definition at line 473 of file abstractData.h.
|
inlineoverridevirtual |
Implements SdfAbstractDataValue.
Definition at line 493 of file abstractData.h.