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

#include <changeList.h>

Classes

struct  _Flags
 

Public Types

typedef std::pair< VtValue,
VtValue
InfoChange
 
typedef TfSmallVector
< std::pair< TfToken,
InfoChange >, 3 > 
InfoChangeVec
 
typedef std::pair< std::string,
SubLayerChangeType
SubLayerChange
 

Public Member Functions

InfoChangeVec::const_iterator FindInfoChange (TfToken const &key) const
 
bool HasInfoChange (TfToken const &key) const
 

Public Attributes

InfoChangeVec infoChanged
 
std::vector< SubLayerChangesubLayerChanges
 
SdfPath oldPath
 
std::string oldIdentifier
 
_Flags flags
 

Detailed Description

Entry of changes at a single path in namespace.

If the path is SdfPath::AbsoluteRootPath(), that indicates a change to the root of namespace (that is, a layer or stage).

Note: Our language for invalidation used to be more precise about items added, removed, or reordered. It might seem that this would afford more opportunities for efficient updates, but in practice it does not. Because our derived data typically must recompose or reinstantiate based on the underlying data, the particular delta might be ignored, overridden, or invalid. It is simpler to treat all changes identically, and focus on making the common base case fast, rather than have complicated differential update logic. It also vastly simplifies the language of invalidation.

Definition at line 116 of file changeList.h.

Member Typedef Documentation

Definition at line 118 of file changeList.h.

Definition at line 121 of file changeList.h.

Definition at line 144 of file changeList.h.

Member Function Documentation

InfoChangeVec::const_iterator SdfChangeList::Entry::FindInfoChange ( TfToken const key) const
inline

Return the iterator in infoChanged whose first element is key, or infoChanged.end() if there is no such element.

Definition at line 127 of file changeList.h.

bool SdfChangeList::Entry::HasInfoChange ( TfToken const key) const
inline

Return true if this entry has an info change for key, false otherwise.

Definition at line 140 of file changeList.h.

Member Data Documentation

_Flags SdfChangeList::Entry::flags

Definition at line 198 of file changeList.h.

InfoChangeVec SdfChangeList::Entry::infoChanged

Definition at line 122 of file changeList.h.

std::string SdfChangeList::Entry::oldIdentifier

Definition at line 151 of file changeList.h.

SdfPath SdfChangeList::Entry::oldPath

Definition at line 148 of file changeList.h.

std::vector<SubLayerChange> SdfChangeList::Entry::subLayerChanges

Definition at line 145 of file changeList.h.


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