#include <vstorefuncs.h>
Public Member Functions | |
| SyncLookup (std::map< gvid_t, VStoreItem * > &lr) | |
| Constructor. | |
| ~SyncLookup () | |
| Destructor. | |
| SyncLookup (const SyncLookup &sl) | |
| Copy constructor. | |
| void | operator() (gvid_t id) const |
| Function operator. | |
Private Member Functions | |
| SyncLookup & | operator= (const SyncLookup &) |
| Assignment operator. | |
Private Attributes | |
| std::map< gvid_t, VStoreItem * > & | lookup_ref |
| A reference to the lookup map. | |
| GVectors::SyncLookup::SyncLookup | ( | std::map< gvid_t, VStoreItem * > & | lr | ) | [inline, explicit] |
Constructor.
| lr | A reference to the lookup map to be synchronized. |
| GVectors::SyncLookup::~SyncLookup | ( | ) | [inline] |
Destructor. Does nothing. Just for completeness.
| GVectors::SyncLookup::SyncLookup | ( | const SyncLookup & | sl | ) | [inline] |
| SyncLookup& GVectors::SyncLookup::operator= | ( | const SyncLookup & | ) | [inline, private] |
Assginment operator. Not used.
| void SyncLookup::operator() | ( | gvid_t | id | ) | const |
Tries to find the id in the lookup_ref map. If it finds the id, the id is removed from the lookup_ref map and thus from the map referenced by lookup_ref.
| id | The id to search for. |
std::map<gvid_t, VStoreItem*>& GVectors::SyncLookup::lookup_ref [private] |
This holds the reference to lookup map that has to be synchronized.
1.4.7