libmoost
KvdsTester< kvdsT > Class Template Reference
Collaboration diagram for KvdsTester< kvdsT >:

List of all members.

Public Member Functions

void operator() (kvds_type &kvds)

Private Types

typedef kvdsT kvds_type

Private Member Functions

void test_get_noexist (kvds_type &kvds)
void test_size (kvds_type &kvds, size_t const size, bool const bExists=true)
void test_add_cnt_get (kvds_type &kvds)
void test_put_cnt_get (kvds_type &kvds, bool bCheckCnt=true)
void test_add_get (kvds_type &kvds)
void test_get_all (kvds_type &kvds)
void test_get_few (kvds_type &kvds)
void test_put_get (kvds_type &kvds)
void test_exist_erase (kvds_type &kvds)
void test_empty (kvds_type &kvds, bool const empty=true)
void test_clear_empty (kvds_type &kvds)
void test_indexing (kvds_type &kvds)

Static Private Attributes

static uint32_t const val0_mask = 0xF1E2D3C4
static uint32_t const val1_mask = 0x12345678

Detailed Description

template<typename kvdsT>
class KvdsTester< kvdsT >

Definition at line 76 of file kvds.cpp.


Member Typedef Documentation

template<typename kvdsT >
typedef kvdsT KvdsTester< kvdsT >::kvds_type [private]

Definition at line 81 of file kvds.cpp.


Member Function Documentation

template<typename kvdsT >
void KvdsTester< kvdsT >::operator() ( kvds_type kvds) [inline]

Definition at line 316 of file kvds.cpp.

template<typename kvdsT >
void KvdsTester< kvdsT >::test_add_cnt_get ( kvds_type kvds) [inline, private]

Definition at line 117 of file kvds.cpp.

template<typename kvdsT >
void KvdsTester< kvdsT >::test_add_get ( kvds_type kvds) [inline, private]

Definition at line 170 of file kvds.cpp.

template<typename kvdsT >
void KvdsTester< kvdsT >::test_clear_empty ( kvds_type kvds) [inline, private]

Definition at line 294 of file kvds.cpp.

template<typename kvdsT >
void KvdsTester< kvdsT >::test_empty ( kvds_type kvds,
bool const  empty = true 
) [inline, private]

Definition at line 289 of file kvds.cpp.

template<typename kvdsT >
void KvdsTester< kvdsT >::test_exist_erase ( kvds_type kvds) [inline, private]

Definition at line 275 of file kvds.cpp.

template<typename kvdsT >
void KvdsTester< kvdsT >::test_get_all ( kvds_type kvds) [inline, private]

Definition at line 185 of file kvds.cpp.

template<typename kvdsT >
void KvdsTester< kvdsT >::test_get_few ( kvds_type kvds) [inline, private]

Definition at line 217 of file kvds.cpp.

template<typename kvdsT >
void KvdsTester< kvdsT >::test_get_noexist ( kvds_type kvds) [inline, private]

Definition at line 86 of file kvds.cpp.

template<typename kvdsT >
void KvdsTester< kvdsT >::test_indexing ( kvds_type kvds) [inline, private]

Definition at line 300 of file kvds.cpp.

template<typename kvdsT >
void KvdsTester< kvdsT >::test_put_cnt_get ( kvds_type kvds,
bool  bCheckCnt = true 
) [inline, private]

Definition at line 139 of file kvds.cpp.

template<typename kvdsT >
void KvdsTester< kvdsT >::test_put_get ( kvds_type kvds) [inline, private]

Definition at line 252 of file kvds.cpp.

template<typename kvdsT >
void KvdsTester< kvdsT >::test_size ( kvds_type kvds,
size_t const  size,
bool const  bExists = true 
) [inline, private]

Definition at line 101 of file kvds.cpp.


Member Data Documentation

template<typename kvdsT >
uint32_t const KvdsTester< kvdsT >::val0_mask = 0xF1E2D3C4 [static, private]

Definition at line 83 of file kvds.cpp.

template<typename kvdsT >
uint32_t const KvdsTester< kvdsT >::val1_mask = 0x12345678 [static, private]

Definition at line 84 of file kvds.cpp.


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