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

#include <changes.h>

Public Types

enum  TargetType { TargetTypeConnection = 1 << 0, TargetTypeRelationshipTarget = 1 << 1 }
 

Public Attributes

SdfPathSet didChangeSignificantly
 
SdfPathSet didChangeSpecs
 Must rebuild the prim/property stacks at each path. More...
 
SdfPathSet didChangePrims
 
std::map< SdfPath, int,
SdfPath::FastLessThan
didChangeTargets
 Must rebuild the connections/targets at each path. More...
 
std::vector< std::pair
< SdfPath, SdfPath > > 
didChangePath
 
bool didMaybeChangeLayers = false
 Layers used in the composition may have changed. More...
 
bool didMuteOrUnmuteNonEmptyLayer = false
 Will be true if a muting operation took place on a non empty layer. More...
 
bool didAddOrRemoveNonEmptySublayer = false
 Will be true if a non empty sublayer was added or removed. More...
 
std::unordered_set
< SdfLayerHandle, TfHash
layersAffectedByMutingOrRemoval
 
SdfLayerChangeListVec layerChangeListVec
 

Friends

class PcpCache
 
class PcpChanges
 

Detailed Description

Types of changes per cache.

Definition at line 101 of file changes.h.

Member Enumeration Documentation

Enumerator
TargetTypeConnection 
TargetTypeRelationshipTarget 

Definition at line 103 of file changes.h.

Friends And Related Function Documentation

friend class PcpCache
friend

Definition at line 147 of file changes.h.

friend class PcpChanges
friend

Definition at line 148 of file changes.h.

Member Data Documentation

bool PcpCacheChanges::didAddOrRemoveNonEmptySublayer = false

Will be true if a non empty sublayer was added or removed.

Definition at line 136 of file changes.h.

std::vector<std::pair<SdfPath, SdfPath> > PcpCacheChanges::didChangePath

Must update the path on every namespace object at and below each given path. The first path is the old path to the object and the second path is the new path. The order of the vector matters and indicates the order in which the namespace edits occur.

Definition at line 127 of file changes.h.

SdfPathSet PcpCacheChanges::didChangePrims

Must rebuild the prim indexes at each path. This implies rebuilding the prim stack at each path.

Definition at line 118 of file changes.h.

SdfPathSet PcpCacheChanges::didChangeSignificantly

Must rebuild the indexes at and below each path. This implies rebuilding the prim/property stacks at and below each path.

Definition at line 111 of file changes.h.

SdfPathSet PcpCacheChanges::didChangeSpecs

Must rebuild the prim/property stacks at each path.

Definition at line 114 of file changes.h.

std::map<SdfPath, int, SdfPath::FastLessThan> PcpCacheChanges::didChangeTargets

Must rebuild the connections/targets at each path.

Definition at line 121 of file changes.h.

bool PcpCacheChanges::didMaybeChangeLayers = false

Layers used in the composition may have changed.

Definition at line 130 of file changes.h.

bool PcpCacheChanges::didMuteOrUnmuteNonEmptyLayer = false

Will be true if a muting operation took place on a non empty layer.

Definition at line 133 of file changes.h.

SdfLayerChangeListVec PcpCacheChanges::layerChangeListVec

Definition at line 144 of file changes.h.

std::unordered_set<SdfLayerHandle, TfHash> PcpCacheChanges::layersAffectedByMutingOrRemoval

Set of layers that were explicitly muted or removed from a sublayer list and all sublayers of those layers, recursively.

Definition at line 140 of file changes.h.


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