The fully-typed container for a field value in an SdfAbstractData
.
More...
Public Member Functions | |
SdfAbstractDataTypedValue (T *value) | |
virtual bool | StoreValue (const VtValue &v) |
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 444 of file abstractData.h.