4 #include <dballe/fwd.h> 6 #include <wreport/var.h> 24 Data& operator=(
const Data& o) =
default;
28 static std::unique_ptr<Data>
create();
31 virtual void clear() = 0;
46 virtual void print(FILE* out)
const = 0;
static std::unique_ptr< Data > create()
Create a new Record.
Common base types used by most of DB-All.e code.
virtual bool operator!=(const Data &rec) const =0
Check if two records differ.
virtual void clear_vars()=0
Remove all Bxxyyy keys from the record, leaving the rest intact.
Key/value store where keys are strings and values are wreport variables.
Definition: data.h:17
virtual bool operator==(const Data &rec) const =0
Check if two records are the same.
virtual void clear_ids()=0
Unset all database IDs in station and values.
virtual void clear()=0
Remove all contents from the record.
virtual void print(FILE *out) const =0
Print the contents of this record to the given stream.