Public Member Functions | |
| in_db (int fd) | |
| in_db (const std::string &filename) | |
| ~in_db () | |
| iterator | begin () const |
| iterator | end () const |
| template<class K> iterator | find (const std::vector< K > &key) const |
| iterator | find (const std::string &key) const |
Private Member Functions | |
| iterator | find_impl (const void *key, cdbi_t keylen) const |
| void | init () |
Private Attributes | |
| int | fd_ |
| bool | self_ |
| cdb | cdbp_ |
| cdbi_t | end_offset_ |
Static Private Attributes | |
| const cdbi_t | start_offset_ = 2048 |
|
|
|
|
|
|
|
|
|
|
|
create iterator with the start position |
|
|
create iterator with the stop position |
|
|
|
|
||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
internal database handler, mutable 'cause I want to have const find method |
|
|
|
|
|
database file descriptor |
|
|
are this fd our or not |
|
|
|
1.3.5