|
QDP++
|
A wrapper over maps. More...
#include <qdp_map_obj.h>
Public Member Functions | |
| virtual | ~MapObject () |
| Virtual Destructor. | |
| virtual bool | exist (const K &key) const =0 |
| virtual int | insert (const K &key, const V &val)=0 |
| Insert. | |
| virtual int | get (const K &key, V &val) const =0 |
| Other accessor. | |
| virtual void | flush ()=0 |
| Flush out state of object. | |
| virtual unsigned int | size () const =0 |
| Size of Map. | |
| virtual void | keys (std::vector< K > &keys_) const =0 |
| virtual int | insertUserdata (const std::string &user_data)=0 |
| Insert user data into the metadata database. | |
| virtual int | getUserdata (std::string &user_data) const =0 |
| Get user user data from the metadata database. | |
A wrapper over maps.
Definition at line 20 of file qdp_map_obj.h.
|
inlinevirtual |
Virtual Destructor.
Definition at line 25 of file qdp_map_obj.h.
|
pure virtual |
Does this key exist in the store
| key | a key object |
Implemented in QDP::MapObjectDisk< K, V >, QDP::MapObjectMemory< K, V >, and QDP::MapObjectNull< K, V >.
|
pure virtual |
Flush out state of object.
Implemented in QDP::MapObjectDisk< K, V >, QDP::MapObjectMemory< K, V >, and QDP::MapObjectNull< K, V >.
|
pure virtual |
Other accessor.
Implemented in QDP::MapObjectDisk< K, V >, QDP::MapObjectMemory< K, V >, and QDP::MapObjectNull< K, V >.
|
pure virtual |
Get user user data from the metadata database.
Implemented in QDP::MapObjectDisk< K, V >, QDP::MapObjectMemory< K, V >, and QDP::MapObjectNull< K, V >.
|
pure virtual |
Insert.
Implemented in QDP::MapObjectDisk< K, V >, QDP::MapObjectMemory< K, V >, and QDP::MapObjectNull< K, V >.
|
pure virtual |
Insert user data into the metadata database.
Implemented in QDP::MapObjectDisk< K, V >, QDP::MapObjectMemory< K, V >, and QDP::MapObjectNull< K, V >.
|
pure virtual |
Return all available keys to user
| keys | user suppled an empty vector which is populated by keys after this call. |
Implemented in QDP::MapObjectDisk< K, V >, QDP::MapObjectMemory< K, V >, and QDP::MapObjectNull< K, V >.
|
pure virtual |
Size of Map.
Implemented in QDP::MapObjectDisk< K, V >, QDP::MapObjectMemory< K, V >, and QDP::MapObjectNull< K, V >.