
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.
create_rec.cpp, lockid_test.cpp, log_exceed.cpp, sort_stream.cpp, and vtable_example.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) | 
 1.4.7