Loading...
Searching...
No Matches
PcpNamespaceEdits Struct Reference

Sites that must respond to a namespace edit. More...

#include <namespaceEdits.h>

Classes

struct  CacheSite
 Cache site that must respond to a namespace edit. More...
 
struct  LayerStackSite
 Layer stack site that must respond to a namespace edit. More...
 

Public Types

enum  EditType {
  EditPath , EditInherit , EditSpecializes , EditReference ,
  EditPayload , EditRelocate
}
 Types of namespace edits that a given layer stack site could need to perform to respond to a namespace edit. More...
 
typedef std::vector< CacheSiteCacheSites
 
typedef std::vector< LayerStackSiteLayerStackSites
 

Public Member Functions

void Swap (PcpNamespaceEdits &rhs)
 

Public Attributes

CacheSites cacheSites
 Cache sites that must respond to a namespace edit.
 
LayerStackSites layerStackSites
 Layer stack sites that must respond to a namespace edit.
 
LayerStackSites invalidLayerStackSites
 Layer stack sites that are affected by a namespace edit but cannot respond properly.
 

Detailed Description

Sites that must respond to a namespace edit.

Definition at line 51 of file namespaceEdits.h.


Class Documentation

◆ PcpNamespaceEdits::CacheSite

struct PcpNamespaceEdits::CacheSite

Cache site that must respond to a namespace edit.

Definition at line 72 of file namespaceEdits.h.

Class Members
size_t cacheIndex Index of cache of site.
SdfPath newPath New path of site.
SdfPath oldPath Old path of site.

◆ PcpNamespaceEdits::LayerStackSite

struct PcpNamespaceEdits::LayerStackSite

Layer stack site that must respond to a namespace edit.

All of the specs at the site will respond the same way.

Definition at line 81 of file namespaceEdits.h.

Class Members
size_t cacheIndex Index of cache of site.
PcpLayerStackPtr layerStack Layer stack needing fix.
SdfPath newPath New path.
SdfPath oldPath Old path.
SdfPath sitePath Path of site needing fix.
EditType type Type of edit.

Member Typedef Documentation

◆ CacheSites

typedef std::vector<CacheSite> CacheSites

Definition at line 77 of file namespaceEdits.h.

◆ LayerStackSites

typedef std::vector<LayerStackSite> LayerStackSites

Definition at line 89 of file namespaceEdits.h.

Member Enumeration Documentation

◆ EditType

enum EditType

Types of namespace edits that a given layer stack site could need to perform to respond to a namespace edit.

Enumerator
EditPath 

Must namespace edit spec.

EditInherit 

Must fixup inherits.

EditSpecializes 

Must fixup specializes.

EditReference 

Must fixup references.

EditPayload 

Must fixup payload.

EditRelocate 

Must fixup relocates.

Definition at line 55 of file namespaceEdits.h.

Member Function Documentation

◆ Swap()

void Swap ( PcpNamespaceEdits rhs)
inline

Definition at line 64 of file namespaceEdits.h.

Member Data Documentation

◆ cacheSites

CacheSites cacheSites

Cache sites that must respond to a namespace edit.

Definition at line 92 of file namespaceEdits.h.

◆ invalidLayerStackSites

LayerStackSites invalidLayerStackSites

Layer stack sites that are affected by a namespace edit but cannot respond properly.

For example, in situations involving relocates, a valid namespace edit in one cache may result in an invalid edit in another cache in response.

Definition at line 101 of file namespaceEdits.h.

◆ layerStackSites

LayerStackSites layerStackSites

Layer stack sites that must respond to a namespace edit.

Definition at line 95 of file namespaceEdits.h.


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