vid_t Struct Reference
[Identifiers]

Collaboration diagram for vid_t:

Collaboration graph
[legend]
List of all members.

Detailed Description

Volume ID. See Identifiers.

This class represents a volume identifier, the id that is persistent in the database. It is usually a short integer. Its size is two bytes.

A volume id is part of record identifiers and store identifiers, as well as part of "long" page identifiers.

See Identifiers.

Examples:

create_rec.cpp, and lockid_test.cpp.

Definition at line 54 of file vid_t.h.

Public Types

enum  

Public Member Functions

 vid_t ()
 vid_t (uint2_t v)
void init_local ()
void incr_local ()
 operator uint2_t () const

Public Attributes

uint2_t vol

Static Public Attributes

static const vid_t null

Friends

ostream & operator<< (ostream &, const vid_t &v)
istream & operator>> (istream &, vid_t &v)
bool operator== (const vid_t &v1, const vid_t &v2)
bool operator!= (const vid_t &v1, const vid_t &v2)


The documentation for this struct was generated from the following files:
Generated on Mon Jan 2 15:14:15 2012 for Shore Storage Manager by  doxygen 1.4.7