libdballe
8.3
|
Public Member Functions | |
CursorStationData (const impl::Message &msg) | |
int | remaining () const override |
Get the number of rows still to be fetched. More... | |
bool | next () override |
Get a new item from the results of a query. More... | |
void | discard () override |
Discard the results that have not been read yet. | |
void | enq (Enq &enq) const override |
DBStation | get_station () const override |
Get the whole station data in a single call. | |
wreport::Varcode | get_varcode () const override |
Get the variable code. | |
wreport::Var | get_var () const override |
Get the variable. | |
Static Public Member Functions | |
static std::unique_ptr< CursorStationData > | downcast (std::unique_ptr< dballe::CursorStationData > c) |
Downcast a unique_ptr pointer. | |
![]() | |
static std::unique_ptr< CursorStationData > | downcast (std::unique_ptr< dballe::CursorStationData > c) |
Downcast a unique_ptr pointer. | |
static std::unique_ptr< CursorStationData > | make_empty () |
Create a CursorStationData iterating on no results. | |
Public Attributes | |
dballe::DBStation | station |
const Values & | station_values |
bool | at_start = true |
Values::const_iterator | cur |
|
inlineoverridevirtual |
Get a new item from the results of a query.
Implements dballe::Cursor.
|
inlineoverridevirtual |
Get the number of rows still to be fetched.
Implements dballe::Cursor.