libdballe
8.3
|
Public Member Functions | |
bool | add_to_best_results (const dballe::DBStation &station, int id_levtr, const Datetime &datetime, int id_data, std::unique_ptr< wreport::Var > var) |
Append or replace the last result according to priority. Returns false if the value has been ignored. | |
void | load (Tracer<> &trc, const DataQueryBuilder &qb) |
void | load_best (Tracer<> &trc, const DataQueryBuilder &qb) |
![]() | |
void | enq (impl::Enq &enq) const |
![]() | |
bool | next () |
void | discard () |
const LevTrEntry & | get_levtr () const |
![]() | |
Rows (std::shared_ptr< v7::Transaction > tr) | |
const DataRow * | operator-> () const |
int | get_priority () const |
bool | next () |
void | discard () |
Public Attributes | |
int | insert_cur_prio |
![]() | |
const LevTrEntry * | levtr |
![]() | |
std::shared_ptr< v7::Transaction > | tr |
Database to operate on. | |
std::vector< DataRow > | results |
Storage for the raw database results. | |
std::vector< DataRow >::const_iterator | cur |
Iterator to the current position in results. | |
bool | at_start |
True if we are at the start of the iteration. | |