| Member | Description |
|---|---|
| db_map_base_iterator |
Copy constructor. |
| ~db_map_base_iterator |
Destructor. |
| operator++ |
Pre-increment. |
| operator-- |
Pre-decrement. |
| operator== |
Equal comparison operator. |
| operator!= |
Unequal comparison operator. |
| operator * |
Dereference operator. |
| operator-> |
Arrow operator. |
| refresh |
Refresh iterator cached value. |
| close_cursor |
Close underlying Berkeley DB cursor of this iterator. |
| move_to |
Iterator movement function. |
| set_bulk_buffer |
Modify bulk buffer size. |
| get_bulk_bufsize |
Get bulk retrieval buffer size in bytes. |
| operator= |
Assignment operator. |
Iterator Classes for db_map and db_multimap
db_map_base_iterator(const self &vi)
Copy constructor.
db_map_base_iterator(const base &vi)
Base copy constructor.
db_map_base_iterator(db_container *powner, u_int32_t b_bulk_retrieval=0,
bool rmw=false, bool directdbget=true,
bool readonly=false)
Constructor.
Whether do direct database get rather than using key/data values cached in the iterator whenever read.
Whether open a read only cursor. Only effective when using Berkeley DB Concurrent Data Store.
db_map_base_iterator()
Default constructor, dose not create the cursor for now.
Do not create iterators directly using these constructors, but call db_map::begin or db_multimap_begin to get instances of this class.