26 #ifndef CDCONTAINERS_INCLUDE_CDCONTAINERS_INTERFACES_IMAP_H 27 #define CDCONTAINERS_INCLUDE_CDCONTAINERS_INTERFACES_IMAP_H 49 void *(*key)(
void *it);
50 void *(*value)(
void *it);
52 bool (*
eq)(
void *it1,
void *it2);
65 size_t (*count)(
void *cntr,
void *
key);
66 void (*find)(
void *cntr,
void *
key,
void *it);
67 size_t (*
size)(
void *cntr);
68 bool (*empty)(
void *cntr);
69 void (*clear)(
void *cntr);
73 void *it,
bool *inserted);
74 size_t (*erase)(
void *cntr,
void *
key);
75 void (*swap)(
void *a,
void *b);
76 void (*begin)(
void *cntr,
void *it);
77 void (*end)(
void *cntr,
void *it);
86 #endif // CDCONTAINERS_INCLUDE_CDCONTAINERS_INTERFACES_IMAP_H bool(* has_next)(void *it)
Definition: imap.h:47
const struct cdc_map_table * cdc_map_splay
const struct cdc_map_iter_table * iter_table
Definition: imap.h:78
bool(* has_prev)(void *it)
Definition: imap.h:48
void *(* ctor)()
Definition: imap.h:42
void *(* value)(void *it)
Definition: imap.h:50
void(* next)(void *it)
Definition: imap.h:45
const struct cdc_map_table * cdc_map_treap
The cdc_map_table struct.
Definition: imap.h:60
cdc_iterator_type
Definition: common.h:115
The cdc_map_iter_table struct.
Definition: imap.h:41
const struct cdc_map_table * cdc_map_htable
bool(* eq)(void *it1, void *it2)
Definition: imap.h:52
cdc_stat
Definition: status.h:24
void(* dtor)(void *it)
Definition: imap.h:43
void(* prev)(void *it)
Definition: imap.h:46
void *(* key)(void *it)
Definition: imap.h:49
const struct cdc_map_table * cdc_map_avl
enum cdc_iterator_type(* type)()
Definition: imap.h:44
struct cdc_pair(* key_value)(void *it)
Definition: imap.h:51
The cdc_data_info struct used to initialize contaners.
Definition: common.h:71
size_t size
Definition: common.h:95