22 #ifndef DBALLE_DB_MYSQL_LEVTRV6_H 23 #define DBALLE_DB_MYSQL_LEVTRV6_H 26 #include <dballe/db/sql/levtr.h> 27 #include <dballe/db/mysql/internals.h> 67 int obtain_id(
const Level& lev,
const Trange& tr)
override;
69 const DBRow* read(
int id)
override;
70 void read_all(std::function<
void(
const DBRow&)> dest)
override;
75 void dump(FILE* out)
override;
Database connection.
Definition: mysql/internals.h:145
Information on how a value has been sampled or computed with regards to time.
Definition: types.h:565
Copyright (C) 2008–2010 ARPA-SIM urpsim@smr.arpa.emr.it
Definition: cmdline.h:17
Vertical level or layer.
Definition: types.h:515
Functions used to connect to DB-All.e and insert, query and delete data.
Precompiled queries to manipulate the lev_tr table.
Definition: db/mysql/levtr.h:48
Precompiled queries to manipulate the lev_tr table.
Definition: db/sql/levtr.h:46
MySQLConnection & conn
DB connection.
Definition: db/mysql/levtr.h:52