GVectors::VStoreID Class Reference

Provides vector store ids. More...

#include <vstoreid.h>

List of all members.

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.


Detailed Description

This class provides a simple way to obtain vector store 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.


Member Function Documentation

gvid_t VStoreID::get_next_id (  )  [static]

Gets the next id by incrementing id.

Returns:
A new id.

void VStoreID::reset (  )  [static]

Sets id to zero.


Member Data Documentation

gvid_t VStoreID::id = 0 [static, private]

Keeps track of the ids.

Is initialized to zero at runtime.


The documentation for this class was generated from the following files:
Generated on Sat Sep 8 19:37:31 2007 for libgvectors by  doxygen 1.4.7