HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UsdResolveInfo Class Reference

#include <resolveInfo.h>

Public Member Functions

 UsdResolveInfo ()
 
UsdResolveInfoSource GetSource () const
 Return the source of the associated attribute's value. More...
 
bool HasAuthoredValueOpinion () const
 
bool HasAuthoredValue () const
 
PcpNodeRef GetNode () const
 
bool ValueIsBlocked () const
 
bool ValueSourceMightBeTimeVarying () const
 

Friends

class UsdAttribute
 
class UsdStage
 
class UsdStage_ResolveInfoAccess
 
class UsdAttributeQuery
 

Detailed Description

Container for information about the source of an attribute's value, i.e. the 'resolved' location of the attribute.

For more details, see Usd_ValueResolution.

Definition at line 54 of file resolveInfo.h.

Constructor & Destructor Documentation

UsdResolveInfo::UsdResolveInfo ( )
inline

Definition at line 57 of file resolveInfo.h.

Member Function Documentation

PcpNodeRef UsdResolveInfo::GetNode ( ) const
inline

Return the node within the containing PcpPrimIndex that provided the resolved value opinion.

Definition at line 94 of file resolveInfo.h.

UsdResolveInfoSource UsdResolveInfo::GetSource ( ) const
inline

Return the source of the associated attribute's value.

Definition at line 64 of file resolveInfo.h.

bool UsdResolveInfo::HasAuthoredValue ( ) const
inline

Return true if this UsdResolveInfo represents an attribute that has an authored value that is not blocked

Definition at line 84 of file resolveInfo.h.

bool UsdResolveInfo::HasAuthoredValueOpinion ( ) const
inline

Return true if this UsdResolveInfo represents an attribute that has an authored value opinion. This will return true if there is any authored value opinion, including a block

This is equivalent to HasAuthoredValue() || ValueIsBlocked()

Definition at line 73 of file resolveInfo.h.

bool UsdResolveInfo::ValueIsBlocked ( ) const
inline

Return true if this UsdResolveInfo represents an attribute whose value is blocked.

See Also
UsdAttribute::Block()

Definition at line 102 of file resolveInfo.h.

bool UsdResolveInfo::ValueSourceMightBeTimeVarying ( ) const
inline

Returns true if the resolve info source might be time-varying; false otherwise.

Note that this is different from UsdAttribute::ValueMightBeTimeVarying() which provides more granular answer since it has additional context from the attribute itself.

Definition at line 112 of file resolveInfo.h.

Friends And Related Function Documentation

friend class UsdAttribute
friend

Definition at line 174 of file resolveInfo.h.

friend class UsdAttributeQuery
friend

Definition at line 177 of file resolveInfo.h.

friend class UsdStage
friend

Definition at line 175 of file resolveInfo.h.

friend class UsdStage_ResolveInfoAccess
friend

Definition at line 176 of file resolveInfo.h.


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