|
QDP++
|
A wrapper over maps. More...
#include <qdp_map_obj_null.h>
Public Member Functions | |
| MapObjectNull () | |
| Default constructor. | |
| ~MapObjectNull () | |
| Destructor. | |
| int | insert (const K &key, const V &val) |
| Insert. | |
| int | get (const K &key, V &val) const |
| Accessor. | |
| void | flush () |
| Flush out state of object. | |
| bool | exist (const K &key) const |
| Exists? | |
| unsigned int | size () const |
| The number of elements. | |
| void | keys (std::vector< K > &_keys) const |
| Dump keys. | |
| int | insertUserdata (const std::string &user_data) |
| Insert user data into the metadata database. | |
| int | getUserdata (std::string &user_data) const |
| Get user user data from the metadata database. | |
| Public Member Functions inherited from QDP::MapObject< K, V > | |
| virtual | ~MapObject () |
| Virtual Destructor. | |
A wrapper over maps.
Definition at line 18 of file qdp_map_obj_null.h.
|
inline |
Default constructor.
Definition at line 22 of file qdp_map_obj_null.h.
|
inline |
Destructor.
Definition at line 25 of file qdp_map_obj_null.h.
|
inlinevirtual |
|
inlinevirtual |
Flush out state of object.
Implements QDP::MapObject< K, V >.
Definition at line 34 of file qdp_map_obj_null.h.
|
inlinevirtual |
|
inlinevirtual |
Get user user data from the metadata database.
Implements QDP::MapObject< K, V >.
Definition at line 49 of file qdp_map_obj_null.h.
|
inlinevirtual |
|
inlinevirtual |
Insert user data into the metadata database.
Implements QDP::MapObject< K, V >.
Definition at line 46 of file qdp_map_obj_null.h.
|
inlinevirtual |
|
inlinevirtual |
The number of elements.
Implements QDP::MapObject< K, V >.
Definition at line 40 of file qdp_map_obj_null.h.