#include <vstoreid.h>
Static Public Member Functions | |
| static gvid_t | get_next_id () |
| Get next available id. | |
| static void | reset () |
| Reset and start from new. | |
Static Private Attributes | |
| static gvid_t | id = 0 |
| Keeps track of the ids. | |
It does so by having a static attribute of the type gvid_t which is incremented by each call to VStoreID::get_next_id().
So, vector store ids are nothing more than integer values.
| gvid_t VStoreID::get_next_id | ( | ) | [static] |
Gets the next id by incrementing id.
| void VStoreID::reset | ( | ) | [static] |
Sets id to zero.
gvid_t VStoreID::id = 0 [static, private] |
Keeps track of the ids.
Is initialized to zero at runtime.
1.4.7