libdballe 9.14
dballe::db::CursorStation Struct Referenceabstract
Inheritance diagram for dballe::db::CursorStation:
dballe::impl::CursorStation dballe::CursorStation dballe::Cursor

Public Member Functions

virtual void remove ()=0
 Remove this station and all its data.
virtual unsigned test_iterate (FILE *dump=0)=0
 Iterate the cursor until the end, returning the number of items.
Public Member Functions inherited from dballe::impl::CursorStation
virtual void enq (Enq &enq) const =0
Public Member Functions inherited from dballe::CursorStation
virtual DBValues get_values () const =0
 Get the station data values.
Public Member Functions inherited from dballe::Cursor
virtual bool has_value () const =0
 Check if the cursor points to a valid value.
virtual int remaining () const =0
 Get the number of rows still to be fetched.
virtual bool next ()=0
 Get a new item from the results of a query.
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.

Additional Inherited Members

Static Public Member Functions inherited from dballe::impl::CursorStation
static std::shared_ptr< CursorStationdowncast (std::shared_ptr< dballe::CursorStation > c)
 Downcast a shared_ptr pointer.
static std::shared_ptr< CursorStationmake_empty ()
 Create a CursorStation iterating on no results.

Member Function Documentation

◆ test_iterate()

virtual unsigned dballe::db::CursorStation::test_iterate ( FILE * dump = 0)
pure virtual

Iterate the cursor until the end, returning the number of items.

If dump is a FILE pointer, also dump the cursor values to it


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