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
 
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 constGetEntry (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

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.

Member Enumeration Documentation

Enumerator
SubLayerAdded 
SubLayerRemoved 
SubLayerOffset 

Definition at line 62 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 218 of file changeList.h.

const_iterator SdfChangeList::cbegin ( ) const
inline

Definition at line 222 of file changeList.h.

const_iterator SdfChangeList::cend ( ) const
inline

Definition at line 230 of file changeList.h.

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

Definition at line 226 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 207 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 235 of file changeList.h.


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