Loading...
Searching...
No Matches
SdfAbstractDataValue Class Referenceabstract

A type-erased container for a field value in an SdfAbstractData. More...

#include <abstractData.h>

+ Inheritance diagram for SdfAbstractDataValue:

Public Member Functions

virtual bool StoreValue (const VtValue &value)=0
 
virtual bool StoreValue (VtValue &&value)=0
 
template<class T >
bool StoreValue (const T &v)
 
bool StoreValue (const SdfValueBlock &block)
 

Public Attributes

void * value
 
const std::type_info & valueType
 
bool isValueBlock
 
bool typeMismatch
 

Protected Member Functions

 SdfAbstractDataValue (void *value_, const std::type_info &valueType_)
 

Detailed Description

A type-erased container for a field value in an SdfAbstractData.

See also
SdfAbstractDataTypedValue

Definition at line 415 of file abstractData.h.

Constructor & Destructor Documentation

◆ SdfAbstractDataValue()

SdfAbstractDataValue ( void *  value_,
const std::type_info &  valueType_ 
)
inlineprotected

Definition at line 444 of file abstractData.h.

Member Function Documentation

◆ StoreValue() [1/2]

bool StoreValue ( const SdfValueBlock block)
inline

Definition at line 432 of file abstractData.h.

◆ StoreValue() [2/2]

bool StoreValue ( const T &  v)
inline

Definition at line 422 of file abstractData.h.

Member Data Documentation

◆ isValueBlock

bool isValueBlock

Definition at line 440 of file abstractData.h.

◆ typeMismatch

bool typeMismatch

Definition at line 441 of file abstractData.h.

◆ value

void* value

Definition at line 438 of file abstractData.h.

◆ valueType

const std::type_info& valueType

Definition at line 439 of file abstractData.h.


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