1 #ifndef DBALLE_DB_V7_MYSQL_LEVTRV7_H 2 #define DBALLE_DB_V7_MYSQL_LEVTRV7_H 5 #include <dballe/db/v7/levtr.h> 34 void _dump(std::function<
void(
int,
const Level&,
const Trange&)> out)
override;
43 void prefetch_ids(
const std::set<int>& ids, std::function<
void(
int,
const LevTrDesc&)> dest)
override;
44 void prefetch_same_level(
int id, std::function<
void(
int,
const LevTrDesc&)> dest)
override;
45 levtrs_t::iterator lookup_id(
State& st,
int id)
override;
46 levtrs_t::iterator obtain_id(
State& state,
const LevTrDesc& desc)
override;
Cache intermediate results during a database transaction, to avoid hitting the database multiple time...
Definition: state.h:140
Information on how a value has been sampled or computed with regards to time.
Definition: types.h:587
Forward declarations for public dballe/sql names.
Copyright (C) 2008–2010 ARPA-SIM urpsim@smr.arpa.emr.it
Definition: cmdline.h:17
Vertical level or layer.
Definition: types.h:532
Functions used to connect to DB-All.e and insert, query and delete data.
Precompiled queries to manipulate the lev_tr table.
Definition: v7/levtr.h:24
dballe::sql::MySQLConnection & conn
DB connection.
Definition: v7/mysql/levtr.h:32
Precompiled queries to manipulate the lev_tr table.
Definition: v7/mysql/levtr.h:26
Database connection.
Definition: mysql.h:125