Record processor to implement DBM::PopFirst.
More...
#include <tkrzw_dbm.h>
|
| | RecordProcessorPopFirst (std::string *key, std::string *value) |
| | Constructor.
|
| |
| std::string_view | ProcessFull (std::string_view key, std::string_view value) override |
| | Processes an existing record.
|
| |
| virtual | ~RecordProcessor ()=default |
| | Destructor.
|
| |
| virtual std::string_view | ProcessEmpty (std::string_view key) |
| | Processes an empty record space.
|
| |
|
| static const std::string_view | NOOP |
| | The special string indicating no operation.
|
| |
| static const std::string_view | REMOVE |
| | The special string indicating removing operation.
|
| |
Record processor to implement DBM::PopFirst.
◆ RecordProcessorPopFirst()
| tkrzw::DBM::RecordProcessorPopFirst::RecordProcessorPopFirst |
( |
std::string * | key, |
|
|
std::string * | value ) |
|
explicit |
Constructor.
- Parameters
-
| key | The pointer to a string object to contain the existing value. |
| value | The pointer to a string object to contain the existing value. |
◆ ProcessFull()
| std::string_view tkrzw::DBM::RecordProcessorPopFirst::ProcessFull |
( |
std::string_view | key, |
|
|
std::string_view | value ) |
|
overridevirtual |