22 #ifndef DBA_MEMDB_VALUEBASE_H 23 #define DBA_MEMDB_VALUEBASE_H 25 #include <wreport/var.h> 40 ValueBase(std::unique_ptr<wreport::Var> var)
41 : var(var.release()) {}
44 void query_attrs(std::function<
void(std::unique_ptr<wreport::Var>)> dest)
const;
46 void attr_insert(
const Record& attrs);
47 void attr_insert(
const Values& attrs);
48 void attr_remove(
const std::vector<wreport::Varcode>& qcs);
51 void replace(std::unique_ptr<wreport::Var> var);
54 void replace(
const wreport::Var& var);
Station information.
Definition: valuebase.h:36
Key/value store where keys are strings and values are wreport variables.
Definition: record.h:16
Copyright (C) 2008–2010 ARPA-SIM urpsim@smr.arpa.emr.it
Definition: cmdline.h:17
void replace(std::unique_ptr< wreport::Var > var)
Replace the variable with the given one.
Storage and index for measured values.
Definition: value.h:43