libdballe
9.11
|
Key/value store where keys are strings and values are wreport variables. More...
#include <data.h>
Public Member Functions | |
Data (const Data &)=default | |
Data (Data &&)=default | |
Data & | operator= (const Data &o)=default |
Data & | operator= (Data &&o)=default |
virtual void | clear ()=0 |
Remove all contents from the record. | |
virtual void | clear_ids ()=0 |
Unset all database IDs in station and values. | |
virtual void | clear_vars ()=0 |
Remove all Bxxyyy keys from the record, leaving the rest intact. | |
virtual bool | operator== (const Data &rec) const =0 |
Check if two records are the same. | |
virtual bool | operator!= (const Data &rec) const =0 |
Check if two records differ. | |
virtual void | print (FILE *out) const =0 |
Print the contents of this record to the given stream. | |
Static Public Member Functions | |
static std::unique_ptr< Data > | create () |
Create a new Record. | |
Key/value store where keys are strings and values are wreport variables.
Keys are defined from a known vocabulary, where each key has an associated wreport::Varinfo structure.