0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
Hypertable::SerializedKey Class Reference

#include <SerializedKey.h>

Inheritance diagram for Hypertable::SerializedKey:
Inheritance graph
[legend]
Collaboration diagram for Hypertable::SerializedKey:
Collaboration graph
[legend]

Public Member Functions

 SerializedKey ()
 
 SerializedKey (const uint8_t *buf)
 
 SerializedKey (ByteString bs)
 
int compare (const SerializedKey sk) const
 
const char * row () const
 
- Public Member Functions inherited from Hypertable::ByteString
 ByteString ()
 Default constructor: starts with an empty string. More...
 
 ByteString (const uint8_t *buf)
 Overloaded constructor: takes ownership of a pointer. More...
 
size_t length () const
 Retrieves the length of the serialized string. More...
 
uint8_t * next ()
 Retrieves the next serialized String in the buffer. More...
 
size_t decode_length (const uint8_t **dptr) const
 Retrieves the decoded length and returns a pointer to the string. More...
 
size_t write (uint8_t *dst) const
 Writes the data of this ByteString into a pointer. More...
 
const char * str () const
 Returns a pointer to the String's deserialized data. More...
 
 operator bool () const
 Returns true if this ByteArray is not empty. More...
 

Additional Inherited Members

- Public Attributes inherited from Hypertable::ByteString
const uint8_t * ptr
 The pointer to the serialized data. More...
 

Detailed Description

Definition at line 30 of file SerializedKey.h.

Constructor & Destructor Documentation

Hypertable::SerializedKey::SerializedKey ( )
inline

Definition at line 32 of file SerializedKey.h.

Hypertable::SerializedKey::SerializedKey ( const uint8_t *  buf)
inline

Definition at line 33 of file SerializedKey.h.

Hypertable::SerializedKey::SerializedKey ( ByteString  bs)
inline

Definition at line 34 of file SerializedKey.h.

Member Function Documentation

int Hypertable::SerializedKey::compare ( const SerializedKey  sk) const
inline

Definition at line 36 of file SerializedKey.h.

const char* Hypertable::SerializedKey::row ( ) const
inline

Definition at line 53 of file SerializedKey.h.


The documentation for this class was generated from the following file: