Tkrzw
|
Record processor to implement DBM::Append. More...
#include <tkrzw_dbm.h>
Public Member Functions | |
RecordProcessorAppend (std::string_view value, std::string_view delim) | |
Constructor. More... | |
std::string_view | ProcessFull (std::string_view key, std::string_view value) override |
Processes an existing record. More... | |
std::string_view | ProcessEmpty (std::string_view key) override |
Processes an empty record space. More... | |
Public Member Functions inherited from tkrzw::DBM::RecordProcessor | |
virtual | ~RecordProcessor ()=default |
Destructor. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from tkrzw::DBM::RecordProcessor | |
static const std::string_view | NOOP |
The special string indicating no operation. More... | |
static const std::string_view | REMOVE |
The special string indicating removing operation. More... | |
Record processor to implement DBM::Append.
tkrzw::DBM::RecordProcessorAppend::RecordProcessorAppend | ( | std::string_view | value, |
std::string_view | delim | ||
) |
Constructor.
value | A string of the value to set. |
delim | A string of the delimiter. |
|
overridevirtual |
Processes an existing record.
Reimplemented from tkrzw::DBM::RecordProcessor.
|
overridevirtual |
Processes an empty record space.
Reimplemented from tkrzw::DBM::RecordProcessor.