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 | LRUCache< VALUETYPE > |
Iterator to access each record.
The iterator is invalidated when the current record is removed.
std::shared_ptr< VALUETYPE > tkrzw::LRUCache< 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::LRUCache< VALUETYPE >::Iterator::Next |
Moves the iterator to the next record.