Loading...
Searching...
No Matches
SdfChangeList Class Reference

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

#include <changeList.h>

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.
 
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 DidMovePrim (const SdfPath &oldPath, const SdfPath &newPath)
 
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

◆ const_iterator

using const_iterator = EntryList::const_iterator

Definition at line 214 of file changeList.h.

◆ 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 205 of file changeList.h.

Member Enumeration Documentation

◆ SubLayerChangeType

enum SubLayerChangeType

Definition at line 62 of file changeList.h.

Member Function Documentation

◆ begin()

const_iterator begin ( ) const
inline

Definition at line 219 of file changeList.h.

◆ cbegin()

const_iterator cbegin ( ) const
inline

Definition at line 223 of file changeList.h.

◆ cend()

const_iterator cend ( ) const
inline

Definition at line 231 of file changeList.h.

◆ end()

const_iterator end ( ) const
inline

Definition at line 227 of file changeList.h.

◆ GetEntryList()

const EntryList & GetEntryList ( ) const
inline

Definition at line 208 of file changeList.h.

Friends And Related Function Documentation

◆ swap

void swap ( SdfChangeList a,
SdfChangeList b 
)
friend

Definition at line 236 of file changeList.h.


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