#include <expressionVariablesSource.h>
Represents the layer stack associated with a set of expression variables. This is typically a simple PcpLayerStackIdentifier.
Definition at line 41 of file expressionVariablesSource.h.
PCP_API PcpExpressionVariablesSource::PcpExpressionVariablesSource |
( |
| ) |
|
Create a PcpExpressionVariableSource representing the root layer stack of a prim index.
Create a PcpExpressionVariableSource representing the layer stack identified by layerStackIdentifier
. If layerStackIdentifier
is equal to rootLayerStackIdentifier
, this is the same as the default constructor.
PCP_API PcpExpressionVariablesSource::~PcpExpressionVariablesSource |
( |
| ) |
|
PCP_API size_t PcpExpressionVariablesSource::GetHash |
( |
| ) |
const |
Return hash value for this object.
Return the identifier of the layer stack represented by this object if it is not the root layer stack. Return nullptr if this object represents the root layer stack (i.e., IsRootLayerStack returns true).
Definition at line 89 of file expressionVariablesSource.h.
bool PcpExpressionVariablesSource::IsRootLayerStack |
( |
| ) |
const |
|
inline |
Return true if this object represents a prim index's root layer stack, false otherwise. If this function returns true, GetLayerStackIdentifier will return nullptr.
Definition at line 80 of file expressionVariablesSource.h.
Convenience function to return the identifier of the layer stack represented by this object. If this object represents the root layer stack, return rootLayerStackIdentifier
, otherwise return *GetLayerStackIdentifier().
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Equivalent to ResolveLayerStackIdentifier(cache.GetLayerStackIdentifier())
The documentation for this class was generated from the following file: