7 #ifndef PXR_USD_PCP_DEPENDENT_NAMESPACE_EDIT_UTILS_H
8 #define PXR_USD_PCP_DEPENDENT_NAMESPACE_EDIT_UTILS_H
20 #include <unordered_map>
69 std::unordered_map<SdfLayerHandle, SdfRelocates, TfHash>;
85 std::unordered_map<const PcpCache *, MoveEditDescriptionVector>
106 const SdfLayerHandleVector &affectedLayers,
107 const PcpLayerStackRefPtr &addRelocatesToLayerStack,
108 const SdfLayerHandle &addRelocatesToLayerStackEditLayer,
109 const std::vector<const PcpCache *> &dependentCaches);
120 const PcpLayerStackRefPtr &layerStack,
123 std::vector<std::string> *errors);
127 #endif // PXR_USD_PCP_NAMESPACE_EDITS_H
TF_DECLARE_REF_PTRS(PcpLayerStack)
PCP_API SdfLayerHandleVector PcpGatherLayersToEditForSpecMove(const PcpLayerStackRefPtr &layerStack, const SdfPath &oldSpecPath, const SdfPath &newSpecPath, std::vector< std::string > *errors)
LayerRelocatesEdits dependentRelocatesEdits
std::vector< std::string > warnings
std::unordered_map< SdfLayerHandle, SdfRelocates, TfHash > LayerRelocatesEdits
PCP_API PcpDependentNamespaceEdits PcpGatherDependentNamespaceEdits(const SdfPath &oldPrimPath, const SdfPath &newPrimPath, const SdfLayerHandleVector &affectedLayers, const PcpLayerStackRefPtr &addRelocatesToLayerStack, const SdfLayerHandle &addRelocatesToLayerStackEditLayer, const std::vector< const PcpCache * > &dependentCaches)
std::vector< CompositionFieldEdit > compositionFieldEdits
List of all composition fields edits to perform.
LayerSpecMoveEdits layerSpecMoves
std::vector< std::string > errors
VtValue newFieldValue
New value of the composition field to set.
std::unordered_map< SdfLayerHandle, MoveEditDescriptionVector, TfHash > LayerSpecMoveEdits
Map of layer to the spec moves edits to perform on the layer.
std::unordered_map< const PcpCache *, MoveEditDescriptionVector > dependentCachePathChanges
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
SdfPath path
Path of the prim spec to edit.
#define PXR_NAMESPACE_CLOSE_SCOPE
SdfLayerHandle layer
Layer containing the prim spec to edit.
std::vector< MoveEditDescription > MoveEditDescriptionVector
PXR_NAMESPACE_OPEN_SCOPE SDF_DECLARE_HANDLES(SdfLayer)
TfToken fieldName
Name of the composition field.