Record processor to implement DBM::Remove.
More...
#include <tkrzw_dbm.h>
|
| RecordProcessorRemove (Status *status, std::string *old_value) |
| Constructor.
|
|
std::string_view | ProcessFull (std::string_view key, std::string_view value) override |
| Processes an existing record.
|
|
std::string_view | ProcessEmpty (std::string_view key) override |
| Processes an empty record space.
|
|
virtual | ~RecordProcessor ()=default |
| Destructor.
|
|
|
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::Remove.
◆ RecordProcessorRemove()
tkrzw::DBM::RecordProcessorRemove::RecordProcessorRemove |
( |
Status * | status, |
|
|
std::string * | old_value ) |
|
explicit |
Constructor.
- Parameters
-
status | The pointer to a status object to contain the result status. |
old_value | The pointer to a string object to contain the existing value. |
◆ ProcessFull()
std::string_view tkrzw::DBM::RecordProcessorRemove::ProcessFull |
( |
std::string_view | key, |
|
|
std::string_view | value ) |
|
overridevirtual |
◆ ProcessEmpty()
std::string_view tkrzw::DBM::RecordProcessorRemove::ProcessEmpty |
( |
std::string_view | key | ) |
|
|
overridevirtual |