7 #ifndef PXR_IMAGING_HD_SORTED_IDS_H
8 #define PXR_IMAGING_HD_SORTED_IDS_H
44 Hd_SortedIds &
operator=(Hd_SortedIds
const &);
77 enum _EditMode { _NoMode, _InsertMode, _RemoveMode, _UpdateMode };
83 _EditMode _mode = _NoMode;
84 std::unique_ptr<_UpdateImpl> _updater;
89 #endif // PXR_IMAGING_HD_SORTED_IDS_H
HD_API void Remove(const SdfPath &id)
HD_API void Insert(const SdfPath &id)
HD_API Hd_SortedIds()
Default ctor produces an empty container.
std::vector< class SdfPath > SdfPathVector
HD_API void RemoveRange(size_t start, size_t end)
HD_API Hd_SortedIds & operator=(Hd_SortedIds const &)
Copy assign.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
HD_API const SdfPathVector & GetIds()
Sorts the ids if needed and returns the sorted list of ids.
HD_API void Clear()
Removes all ids from the collection.