24 #ifndef PXR_USD_SDF_MAP_EDITOR_H
25 #define PXR_USD_SDF_MAP_EDITOR_H
43 template <
class MapType>
58 virtual SdfSpecHandle
GetOwner()
const = 0;
64 virtual const MapType*
GetData()
const = 0;
75 virtual void Copy(
const MapType& other) = 0;
91 std::unique_ptr<Sdf_MapEditor<T> >
96 #endif // PXR_USD_SDF_MAP_EDITOR_H
MapType::mapped_type mapped_type
GLsizei const GLchar *const * string
virtual SdfSpecHandle GetOwner() const =0
Returns owner of the map being edited.
virtual bool IsExpired() const =0
Returns true if the map being edited is expired, false otherwise.
virtual SdfAllowed IsValidValue(const mapped_type &value) const =0
virtual std::pair< iterator, bool > Insert(const value_type &value)=0
virtual std::string GetLocation() const =0
MapType::iterator iterator
virtual void Copy(const MapType &other)=0
virtual void Set(const key_type &key, const mapped_type &other)=0
virtual const MapType * GetData() const =0
Returns const pointer to map being edited.
virtual SdfAllowed IsValidKey(const key_type &key) const =0
virtual bool Erase(const key_type &key)=0
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
std::unique_ptr< Sdf_MapEditor< T > > Sdf_CreateMapEditor(const SdfSpecHandle &owner, const TfToken &field)
MapType::value_type value_type
MapType::key_type key_type