|
|
size_t | capacity () const |
| |
|
size_t | size () const |
| |
|
size_t | total_size () const |
| |
|
size_t | unit_size () const |
| |
|
size_t | nonzero_size () const |
| |
|
size_t | num_keys () const |
| |
|
template<typename T > |
| T | exactMatchSearch (const char *key) const |
| |
|
template<typename T > |
| T | exactMatchSearch (const char *key, size_t len, size_t from=0) const |
| |
|
template<typename T > |
| size_t | commonPrefixSearch (const char *key, T *result, size_t result_len) const |
| |
|
template<typename T > |
| size_t | commonPrefixSearch (const char *key, T *result, size_t result_len, size_t len, size_t from=0) const |
| |
|
template<typename T > |
| size_t | commonPrefixPredict (const char *key, T *result, size_t result_len) |
| |
|
template<typename T > |
| size_t | commonPrefixPredict (const char *key, T *result, size_t result_len, size_t len, size_t from=0) |
| |
|
void | suffix (char *key, size_t len, size_t to) const |
| |
|
value_type | traverse (const char *key, size_t &from, size_t &pos) const |
| |
|
value_type | traverse (const char *key, size_t &from, size_t &pos, size_t len) const |
| |
|
value_type & | update (const char *key) |
| |
|
value_type & | update (const char *key, size_t len, value_type val=value_type(0)) |
| |
|
value_type & | update (const char *key, size_t &from, size_t &pos, size_t len, value_type val=value_type(0)) |
| |
|
template<typename T > |
| value_type & | update (const char *key, size_t &from, size_t &pos, size_t len, value_type val, T &cf) |
| |
|
int | erase (const char *key) |
| |
|
int | erase (const char *key, size_t len, size_t from=0) |
| |
|
void | erase (size_t from) |
| |
|
int | build (size_t num, const char **key, const size_t *len=0, const value_type *val=0) |
| |
|
template<typename T > |
| void | dump (T *result, const size_t result_len) |
| |
|
int | save (const char *fn, const char *mode="wb") const |
| |
|
int | open (const char *fn, const char *mode="rb", const size_t offset=0, size_t size_=0) |
| |
|
void | restore () |
| |
|
void | set_array (void *p, size_t size_=0) |
| |
|
const void * | array () const |
| |
|
void | clear (const bool reuse=true) |
| |
|
int | begin (size_t &from, size_t &len) |
| |
|
int | next (size_t &from, size_t &len, const size_t root=0) |
| |
|
void | test (const size_t from=0) const |
| |
|
size_t | capacity () const |
| |
|
size_t | size () const |
| |
|
size_t | length () const |
| |
|
size_t | total_size () const |
| |
|
size_t | unit_size () const |
| |
|
size_t | nonzero_size () const |
| |
|
size_t | nonzero_length () const |
| |
|
size_t | num_keys () const |
| |
|
template<typename T > |
| T | exactMatchSearch (const char *key) const |
| |
|
template<typename T > |
| T | exactMatchSearch (const char *key, size_t len, npos_t from=0) const |
| |
|
template<typename T > |
| size_t | commonPrefixSearch (const char *key, T *result, size_t result_len) const |
| |
|
template<typename T > |
| size_t | commonPrefixSearch (const char *key, T *result, size_t result_len, size_t len, npos_t from=0) const |
| |
|
template<typename T > |
| size_t | commonPrefixPredict (const char *key, T *result, size_t result_len) |
| |
|
template<typename T > |
| size_t | commonPrefixPredict (const char *key, T *result, size_t result_len, size_t len, npos_t from=0) |
| |
|
void | suffix (char *key, size_t len, npos_t to) const |
| |
|
value_type | traverse (const char *key, npos_t &from, size_t &pos) const |
| |
|
value_type | traverse (const char *key, npos_t &from, size_t &pos, size_t len) const |
| |
|
value_type & | update (const char *key) |
| |
|
value_type & | update (const char *key, size_t len, value_type val=value_type(0)) |
| |
|
value_type & | update (const char *key, npos_t &from, size_t &pos, size_t len, value_type val=value_type(0)) |
| |
|
template<typename T > |
| value_type & | update (const char *key, npos_t &from, size_t &pos, size_t len, value_type val, T &cf) |
| |
|
int | erase (const char *key) |
| |
|
int | erase (const char *key, size_t len, npos_t from=0) |
| |
|
int | build (size_t num, const char **key, const size_t *len=0, const value_type *val=0) |
| |
|
template<typename T > |
| void | dump (T *result, const size_t result_len) |
| |
|
void | shrink_tail () |
| |
|
int | save (const char *fn, const char *mode, const bool shrink) |
| |
|
int | save (const char *fn, const char *mode="wb") const |
| |
|
int | open (const char *fn, const char *mode="rb", const size_t offset=0, size_t size_=0) |
| |
|
void | restore () |
| |
|
void | set_array (void *p, size_t size_=0) |
| |
|
const void * | array () const |
| |
|
void | clear (const bool reuse=true) |
| |
|
int | begin (npos_t &from, size_t &len) |
| |
|
int | next (npos_t &from, size_t &len, const npos_t root=0) |
| |
template<typename value_type, const int NO_VALUE = NaN <value_type>::N1, const int NO_PATH = NaN <value_type>::N2, const bool ORDERED = true, const int MAX_TRIAL = 1, const size_t NUM_TRACKING_NODES = 0>
class cedar::da< value_type, NO_VALUE, NO_PATH, ORDERED, MAX_TRIAL, NUM_TRACKING_NODES >
Definition at line 35 of file cedar.h.