SdfChangeList Class Reference

A list of scene description modifications, organized by the namespace paths where the changes occur. More...

Classes

struct  Entry
 Entry of changes at a single path in namespace. More...
 

Public Types

enum  SubLayerChangeType { SubLayerAdded, SubLayerRemoved, SubLayerOffset }
 
using EntryList = TfSmallVector< std::pair< SdfPath, Entry >, 1 >
 Map of change entries at various paths in a layer. More...
 
using const_iterator = EntryList::const_iterator
 

Public Member Functions

SDF_API SdfChangeList (SdfChangeList const &)
 
 SdfChangeList (SdfChangeList &&)=default
 
SDF_API SdfChangeListoperator= (SdfChangeList const &)
 
SdfChangeListoperator= (SdfChangeList &&)=default
 
void DidReplaceLayerContent ()
 
void DidReloadLayerContent ()
 
void DidChangeLayerResolvedPath ()
 
void DidChangeLayerIdentifier (const std::string &oldIdentifier)
 
void DidChangeSublayerPaths (const std::string &subLayerPath, SubLayerChangeType changeType)
 
void DidAddPrim (const SdfPath &primPath, bool inert)
 
void DidRemovePrim (const SdfPath &primPath, bool inert)
 
void DidReorderPrims (const SdfPath &parentPath)
 
void DidChangePrimName (const SdfPath &oldPath, const SdfPath &newPath)
 
void DidChangePrimVariantSets (const SdfPath &primPath)
 
void DidChangePrimInheritPaths (const SdfPath &primPath)
 
void DidChangePrimReferences (const SdfPath &primPath)
 
void DidChangePrimSpecializes (const SdfPath &primPath)
 
void DidAddProperty (const SdfPath &propPath, bool hasOnlyRequiredFields)
 
void DidRemoveProperty (const SdfPath &propPath, bool hasOnlyRequiredFields)
 
void DidReorderProperties (const SdfPath &propPath)
 
void DidChangePropertyName (const SdfPath &oldPath, const SdfPath &newPath)
 
void DidChangeAttributeTimeSamples (const SdfPath &attrPath)
 
void DidChangeAttributeConnection (const SdfPath &attrPath)
 
void DidChangeRelationshipTargets (const SdfPath &relPath)
 
void DidAddTarget (const SdfPath &targetPath)
 
void DidRemoveTarget (const SdfPath &targetPath)
 
void DidChangeInfo (const SdfPath &path, const TfToken &key, VtValue &&oldValue, const VtValue &newValue)
 
const EntryListGetEntryList () const
 
SDF_API Entry const & GetEntry (const SdfPath &) const
 
SDF_API const_iterator FindEntry (SdfPath const &) const
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator end () const
 
const_iterator cend () const
 

Friends

void swap (SdfChangeList &a, SdfChangeList &b)
 

Detailed Description

A list of scene description modifications, organized by the namespace paths where the changes occur.

Definition at line 52 of file changeList.h.

Member Typedef Documentation

◆ EntryList

using EntryList = TfSmallVector<std::pair<SdfPath, Entry>, 1>

Map of change entries at various paths in a layer.

We store one entry in local space, since it's very common to edit just a single spec in a single round of changes.

Definition at line 204 of file changeList.h.


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