|
virtual dballe::DB & | get_db () const |
| Get the database that created this cursor.
|
|
int | remaining () const |
| Get the number of rows still to be fetched. More...
|
|
virtual void | query (const Record &query)=0 |
| Perform the query.
|
|
unsigned | query_attrs (const AttrList &qcs, Record &attrs) |
| Query attributes for the current variable.
|
|
virtual void | attr_insert (const Record &attrs) |
| Insert/overwrite new attributes for the current variable. More...
|
|
virtual void | attr_remove (const AttrList &qcs) |
| Delete attributes for the current variable. More...
|
|
virtual int | get_station_id () const |
| Get the station identifier.
|
|
virtual double | get_lat () const |
| Get the station latitude.
|
|
virtual double | get_lon () const |
| Get the station longitude.
|
|
virtual const char * | get_ident (const char *def=0) const |
| Get the station identifier, or NULL if missing.
|
|
virtual const char * | get_rep_memo (const char *def=0) const |
| Get the report name.
|
|
virtual Level | get_level () const |
| Get the level.
|
|
virtual Trange | get_trange () const |
| Get the level.
|
|
virtual void | get_datetime (int(&dt)[6]) const |
| Get the datetime.
|
|
virtual wreport::Varcode | get_varcode () const |
| Get the variable code.
|
|
virtual wreport::Var | get_var () const |
| Get the variable.
|
|
virtual int | attr_reference_id () const |
| Return an integer value that can be used to refer to the current variable for attribute access.
|
|
virtual unsigned | test_iterate (FILE *dump=0)=0 |
| Iterate the cursor until the end, returning the number of items. More...
|
|
virtual void | to_record (Record &rec)=0 |
| Fill in a record with the contents of a dba_db_cursor. More...
|
|
v6::DB & | db |
| Database to operate on.
|
|
const unsigned int | modifiers |
| Modifier flags to enable special query behaviours.
|
|
DBALLE_SQL_C_SINT_TYPE | count |
| Number of results still to be fetched.
|
|
SQLRecord | sqlrec |
| Results written by fetch.
|
|
virtual bool dballe::db::v6::CursorLinear::next |
( |
| ) |
|
|
protectedvirtual |
Get a new item from the results of a query.
- Returns
- true if a new record has been read, false if there is no more data to read
Implements dballe::db::v6::Cursor.
The documentation for this class was generated from the following file: