#include <dabc/Record.h>
|
static bool | match_prefix (const std::string &name, const std::string &prefix) |
|
Definition at line 374 of file Record.h.
◆ FieldsMap
◆ RecordFieldsMap()
dabc::RecordFieldsMap::RecordFieldsMap |
( |
| ) |
|
◆ ~RecordFieldsMap()
dabc::RecordFieldsMap::~RecordFieldsMap |
( |
| ) |
|
|
virtual |
◆ clear()
void dabc::RecordFieldsMap::clear |
( |
| ) |
|
|
inlineprotected |
◆ match_prefix()
bool dabc::RecordFieldsMap::match_prefix |
( |
const std::string & |
name, |
|
|
const std::string & |
prefix |
|
) |
| |
|
staticprotected |
◆ StoreSize()
uint64_t dabc::RecordFieldsMap::StoreSize |
( |
const std::string & |
nameprefix = "" | ) |
|
◆ Stream()
bool dabc::RecordFieldsMap::Stream |
( |
iostream & |
s, |
|
|
const std::string & |
nameprefix = "" |
|
) |
| |
◆ HasField()
bool dabc::RecordFieldsMap::HasField |
( |
const std::string & |
name | ) |
const |
◆ RemoveField()
bool dabc::RecordFieldsMap::RemoveField |
( |
const std::string & |
name | ) |
|
◆ NumFields()
unsigned dabc::RecordFieldsMap::NumFields |
( |
| ) |
const |
|
inline |
◆ FieldName()
std::string dabc::RecordFieldsMap::FieldName |
( |
unsigned |
n | ) |
const |
◆ Field()
RecordField& dabc::RecordFieldsMap::Field |
( |
const std::string & |
name | ) |
|
|
inline |
Direct access to the fields.
Definition at line 401 of file Record.h.
◆ SaveTo()
bool dabc::RecordFieldsMap::SaveTo |
( |
HStore & |
res | ) |
|
Save all field in json format.
Definition at line 1529 of file Record.cxx.
◆ CopyFrom()
void dabc::RecordFieldsMap::CopyFrom |
( |
const RecordFieldsMap & |
src, |
|
|
bool |
overwrite = true |
|
) |
| |
Copy fields from source map.
Definition at line 1543 of file Record.cxx.
◆ MoveFrom()
Move fields from source map, delete no longer existing (except protected)
Definition at line 1550 of file Record.cxx.
◆ MakeAsDiffTo()
In the map only modified fields are remained Also dabc:delete field can appear which marks all removed fields.
Definition at line 1570 of file Record.cxx.
◆ ApplyDiff()
Apply diff map One should use fields, generated with MakeAsDiffTo call.
Definition at line 1586 of file Record.cxx.
◆ Clone()
Create complete copy of fields map.
Definition at line 1440 of file Record.cxx.
◆ WasChanged()
bool dabc::RecordFieldsMap::WasChanged |
( |
| ) |
const |
Return true if any field was changed or map was modified (removed filed)
Definition at line 1409 of file Record.cxx.
◆ WasChangedWith()
bool dabc::RecordFieldsMap::WasChangedWith |
( |
const std::string & |
prefix | ) |
|
Returns true when fields with specified prefix were changed.
Definition at line 1420 of file Record.cxx.
◆ ClearChangeFlags()
void dabc::RecordFieldsMap::ClearChangeFlags |
( |
| ) |
|
◆ fMap
◆ fChanged
bool dabc::RecordFieldsMap::fChanged |
|
protected |
true when field was removed
Definition at line 380 of file Record.h.
The documentation for this class was generated from the following files: