libdballe  7.29
Public Member Functions | List of all members
dballe::db::CursorData Struct Referenceabstract

Cursor iterating over data values. More...

#include <db.h>

Inheritance diagram for dballe::db::CursorData:
dballe::db::CursorValue dballe::db::Cursor

Public Member Functions

virtual Level get_level () const =0
 Get the level.
 
virtual Trange get_trange () const =0
 Get the time range.
 
virtual Datetime get_datetime () const =0
 Get the datetime.
 
- Public Member Functions inherited from dballe::db::CursorValue
virtual wreport::Varcode get_varcode () const =0
 Get the variable code.
 
virtual wreport::Var get_var () const =0
 Get the variable.
 
virtual int attr_reference_id () const =0
 Return an integer value that can be used to refer to the current variable for attribute access.
 
- Public Member Functions inherited from dballe::db::Cursor
virtual DBget_db () const =0
 Get the database that created this cursor.
 
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_rest ()=0
 Discard the results that have not been read yet.
 
virtual void to_record (Record &rec)=0
 Fill in a record with the contents of a dba_db_cursor. More...
 
virtual Station get_station () const =0
 Get the whole station data in a single call.
 
virtual int get_station_id () const =0
 Get the station identifier.
 
virtual double get_lat () const =0
 Get the station latitude.
 
virtual double get_lon () const =0
 Get the station longitude.
 
virtual const char * get_ident (const char *def=0) const =0
 Get the station identifier, or NULL if missing.
 
virtual const char * get_rep_memo () const =0
 Get the report name.
 
virtual unsigned test_iterate (FILE *dump=0)
 Iterate the cursor until the end, returning the number of items. More...
 

Detailed Description

Cursor iterating over data values.


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