The fully-typed container for a field value in an SdfAbstractData
.
More...
Public Member Functions | |
SdfAbstractDataConstTypedValue (const T *value) | |
virtual bool | GetValue (VtValue *v) const |
virtual bool | IsEqual (const VtValue &v) const |
Public Member Functions inherited from SdfAbstractDataConstValue | |
template<class T > | |
bool | GetValue (T *v) const |
Additional Inherited Members | |
Public Attributes inherited from SdfAbstractDataConstValue | |
const void * | value |
const std::type_info & | valueType |
Protected Member Functions inherited from SdfAbstractDataConstValue | |
SdfAbstractDataConstValue (const void *value_, const std::type_info &valueType_) | |
The fully-typed container for a field value in an SdfAbstractData
.
An SdfAbstractDataConstTypedValue
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 store the contained object in a more efficient way, avoiding unnecessary boxing/unboxing of data.
SdfAbstractDataConstTypedValue objects are intended to be transient; they are solely used to get pointer information into an SdfAbstractData container.
Definition at line 519 of file abstractData.h.