libdballe 9.6
Public Member Functions | Static Public Member Functions | List of all members
dballe::impl::CursorMessage Struct Reference

Cursor iterating over messages. More...

#include <cursor.h>

Inheritance diagram for dballe::impl::CursorMessage:
dballe::CursorMessage dballe::Cursor

Public Member Functions

virtual void enq (Enq &enq) const
 
- Public Member Functions inherited from dballe::CursorMessage
virtual std::shared_ptr< Messageget_message () const =0
 
- 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.
 

Static Public Member Functions

static std::shared_ptr< CursorMessagedowncast (std::shared_ptr< dballe::CursorMessage > c)
 Downcast a shared_ptr pointer.
 
static std::shared_ptr< CursorMessagemake_empty ()
 Create a CursorStation iterating on no results.
 

Detailed Description

Cursor iterating over messages.


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