libdballe
7.19
|
Cache intermediate results during a database transaction, to avoid hitting the database multiple times when we already know values from previous operations. More...
#include <state.h>
Public Member Functions | |
stations_t::iterator | add_station (const StationDesc &desc, const StationState &state) |
levtrs_t::iterator | add_levtr (const LevTrDesc &desc, const LevTrState &state) |
stationvalues_t::iterator | add_stationvalue (const StationValueDesc &desc, const StationValueState &state) |
values_t::iterator | add_value (const ValueDesc &desc, const ValueState &state) |
void | clear () |
Clear the state, removing all cached data. | |
Cache intermediate results during a database transaction, to avoid hitting the database multiple times when we already know values from previous operations.