HDK
|
#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< SubLayerChange > | subLayerChanges |
SdfPath | oldPath |
std::string | oldIdentifier |
_Flags | flags |
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 117 of file changeList.h.
typedef std::pair<VtValue, VtValue> SdfChangeList::Entry::InfoChange |
Definition at line 119 of file changeList.h.
typedef TfSmallVector<std::pair<TfToken, InfoChange>, 3> SdfChangeList::Entry::InfoChangeVec |
Definition at line 122 of file changeList.h.
typedef std::pair<std::string, SubLayerChangeType> SdfChangeList::Entry::SubLayerChange |
Definition at line 145 of file changeList.h.
|
inline |
Return the iterator in infoChanged whose first element is key
, or infoChanged.end() if there is no such element.
Definition at line 128 of file changeList.h.
|
inline |
Return true if this entry has an info change for key
, false otherwise.
Definition at line 141 of file changeList.h.
_Flags SdfChangeList::Entry::flags |
Definition at line 199 of file changeList.h.
InfoChangeVec SdfChangeList::Entry::infoChanged |
Definition at line 123 of file changeList.h.
std::string SdfChangeList::Entry::oldIdentifier |
Definition at line 152 of file changeList.h.
SdfPath SdfChangeList::Entry::oldPath |
Definition at line 149 of file changeList.h.
std::vector<SubLayerChange> SdfChangeList::Entry::subLayerChanges |
Definition at line 146 of file changeList.h.