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

#include <dependentNamespaceEditUtils.h>

Classes

struct  CompositionFieldEdit
 
struct  MoveEditDescription
 

Public Types

using MoveEditDescriptionVector = std::vector< MoveEditDescription >
 
using LayerSpecMoveEdits = std::unordered_map< SdfLayerHandle, MoveEditDescriptionVector, TfHash >
 Map of layer to the spec moves edits to perform on the layer. More...
 
using LayerRelocatesEdits = std::unordered_map< SdfLayerHandle, SdfRelocates, TfHash >
 

Public Attributes

std::vector< CompositionFieldEditcompositionFieldEdits
 List of all composition fields edits to perform. More...
 
LayerSpecMoveEdits layerSpecMoves
 
LayerRelocatesEdits dependentRelocatesEdits
 
std::vector< std::string > errors
 
std::vector< std::string > warnings
 
std::unordered_map< const
PcpCache
*, MoveEditDescriptionVector
dependentCachePathChanges
 

Detailed Description

Structure for bundling all the edits that need to be performed in order to perform a namespace edit and fix up downstream composition dependencies on dependent prim indexes in dependent PcpCaches. This is the return value of PcpGatherDependentNamespaceEdits.

Definition at line 32 of file dependentNamespaceEditUtils.h.

Member Typedef Documentation

using PcpDependentNamespaceEdits::LayerRelocatesEdits = std::unordered_map<SdfLayerHandle, SdfRelocates, TfHash>

Map of layer to relocates value to set in the layer metadata relocates field.

Definition at line 69 of file dependentNamespaceEditUtils.h.

Map of layer to the spec moves edits to perform on the layer.

Definition at line 63 of file dependentNamespaceEditUtils.h.

Member Data Documentation

std::vector<CompositionFieldEdit> PcpDependentNamespaceEdits::compositionFieldEdits

List of all composition fields edits to perform.

Definition at line 51 of file dependentNamespaceEditUtils.h.

std::unordered_map<const PcpCache *, MoveEditDescriptionVector> PcpDependentNamespaceEdits::dependentCachePathChanges

Lists of composed prim paths in each affected cache whose prim indexes will need to be recomputed after the changes in this object are applied. This information can be useful during change processing and notification to help report the intended effects of all the layer spec edits that are performed during a namespace edit.

Definition at line 86 of file dependentNamespaceEditUtils.h.

LayerRelocatesEdits PcpDependentNamespaceEdits::dependentRelocatesEdits

Definition at line 70 of file dependentNamespaceEditUtils.h.

std::vector<std::string> PcpDependentNamespaceEdits::errors

Errors encountered during the processing of the dependent namespace edits.

Definition at line 74 of file dependentNamespaceEditUtils.h.

LayerSpecMoveEdits PcpDependentNamespaceEdits::layerSpecMoves

Definition at line 64 of file dependentNamespaceEditUtils.h.

std::vector<std::string> PcpDependentNamespaceEdits::warnings

Warnings encountered during the processing of the dependent namespace edits.

Definition at line 78 of file dependentNamespaceEditUtils.h.


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