|
HDK
|
#include <expressionVariablesDependencyData.h>
Public Member Functions | |
| PCP_API | PcpExpressionVariablesDependencyData () |
| PCP_API | PcpExpressionVariablesDependencyData (PcpExpressionVariablesDependencyData &&) |
| PCP_API | ~PcpExpressionVariablesDependencyData () |
| PCP_API PcpExpressionVariablesDependencyData & | operator= (PcpExpressionVariablesDependencyData &&) |
| PCP_API bool | IsEmpty () const |
| Returns true if any dependencies have been recorded, false otherwise. More... | |
| PCP_API void | AppendDependencyData (PcpExpressionVariablesDependencyData &&data) |
| PCP_API void | AddDependencies (const PcpLayerStackPtr &layerStack, std::unordered_set< std::string > &&exprVarDependencies) |
| template<class Callback > | |
| void | ForEachDependency (const Callback &callback) const |
| PCP_API const std::unordered_set < std::string > * | GetDependenciesForLayerStack (const PcpLayerStackPtr &layerStack) const |
Captures the expression variables used by an associated prim index during composition.
Definition at line 27 of file expressionVariablesDependencyData.h.
| PCP_API PcpExpressionVariablesDependencyData::PcpExpressionVariablesDependencyData | ( | ) |
| PCP_API PcpExpressionVariablesDependencyData::PcpExpressionVariablesDependencyData | ( | PcpExpressionVariablesDependencyData && | ) |
| PCP_API PcpExpressionVariablesDependencyData::~PcpExpressionVariablesDependencyData | ( | ) |
| PCP_API void PcpExpressionVariablesDependencyData::AddDependencies | ( | const PcpLayerStackPtr & | layerStack, |
| std::unordered_set< std::string > && | exprVarDependencies | ||
| ) |
Adds dependencies on the expression variables in exprVarDependencies from layerStack.
| PCP_API void PcpExpressionVariablesDependencyData::AppendDependencyData | ( | PcpExpressionVariablesDependencyData && | data | ) |
Moves dependencies in data and appends it to the dependencies in this object.
|
inline |
Runs the given callback on all of the dependencies in this object. callback must have the signature:
void(const PcpLayerStack&, const std::unordered_set<std::string>&)
The first argument is the layer stack associated with the expression variables in the second argument.
Definition at line 68 of file expressionVariablesDependencyData.h.
| PCP_API const std::unordered_set<std::string>* PcpExpressionVariablesDependencyData::GetDependenciesForLayerStack | ( | const PcpLayerStackPtr & | layerStack | ) | const |
Returns the expression variable dependencies associated with layerStack. If no such dependencies have been added, returns nullptr.
| PCP_API bool PcpExpressionVariablesDependencyData::IsEmpty | ( | ) | const |
Returns true if any dependencies have been recorded, false otherwise.
| PCP_API PcpExpressionVariablesDependencyData& PcpExpressionVariablesDependencyData::operator= | ( | PcpExpressionVariablesDependencyData && | ) |