|
libdballe
8.6
|
Classes | |
| struct | Entry |
Public Member Functions | |
| Cursor (const summary::StationEntries< Station > &entries, const Query &query) | |
| bool | has_value () const |
| Check if the cursor points to a valid value. More... | |
| 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. | |
| DBStation | get_station () const override |
| Get the whole station data in a single call. | |
| Level | get_level () const override |
| Get the level. | |
| Trange | get_trange () const override |
| Get the time range. | |
| wreport::Varcode | get_varcode () const override |
| Get the variable code. | |
| DatetimeRange | get_datetimerange () const override |
| Get the datetime range. | |
| size_t | get_count () const override |
| Get the count of elements. | |
| void | enq (impl::Enq &enq) const |
Static Public Member Functions | |
| static DBStation | _get_dbstation (const DBStation &s) |
| static DBStation | _get_dbstation (const dballe::Station &station) |
| static int | _get_station_id (const DBStation &s) |
| static int | _get_station_id (const dballe::Station &s) |
Static Public Member Functions inherited from dballe::impl::CursorSummary | |
| static std::unique_ptr< CursorSummary > | downcast (std::unique_ptr< dballe::CursorSummary > c) |
| Downcast a unique_ptr pointer. | |
| static std::unique_ptr< CursorSummary > | make_empty () |
| Create a CursorSummary iterating on no results. | |
Public Attributes | |
| std::vector< Entry > | results |
| std::vector< Entry >::const_iterator | cur |
| bool | at_start = true |
|
inlinevirtual |
Check if the cursor points to a valid value.
Implements dballe::Cursor.
|
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.
1.8.16