libdballe
8.3
|
Public Member Functions | |
CursorData (const impl::Message &msg, bool merged=false) | |
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. | |
Level | get_level () const override |
Get the level. | |
Trange | get_trange () const override |
Get the time range. | |
Datetime | get_datetime () const override |
Get the datetime. | |
Static Public Member Functions | |
static std::unique_ptr< CursorData > | downcast (std::unique_ptr< dballe::CursorData > c) |
Downcast a unique_ptr pointer. | |
![]() | |
static std::unique_ptr< CursorData > | downcast (std::unique_ptr< dballe::CursorData > c) |
Downcast a unique_ptr pointer. | |
static std::unique_ptr< CursorData > | make_empty () |
Create a CursorData iterating on no results. | |
Public Attributes | |
dballe::DBStation | station |
Datetime | datetime |
std::vector< CursorDataRow > | rows |
std::vector< CursorDataRow >::const_iterator | cur |
bool | at_start = true |
|
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.