Record processor to implement DBM::Process with a lambda function.
More...
#include <tkrzw_dbm.h>
|
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::Process with a lambda function.
◆ RecordProcessorLambda()
tkrzw::DBM::RecordProcessorLambda::RecordProcessorLambda |
( |
RecordLambdaType |
proc_lambda | ) |
|
|
explicit |
Constructor.
- Parameters
-
proc_lambda | A lambda function to process a record. |
◆ ProcessFull()
std::string_view tkrzw::DBM::RecordProcessorLambda::ProcessFull |
( |
std::string_view |
key, |
|
|
std::string_view |
value |
|
) |
| |
|
overridevirtual |
◆ ProcessEmpty()
std::string_view tkrzw::DBM::RecordProcessorLambda::ProcessEmpty |
( |
std::string_view |
key | ) |
|
|
overridevirtual |