7#ifndef PXR_USD_PCP_NAMESPACE_EDITS_H
8#define PXR_USD_PCP_NAMESPACE_EDITS_H
11#include "pxr/usd/pcp/api.h"
12#include "pxr/usd/pcp/cache.h"
13#include "pxr/base/tf/hashset.h"
18PXR_NAMESPACE_OPEN_SCOPE
23class Pcp_Dependencies;
60 typedef std::vector<CacheSite> CacheSites;
72 typedef std::vector<LayerStackSite> LayerStackSites;
121PcpComputeNamespaceEdits(
const PcpCache *primaryCache,
122 const std::vector<PcpCache*>& caches,
125 const SdfLayerHandle& relocatesLayer);
127PXR_NAMESPACE_CLOSE_SCOPE
Types of changes per cache.
PcpCache is the context required to make requests of the Pcp composition algorithm and cache the resu...
Represents a stack of layers that contribute opinions to composition.
Arguments used to identify a layer stack.
Structure used to temporarily retain layers and layerStacks within a code block.
A function that maps values from one namespace (and time domain) to another.
PcpNode represents a node in an expression tree for compositing scene description.
A path value used to locate objects in layers or scenegraphs.
Base class for all Sdf spec classes.
#define TF_DECLARE_WEAK_AND_REF_PTRS(type)
Define standard weak, ref, and vector pointer types.
Sites that must respond to a namespace edit.
SdfPath newPath
New path of site.
LayerStackSites layerStackSites
Layer stack sites that must respond to a namespace edit.
CacheSites cacheSites
Cache sites that must respond to a namespace edit.
size_t cacheIndex
Index of cache of site.
SdfPath sitePath
Path of site needing fix.
PcpLayerStackPtr layerStack
Layer stack needing fix.
SdfPath oldPath
Old path of site.
EditType
Types of namespace edits that a given layer stack site could need to perform to respond to a namespac...
@ EditSpecializes
Must fixup specializes.
@ EditRelocate
Must fixup relocates.
@ EditReference
Must fixup references.
@ EditPath
Must namespace edit spec.
@ EditInherit
Must fixup inherits.
@ EditPayload
Must fixup payload.
LayerStackSites invalidLayerStackSites
Layer stack sites that are affected by a namespace edit but cannot respond properly.
EditType type
Type of edit.
Cache site that must respond to a namespace edit.
Layer stack site that must respond to a namespace edit.