All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SdfAbstractDataTypedValue< T > Class Template Reference

#include <abstractData.h>

+ Inheritance diagram for SdfAbstractDataTypedValue< T >:

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
const std::type_info & valueType
bool isValueBlock
bool typeMismatch
- Protected Member Functions inherited from SdfAbstractDataValue
 SdfAbstractDataValue (void *value_, const std::type_info &valueType_)

Detailed Description

template<class T>
class SdfAbstractDataTypedValue< T >

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.

Constructor & Destructor Documentation

template<class T>
SdfAbstractDataTypedValue< T >::SdfAbstractDataTypedValue ( T value)

Definition at line 447 of file abstractData.h.

Member Function Documentation

template<class T>
virtual bool SdfAbstractDataTypedValue< T >::StoreValue ( const VtValue v)

Implements SdfAbstractDataValue.

Definition at line 451 of file abstractData.h.

The documentation for this class was generated from the following file: