All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SdfValueBlock Class Reference

A special value type that can be used to explicitly author an opinion for an attribute's default value or time sample value that represents having no value. More...

#include <types.h>

Public Member Functions

bool operator== (const SdfValueBlock &block) const
 
bool operator!= (const SdfValueBlock &block) const
 

Friends

size_t hash_value (const SdfValueBlock &block)
 

Detailed Description

A special value type that can be used to explicitly author an opinion for an attribute's default value or time sample value that represents having no value.

Note that this is different from not having a value authored.

One could author such a value in two ways.

attribute->SetDefaultValue(VtValue(SdfValueBlock());
...
layer->SetTimeSample(attribute->GetPath(), 101, VtValue(SdfValueBlock()));
Provides a container which may hold any type, and provides introspection and iteration over array typ...
Definition: value.h:147
A special value type that can be used to explicitly author an opinion for an attribute's default valu...
Definition: types.h:591

Definition at line 591 of file types.h.

Member Function Documentation

◆ operator!=()

bool operator!= ( const SdfValueBlock block) const
inline

Definition at line 593 of file types.h.

◆ operator==()

bool operator== ( const SdfValueBlock block) const
inline

Definition at line 592 of file types.h.

Friends And Related Function Documentation

◆ hash_value

size_t hash_value ( const SdfValueBlock block)
friend

Definition at line 596 of file types.h.


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