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

Wrapper for RangeSpec providing member storage. More...

#include <RangeSpec.h>

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

Public Member Functions

 RangeSpecManaged ()
 
 RangeSpecManaged (const RangeSpecManaged &range)
 
 RangeSpecManaged (const RangeSpec &range)
 
virtual ~RangeSpecManaged ()
 
RangeSpecManagedoperator= (const RangeSpecManaged &other)
 
RangeSpecManagedoperator= (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...
 

Detailed Description

Wrapper for RangeSpec providing member storage.

Definition at line 89 of file RangeSpec.h.

Constructor & Destructor Documentation

Hypertable::RangeSpecManaged::RangeSpecManaged ( )
inline

Definition at line 91 of file RangeSpec.h.

Hypertable::RangeSpecManaged::RangeSpecManaged ( const RangeSpecManaged range)
inline

Definition at line 92 of file RangeSpec.h.

Hypertable::RangeSpecManaged::RangeSpecManaged ( const RangeSpec range)
inline

Definition at line 93 of file RangeSpec.h.

virtual Hypertable::RangeSpecManaged::~RangeSpecManaged ( )
inlinevirtual

Definition at line 94 of file RangeSpec.h.

Member Function Documentation

void RangeSpecManaged::decode_internal ( uint8_t  version,
const uint8_t **  bufp,
size_t *  remainp 
)
overrideprivatevirtual

Reads serialized representation of object from a buffer.

Parameters
versionEncoding version
bufpAddress of destination buffer pointer (advanced by call)
remainpAddress of integer holding amount of serialized object remaining
See also
encode_internal() for encoding format

Reimplemented from Hypertable::RangeSpec.

Definition at line 159 of file RangeSpec.cc.

RangeSpecManaged& Hypertable::RangeSpecManaged::operator= ( const RangeSpecManaged other)
inline

Definition at line 96 of file RangeSpec.h.

RangeSpecManaged& Hypertable::RangeSpecManaged::operator= ( const RangeSpec range)
inline

Definition at line 100 of file RangeSpec.h.

void Hypertable::RangeSpecManaged::set_end_row ( const std::string &  e)
inline

Definition at line 116 of file RangeSpec.h.

void Hypertable::RangeSpecManaged::set_start_row ( const std::string &  s)
inline

Definition at line 112 of file RangeSpec.h.

Member Data Documentation

std::string Hypertable::RangeSpecManaged::m_end
private

Definition at line 133 of file RangeSpec.h.

std::string Hypertable::RangeSpecManaged::m_start
private

Definition at line 132 of file RangeSpec.h.


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