HDK
|
#include <mapEditor.h>
Public Types | |
typedef MapType::key_type | key_type |
typedef MapType::mapped_type | mapped_type |
typedef MapType::value_type | value_type |
typedef MapType::iterator | iterator |
Public Member Functions | |
virtual | ~Sdf_MapEditor () |
virtual std::string | GetLocation () const =0 |
virtual SdfSpecHandle | GetOwner () const =0 |
Returns owner of the map being edited. More... | |
virtual bool | IsExpired () const =0 |
Returns true if the map being edited is expired, false otherwise. More... | |
virtual const MapType * | GetData () const =0 |
Returns const pointer to map being edited. More... | |
virtual MapType * | GetData ()=0 |
Editing Operations | |
virtual void | Copy (const MapType &other)=0 |
virtual void | Set (const key_type &key, const mapped_type &other)=0 |
virtual std::pair< iterator, bool > | Insert (const value_type &value)=0 |
virtual bool | Erase (const key_type &key)=0 |
virtual SdfAllowed | IsValidKey (const key_type &key) const =0 |
virtual SdfAllowed | IsValidValue (const mapped_type &value) const =0 |
Protected Member Functions | |
Sdf_MapEditor () | |
Interface for private implementations used by SdfMapEditProxy.
Definition at line 44 of file mapEditor.h.
typedef MapType::iterator Sdf_MapEditor< MapType >::iterator |
Definition at line 49 of file mapEditor.h.
typedef MapType::key_type Sdf_MapEditor< MapType >::key_type |
Definition at line 46 of file mapEditor.h.
typedef MapType::mapped_type Sdf_MapEditor< MapType >::mapped_type |
Definition at line 47 of file mapEditor.h.
typedef MapType::value_type Sdf_MapEditor< MapType >::value_type |
Definition at line 48 of file mapEditor.h.
|
virtual |
|
protected |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Returns const pointer to map being edited.
|
pure virtual |
Returns non-const pointer to map being edited. All edits to the map should be done using the editing functions below. This function is primarily here for convenience. Ideally, only the const version of this function would exist.
|
pure virtual |
Returns a string describing the location of the map being edited. This is used for debugging and error messages.
|
pure virtual |
Returns owner of the map being edited.
|
pure virtual |
|
pure virtual |
Returns true if the map being edited is expired, false otherwise.
|
pure virtual |
|
pure virtual |
|
pure virtual |