opaque_quantity< LEN > Class Template Reference

List of all members.

Detailed Description

template<int LEN>
class opaque_quantity< LEN >

A set of untyped bytes.

This is just a blob. Not necessarily large object, but it is an untyped group of bytes. Used for global transaction IDs and server IDs for two-phase commit. The storage manager has to log this information for preparing a 2PC transaction, so it has to flow through the API.

Definition at line 62 of file w_opaque.h.

Public Member Functions

 opaque_quantity ()
 opaque_quantity (const char *s)
opaque_quantity< LEN > & operator= (const opaque_quantity< LEN > &r)
opaque_quantity< LEN > & operator= (const char *s)
opaque_quantity< LEN > & operator+= (const char *s)
opaque_quantity< LEN > & operator-= (uint4_t len)
opaque_quantity< LEN > & append (const void *data, uint4_t len)
opaque_quantity< LEN > & zero ()
opaque_quantity< LEN > & clear ()
void * data_at_offset (unsigned i) const
uint4_t wholelength () const
uint4_t set_length (uint4_t l)
uint4_t length () const
void ntoh ()
void hton ()
bool is_aligned () const
ostream & print (ostream &o) const


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