libdballe
9.11
|
Cursor iterating over station data values. More...
#include <cursor.h>
Public Member Functions | |
virtual void | enq (Enq &enq) const =0 |
![]() | |
virtual wreport::Varcode | get_varcode () const =0 |
Get the variable code. | |
virtual wreport::Var | get_var () const =0 |
Get the variable. | |
![]() | |
virtual bool | has_value () const =0 |
Check if the cursor points to a valid value. More... | |
virtual int | remaining () const =0 |
Get the number of rows still to be fetched. More... | |
virtual bool | next ()=0 |
Get a new item from the results of a query. More... | |
virtual void | discard ()=0 |
Discard the results that have not been read yet. | |
virtual DBStation | get_station () const =0 |
Get the whole station data in a single call. | |
Static Public Member Functions | |
static std::shared_ptr< CursorStationData > | downcast (std::shared_ptr< dballe::CursorStationData > c) |
Downcast a shared_ptr pointer. | |
static std::shared_ptr< CursorStationData > | make_empty () |
Create a CursorStationData iterating on no results. | |
Cursor iterating over station data values.