libdballe 9.6
Public Member Functions | List of all members
dballe::CursorData Class Referenceabstract

Cursor iterating over data values. More...

#include <cursor.h>

Inheritance diagram for dballe::CursorData:
dballe::Cursor dballe::impl::CursorData dballe::db::CursorData dballe::impl::msg::CursorData

Public Member Functions

virtual wreport::Varcode get_varcode () const =0
 Get the variable code.
 
virtual wreport::Var get_var () const =0
 Get the variable.
 
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::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.
 

Detailed Description

Cursor iterating over data values.

Member Function Documentation

◆ get_datetime()

virtual Datetime dballe::CursorData::get_datetime ( ) const
pure virtual

Get the datetime.

Implemented in dballe::impl::msg::CursorData.

◆ get_level()

virtual Level dballe::CursorData::get_level ( ) const
pure virtual

Get the level.

Implemented in dballe::impl::msg::CursorData.

◆ get_trange()

virtual Trange dballe::CursorData::get_trange ( ) const
pure virtual

Get the time range.

Implemented in dballe::impl::msg::CursorData.

◆ get_var()

virtual wreport::Var dballe::CursorData::get_var ( ) const
pure virtual

Get the variable.

Implemented in dballe::impl::msg::CursorData.

◆ get_varcode()

virtual wreport::Varcode dballe::CursorData::get_varcode ( ) const
pure virtual

Get the variable code.

Implemented in dballe::impl::msg::CursorData.


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