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

#include <Cells.h>

Collaboration diagram for Hypertable::CellsBuilder:
Collaboration graph
[legend]

Public Member Functions

 CellsBuilder (size_t size_hint=128)
 
 ~CellsBuilder ()
 
size_t size () const
 
size_t memory_used () const
 
void get_cell (Cell &cc, size_t ii)
 
void add (const Cell &cell, bool own=true)
 
void get (Cells &cells)
 
Cellsget ()
 
const Cellsget () const
 
void clear ()
 
void copy_failed_mutations (const FailedMutations &src, FailedMutations &dst)
 

Protected Types

typedef PageArenaAllocator
< const char * > 
CstrSetAlloc
 
typedef std::set< const char
*, LtCstr, CstrSetAlloc
CstrSet
 

Protected Member Functions

const char * get_or_add (const char *s)
 

Protected Attributes

CharArena m_arena
 
Cells m_cells
 
CstrSet m_str_set
 
size_t m_size_hint
 

Detailed Description

Definition at line 41 of file Cells.h.

Member Typedef Documentation

typedef std::set<const char*, LtCstr, CstrSetAlloc> Hypertable::CellsBuilder::CstrSet
protected

Definition at line 120 of file Cells.h.

Definition at line 119 of file Cells.h.

Constructor & Destructor Documentation

Hypertable::CellsBuilder::CellsBuilder ( size_t  size_hint = 128)
inline

Definition at line 43 of file Cells.h.

Hypertable::CellsBuilder::~CellsBuilder ( )
inline

Definition at line 51 of file Cells.h.

Member Function Documentation

void Hypertable::CellsBuilder::add ( const Cell cell,
bool  own = true 
)
inline

Definition at line 69 of file Cells.h.

void Hypertable::CellsBuilder::clear ( )
inline

Definition at line 101 of file Cells.h.

void Hypertable::CellsBuilder::copy_failed_mutations ( const FailedMutations src,
FailedMutations dst 
)
inline

Definition at line 108 of file Cells.h.

void Hypertable::CellsBuilder::get ( Cells cells)
inline

Definition at line 97 of file Cells.h.

Cells& Hypertable::CellsBuilder::get ( )
inline

Definition at line 98 of file Cells.h.

const Cells& Hypertable::CellsBuilder::get ( ) const
inline

Definition at line 99 of file Cells.h.

void Hypertable::CellsBuilder::get_cell ( Cell cc,
size_t  ii 
)
inline

Definition at line 65 of file Cells.h.

const char* Hypertable::CellsBuilder::get_or_add ( const char *  s)
inlineprotected

Definition at line 127 of file Cells.h.

size_t Hypertable::CellsBuilder::memory_used ( ) const
inline

Definition at line 61 of file Cells.h.

size_t Hypertable::CellsBuilder::size ( ) const
inline

Definition at line 57 of file Cells.h.

Member Data Documentation

CharArena Hypertable::CellsBuilder::m_arena
protected

Definition at line 122 of file Cells.h.

Cells Hypertable::CellsBuilder::m_cells
protected

Definition at line 123 of file Cells.h.

size_t Hypertable::CellsBuilder::m_size_hint
protected

Definition at line 125 of file Cells.h.

CstrSet Hypertable::CellsBuilder::m_str_set
protected

Definition at line 124 of file Cells.h.


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