This document is for a version of USD that is under development. See this page for the current release.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SdfAbstractDataConstValue Class Referenceabstract

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

#include <abstractData.h>

+ Inheritance diagram for SdfAbstractDataConstValue:

Public Member Functions

virtual bool GetValue (VtValue *value) const =0
 
template<class T >
bool GetValue (T *v) const
 
virtual bool IsEqual (const VtValue &value) const =0
 

Public Attributes

const void * value
 
const std::type_info & valueType
 

Protected Member Functions

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

Detailed Description

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

See also
SdfAbstractDataConstTypedValue

Definition at line 511 of file abstractData.h.

Constructor & Destructor Documentation

◆ SdfAbstractDataConstValue()

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

Definition at line 531 of file abstractData.h.

Member Function Documentation

◆ GetValue()

bool GetValue ( T *  v) const
inline

Definition at line 516 of file abstractData.h.

Member Data Documentation

◆ value

const void* value

Definition at line 527 of file abstractData.h.

◆ valueType

const std::type_info& valueType

Definition at line 528 of file abstractData.h.


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