libdballe  9.11
Public Member Functions | Public Attributes | Protected Member Functions | Friends | List of all members
dballe::db::v7::cursor::StationData Struct Reference

CursorStationData implementation. More...

#include <cursor.h>

Inheritance diagram for dballe::db::v7::cursor::StationData:
dballe::db::v7::cursor::Base< StationData >

Public Member Functions

 StationData (DataQueryBuilder &qb, bool with_attributes)
 
std::shared_ptr< dballe::db::Transactionget_transaction () const override
 
wreport::Varcode get_varcode () const override
 
wreport::Var get_var () const override
 
int attr_reference_id () const override
 
void query_attrs (std::function< void(std::unique_ptr< wreport::Var >)> dest, bool force_read) override
 
void remove () override
 
void enq (impl::Enq &enq) const override
 
- Public Member Functions inherited from dballe::db::v7::cursor::Base< StationData >
 Base (std::shared_ptr< v7::Transaction > tr)
 
int remaining () const override
 
bool has_value () const override
 
bool next () override
 
void discard () override
 
dballe::DBStation get_station () const override
 
unsigned test_iterate (FILE *dump=0) override
 Iterate the cursor until the end, returning the number of items. More...
 
const Row & row () const
 

Public Attributes

bool with_attributes
 
- Public Attributes inherited from dballe::db::v7::cursor::Base< StationData >
std::shared_ptr< v7::Transactiontr
 Database to operate on.
 
std::deque< Row > results
 Storage for the raw database results.
 
bool at_start
 True if we are at the start of the iteration.
 

Protected Member Functions

void load (Tracer<> &trc, const DataQueryBuilder &qb)
 
- Protected Member Functions inherited from dballe::db::v7::cursor::Base< StationData >
int get_priority () const
 

Friends

std::shared_ptr< dballe::CursorStationDatarun_station_data_query (Tracer<> &trc, std::shared_ptr< v7::Transaction > tr, const core::Query &query, bool explain)
 

Additional Inherited Members

- Public Types inherited from dballe::db::v7::cursor::Base< StationData >
typedef ImplTraits< StationData >::Row Row
 
typedef ImplTraits< StationData >::Interface Interface
 
- Static Public Member Functions inherited from dballe::db::v7::cursor::Base< StationData >
static std::shared_ptr< StationDatadowncast (std::shared_ptr< Interface > c)
 

Detailed Description

CursorStationData implementation.


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