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

#include <changeList.h>

Classes

struct  Entry
 

Public Types

enum  SubLayerChangeType { SubLayerAdded, SubLayerRemoved, SubLayerOffset }
 
using EntryList = TfSmallVector< std::pair< SdfPath, Entry >, 1 >
 
using const_iterator = EntryList::const_iterator
 

Public Member Functions

 SdfChangeList ()=default
 
SDF_API SdfChangeList (SdfChangeList const &)
 
 SdfChangeList (SdfChangeList &&)=default
 
SDF_API SdfChangeListoperator= (SdfChangeList const &)
 
SdfChangeListoperator= (SdfChangeList &&)=default
 
SDF_API void DidReplaceLayerContent ()
 
SDF_API void DidReloadLayerContent ()
 
SDF_API void DidChangeLayerResolvedPath ()
 
SDF_API void DidChangeLayerIdentifier (const std::string &oldIdentifier)
 
SDF_API void DidChangeSublayerPaths (const std::string &subLayerPath, SubLayerChangeType changeType)
 
SDF_API void DidAddPrim (const SdfPath &primPath, bool inert)
 
SDF_API void DidRemovePrim (const SdfPath &primPath, bool inert)
 
SDF_API void DidMovePrim (const SdfPath &oldPath, const SdfPath &newPath)
 
SDF_API void DidReorderPrims (const SdfPath &parentPath)
 
SDF_API void DidChangePrimName (const SdfPath &oldPath, const SdfPath &newPath)
 
SDF_API void DidChangePrimVariantSets (const SdfPath &primPath)
 
SDF_API void DidChangePrimInheritPaths (const SdfPath &primPath)
 
SDF_API void DidChangePrimReferences (const SdfPath &primPath)
 
SDF_API void DidChangePrimSpecializes (const SdfPath &primPath)
 
SDF_API void DidAddProperty (const SdfPath &propPath, bool hasOnlyRequiredFields)
 
SDF_API void DidRemoveProperty (const SdfPath &propPath, bool hasOnlyRequiredFields)
 
SDF_API void DidReorderProperties (const SdfPath &propPath)
 
SDF_API void DidChangePropertyName (const SdfPath &oldPath, const SdfPath &newPath)
 
SDF_API void DidChangeAttributeTimeSamples (const SdfPath &attrPath)
 
SDF_API void DidChangeAttributeConnection (const SdfPath &attrPath)
 
SDF_API void DidChangeRelationshipTargets (const SdfPath &relPath)
 
SDF_API void DidAddTarget (const SdfPath &targetPath)
 
SDF_API void DidRemoveTarget (const SdfPath &targetPath)
 
SDF_API 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 35 of file changeList.h.

Member Typedef Documentation

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

Member Enumeration Documentation

Enumerator
SubLayerAdded 
SubLayerRemoved 
SubLayerOffset 

Definition at line 45 of file changeList.h.

Constructor & Destructor Documentation

SdfChangeList::SdfChangeList ( )
default
SDF_API SdfChangeList::SdfChangeList ( SdfChangeList const &  )
SdfChangeList::SdfChangeList ( SdfChangeList &&  )
default

Member Function Documentation

const_iterator SdfChangeList::begin ( void  ) const
inline

Definition at line 202 of file changeList.h.

const_iterator SdfChangeList::cbegin ( ) const
inline

Definition at line 206 of file changeList.h.

const_iterator SdfChangeList::cend ( ) const
inline

Definition at line 214 of file changeList.h.

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

Definition at line 210 of file changeList.h.

SDF_API const_iterator SdfChangeList::FindEntry ( SdfPath const &  ) const
SDF_API Entry const& SdfChangeList::GetEntry ( const SdfPath ) const
const EntryList& SdfChangeList::GetEntryList ( ) const
inline

Definition at line 191 of file changeList.h.

SDF_API SdfChangeList& SdfChangeList::operator= ( SdfChangeList const &  )
SdfChangeList& SdfChangeList::operator= ( SdfChangeList &&  )
default

Friends And Related Function Documentation

void swap ( SdfChangeList a,
SdfChangeList b 
)
friend

Definition at line 219 of file changeList.h.


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