libdballe  9.11
Public Member Functions | List of all members
dballe::db::CursorSummary Struct Referenceabstract
Inheritance diagram for dballe::db::CursorSummary:
dballe::impl::CursorSummary dballe::CursorSummary dballe::Cursor

Public Member Functions

virtual void remove ()=0
 Remove all data summarised by this entry.
 
virtual unsigned test_iterate (FILE *dump=0)=0
 Iterate the cursor until the end, returning the number of items. More...
 
- Public Member Functions inherited from dballe::impl::CursorSummary
virtual void enq (Enq &enq) const =0
 
- Public Member Functions inherited from dballe::CursorSummary
virtual Level get_level () const =0
 Get the level.
 
virtual Trange get_trange () const =0
 Get the time range.
 
virtual wreport::Varcode get_varcode () const =0
 Get the variable code.
 
virtual DatetimeRange get_datetimerange () const =0
 Get the datetime range.
 
virtual size_t get_count () const =0
 Get the count of elements.
 
- Public Member Functions inherited from dballe::Cursor
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.
 

Additional Inherited Members

- Static Public Member Functions inherited from dballe::impl::CursorSummary
static std::shared_ptr< CursorSummarydowncast (std::shared_ptr< dballe::CursorSummary > c)
 Downcast a shared_ptr pointer.
 
static std::shared_ptr< CursorSummarymake_empty ()
 Create a CursorSummary iterating on no results.
 

Member Function Documentation

◆ test_iterate()

virtual unsigned dballe::db::CursorSummary::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: