1 #ifndef DBALLE_CURSOR_H 2 #define DBALLE_CURSOR_H 4 #include <dballe/fwd.h> 6 #include <wreport/var.h> 34 virtual bool next() = 0;
51 virtual DBValues get_values()
const = 0;
74 virtual Level get_level()
const = 0;
77 virtual Trange get_trange()
const = 0;
80 virtual Datetime get_datetime()
const = 0;
87 virtual Level get_level()
const = 0;
90 virtual Trange get_trange()
const = 0;
99 virtual size_t get_count()
const = 0;
105 virtual const Message& get_message()
const = 0;
106 virtual std::unique_ptr<Message> detach_message() = 0;
Cursor iterating over data values.
Definition: cursor.h:65
virtual DBStation get_station() const =0
Get the whole station data in a single call.
virtual bool next()=0
Get a new item from the results of a query.
Cursor iterating over messages.
Definition: cursor.h:103
virtual int remaining() const =0
Get the number of rows still to be fetched.
Information on how a value has been sampled or computed with regards to time.
Definition: types.h:683
A bulletin that has been decoded and physically interpreted.
Definition: message.h:28
Collection of DBValue objects, indexed by wreport::Varcode.
Definition: values.h:191
Cursor iterating over summary entries.
Definition: cursor.h:84
Vertical level or layer.
Definition: types.h:621
virtual void discard()=0
Discard the results that have not been read yet.
Range of datetimes.
Definition: types.h:291
Base class for cursors that iterate over DB query results.
Definition: cursor.h:15
Cursor iterating over station data values.
Definition: cursor.h:55
Cursor iterating over stations.
Definition: cursor.h:46
Date and time.
Definition: types.h:164
Structures used as input to database insert functions.