Wrapper for RangeSpec providing member storage. More...
#include <RangeSpec.h>
Public Member Functions | |
RangeSpecManaged () | |
RangeSpecManaged (const RangeSpecManaged &range) | |
RangeSpecManaged (const RangeSpec &range) | |
virtual | ~RangeSpecManaged () |
RangeSpecManaged & | operator= (const RangeSpecManaged &other) |
RangeSpecManaged & | operator= (const RangeSpec &range) |
void | set_start_row (const std::string &s) |
void | set_end_row (const std::string &e) |
Public Member Functions inherited from Hypertable::RangeSpec | |
RangeSpec () | |
RangeSpec (const char *start, const char *end) | |
RangeSpec (const uint8_t **bufp, size_t *remainp) | |
virtual | ~RangeSpec () |
bool | operator== (const RangeSpec &other) const |
bool | operator!= (const RangeSpec &other) const |
bool | operator< (const RangeSpec &other) const |
Public Member Functions inherited from Hypertable::Serializable | |
virtual size_t | encoded_length () const |
Returns serialized object length. More... | |
virtual void | encode (uint8_t **bufp) const |
Writes serialized representation of object to a buffer. More... | |
virtual void | decode (const uint8_t **bufp, size_t *remainp) |
Reads serialized representation of object from a buffer. More... | |
Private Member Functions | |
void | decode_internal (uint8_t version, const uint8_t **bufp, size_t *remainp) override |
Reads serialized representation of object from a buffer. More... | |
Private Attributes | |
std::string | m_start |
std::string | m_end |
Additional Inherited Members | |
Public Types inherited from Hypertable::RangeSpec | |
enum | Type { ROOT =0, METADATA =1, SYSTEM =2, USER =3, UNKNOWN =4 } |
Static Public Member Functions inherited from Hypertable::RangeSpec | |
static std::string | type_str (int type) |
Public Attributes inherited from Hypertable::RangeSpec | |
const char * | start_row |
const char * | end_row |
Protected Member Functions inherited from Hypertable::RangeSpec | |
uint8_t | encoding_version () const override |
Returns encoding version. More... | |
size_t | encoded_length_internal () const override |
Returns internal serialized length. More... | |
void | encode_internal (uint8_t **bufp) const override |
Writes serialized representation of object to a buffer. More... | |
Related Functions inherited from Hypertable::RangeSpec | |
ostream & | operator<< (ostream &os, const RangeSpec &range) |
Wrapper for RangeSpec providing member storage.
Definition at line 89 of file RangeSpec.h.
|
inline |
Definition at line 91 of file RangeSpec.h.
|
inline |
Definition at line 92 of file RangeSpec.h.
|
inline |
Definition at line 93 of file RangeSpec.h.
|
inlinevirtual |
Definition at line 94 of file RangeSpec.h.
|
overrideprivatevirtual |
Reads serialized representation of object from a buffer.
version | Encoding version |
bufp | Address of destination buffer pointer (advanced by call) |
remainp | Address of integer holding amount of serialized object remaining |
Reimplemented from Hypertable::RangeSpec.
Definition at line 159 of file RangeSpec.cc.
|
inline |
Definition at line 96 of file RangeSpec.h.
|
inline |
Definition at line 100 of file RangeSpec.h.
|
inline |
Definition at line 116 of file RangeSpec.h.
|
inline |
Definition at line 112 of file RangeSpec.h.
|
private |
Definition at line 133 of file RangeSpec.h.
|
private |
Definition at line 132 of file RangeSpec.h.