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

#include <abstractData.h>

+ Inheritance diagram for SdfAbstractDataConstTypedValue< T >:

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

Detailed Description

template<class T>
class SdfAbstractDataConstTypedValue< T >

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 561 of file abstractData.h.

Constructor & Destructor Documentation

template<class T>
SdfAbstractDataConstTypedValue< T >::SdfAbstractDataConstTypedValue ( const T value)
inline

Definition at line 564 of file abstractData.h.

Member Function Documentation

template<class T>
virtual bool SdfAbstractDataConstTypedValue< T >::GetValue ( VtValue v) const
inlinevirtual

Implements SdfAbstractDataConstValue.

Definition at line 568 of file abstractData.h.

template<class T>
virtual bool SdfAbstractDataConstTypedValue< T >::IsEqual ( const VtValue v) const
inlinevirtual

Implements SdfAbstractDataConstValue.

Definition at line 574 of file abstractData.h.


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