Tkrzw
|
Iterator to access each record. More...
#include <tkrzw_containers.h>
Public Member Functions | |
std::shared_ptr< VALUETYPE > | Get (int64_t *id) |
Get the value of the current record. More... | |
void | Next () |
Moves the iterator to the next record. More... | |
Friends | |
class | DoubleLRUCache< VALUETYPE > |
Iterator to access each record.
The iterator is invalidated when the current record is removed.
std::shared_ptr< VALUETYPE > tkrzw::DoubleLRUCache< VALUETYPE >::Iterator::Get | ( | int64_t * | id | ) |
Get the value of the current record.
id | The pointer to store the ID of the record. If it is nullptr, it is ignored. |
void tkrzw::DoubleLRUCache< VALUETYPE >::Iterator::Next |
Moves the iterator to the next record.