Public Member Functions | |
iterator (mem_pos pos=0, bool fill=true) | |
iterator & | operator++ () |
iterator | operator++ (int) |
bool | equal (const iterator &other) const |
const data_pair & | operator * () const |
const data_pair * | operator-> () const |
Private Member Functions | |
void | fill_pair () |
Private Attributes | |
mem_pos | pos_ |
cdbi_t | keylen_ |
cdbi_t | valuelen_ |
data_pair | pair_ |
Static Private Attributes | |
const size_t | cdbi_size = sizeof(cdbi_t) |
|
start iterator with appropriate offset in the database file |
|
|
|
fill internal storage with current data |
|
|
|
|
|
prefix operator |
|
|
|
|
|
length of the current key |
|
temporary internal storage of current data pair |
|
current position in the file before database record |
|
length of the current value |