22 #ifndef DBA_MEMDB_VALUEBASE_H
23 #define DBA_MEMDB_VALUEBASE_H
25 #include <wreport/var.h>
39 ValueBase(std::auto_ptr<wreport::Var> var)
40 : var(var.release()) {}
43 unsigned query_attrs(
const std::vector<wreport::Varcode>& qcs,
Record& attrs)
const;
45 void attr_insert(
const Record& attrs);
46 void attr_remove(
const std::vector<wreport::Varcode>& qcs);
49 void replace(std::auto_ptr<wreport::Var> var);
52 void replace(
const wreport::Var& var);
Station information.
Definition: valuebase.h:35
DB-All.E record.
Definition: record.h:102
void replace(std::auto_ptr< wreport::Var > var)
Replace the variable with the given one.