libdballe  8.3
Public Member Functions | Public Attributes | List of all members
dballe::db::v7::cursor::DataRows Struct Reference
Inheritance diagram for dballe::db::v7::cursor::DataRows:
dballe::db::v7::cursor::BaseDataRows dballe::db::v7::cursor::LevTrRows< DataRow > dballe::db::v7::cursor::Rows< DataRow >

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)
 
- Public Member Functions inherited from dballe::db::v7::cursor::BaseDataRows
void enq (impl::Enq &enq) const
 
- Public Member Functions inherited from dballe::db::v7::cursor::LevTrRows< DataRow >
bool next ()
 
void discard ()
 
const LevTrEntryget_levtr () const
 
- Public Member Functions inherited from dballe::db::v7::cursor::Rows< DataRow >
 Rows (std::shared_ptr< v7::Transaction > tr)
 
const DataRowoperator-> () const
 
int get_priority () const
 
bool next ()
 
void discard ()
 

Public Attributes

int insert_cur_prio
 
- Public Attributes inherited from dballe::db::v7::cursor::LevTrRows< DataRow >
const LevTrEntrylevtr
 
- Public Attributes inherited from dballe::db::v7::cursor::Rows< DataRow >
std::shared_ptr< v7::Transactiontr
 Database to operate on.
 
std::vector< DataRowresults
 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.
 

The documentation for this struct was generated from the following file: