HDK
|
#include <dynamicFileFormatDependencyData.h>
Contains the necessary information for storing a prim index's dependency on dynamic file format arguments and determining if a field change affects the prim index. This data structure does not store the prim index or its path itself and is expected to be the data in some other data structure that maps prim indexes to its dependencies.
Definition at line 50 of file dynamicFileFormatDependencyData.h.
|
default |
Default constructor. This data will be empty.
|
default |
Move constructor.
PCP_API PcpDynamicFileFormatDependencyData::PcpDynamicFileFormatDependencyData | ( | const PcpDynamicFileFormatDependencyData & | rhs | ) |
Copy constructor.
PCP_API void PcpDynamicFileFormatDependencyData::AddDependencyContext | ( | const PcpDynamicFileFormatInterface * | dynamicFileFormat, |
VtValue && | dependencyContextData, | ||
TfToken::Set && | composedFieldNames, | ||
TfToken::Set && | composedAttributeNames | ||
) |
Adds dependency info from a single context that generated dynamic file format arguments (usually a payload arc in the graph). dynamicFileFormat
is the file format that generated the arguments. dependencyContextData
is custom dependency information generated when the file format generated its arguments. composedFieldNames
is a list of the fields that were composed on the prim to generate arguments.
PCP_API void PcpDynamicFileFormatDependencyData::AppendDependencyData | ( | PcpDynamicFileFormatDependencyData && | dependencyData | ) |
Takes all the dependency data from dependencyData
and adds it to this dependency.
PCP_API bool PcpDynamicFileFormatDependencyData::CanAttributeDefaultValueChangeAffectFileFormatArguments | ( | const TfToken & | attributeName, |
const VtValue & | oldValue, | ||
const VtValue & | newValue | ||
) | const |
Given an attributeName
and the changed attribute default values in oldValue
and newValue
, this returns whether this default value change can affect any of the file format arguments generated by any of the contexts stored in this dependency.
PCP_API bool PcpDynamicFileFormatDependencyData::CanFieldChangeAffectFileFormatArguments | ( | const TfToken & | fieldName, |
const VtValue & | oldValue, | ||
const VtValue & | newValue | ||
) | const |
Given a field
name and the changed field values in oldValue
and newValue
, this returns whether this change can affect any of the file format arguments generated by any of the contexts stored in this dependency.
PCP_API const TfToken::Set& PcpDynamicFileFormatDependencyData::GetRelevantAttributeNames | ( | ) | const |
Returns a list of attribute names that were composed for any of the dependency contexts that were added to this dependency.
PCP_API const TfToken::Set& PcpDynamicFileFormatDependencyData::GetRelevantFieldNames | ( | ) | const |
Returns a list of field names that were composed for any of the dependency contexts that were added to this dependency.
|
inline |
Returns whether this dependency data is empty.
Definition at line 90 of file dynamicFileFormatDependencyData.h.
|
inline |
Move assignment operator.
Definition at line 68 of file dynamicFileFormatDependencyData.h.
|
inline |
Copy assignment operator.
Definition at line 75 of file dynamicFileFormatDependencyData.h.
|
inline |
Swap the contents of this dependency data with rhs
.
Definition at line 82 of file dynamicFileFormatDependencyData.h.
|
inline |
Same as Swap(), but standard name.
Definition at line 87 of file dynamicFileFormatDependencyData.h.