libdballe 9.14
dballe::db::v7::cursor::Summary Struct Reference

CursorSummary implementation. More...

#include <cursor.h>

Inheritance diagram for dballe::db::v7::cursor::Summary:
dballe::db::v7::cursor::LevTrBase< Summary > dballe::db::v7::cursor::Base< Summary >

Public Member Functions

DatetimeRange get_datetimerange () const override
Level get_level () const override
Trange get_trange () const override
wreport::Varcode get_varcode () const override
size_t get_count () const override
void remove () override
void enq (impl::Enq &enq) const override
Public Member Functions inherited from dballe::db::v7::cursor::LevTrBase< Summary >
bool next () override
void discard () override
Public Member Functions inherited from dballe::db::v7::cursor::Base< Summary >
 Base (std::shared_ptr< v7::Transaction > tr)
int remaining () const override
bool has_value () const override
bool next () override
void discard () override
dballe::DBStation get_station () const override
unsigned test_iterate (FILE *dump=0) override
 Iterate the cursor until the end, returning the number of items.
const Row & row () const

Protected Member Functions

void load (Tracer<> &trc, const SummaryQueryBuilder &qb)
Protected Member Functions inherited from dballe::db::v7::cursor::LevTrBase< Summary >
const LevTrEntryget_levtr () const
Protected Member Functions inherited from dballe::db::v7::cursor::Base< Summary >
int get_priority () const

Friends

std::shared_ptr< dballe::CursorSummaryrun_summary_query (Tracer<> &trc, std::shared_ptr< v7::Transaction > tr, const core::Query &query, bool explain)

Additional Inherited Members

Public Types inherited from dballe::db::v7::cursor::Base< Summary >
typedef ImplTraits< Summary >::Row Row
typedef ImplTraits< Summary >::Interface Interface
Static Public Member Functions inherited from dballe::db::v7::cursor::Base< Summary >
static std::shared_ptr< Summarydowncast (std::shared_ptr< Interface > c)
Public Attributes inherited from dballe::db::v7::cursor::Base< Summary >
std::shared_ptr< v7::Transactiontr
 Database to operate on.
std::deque< Row > results
 Storage for the raw database results.
bool at_start
 True if we are at the start of the iteration.
Protected Attributes inherited from dballe::db::v7::cursor::LevTrBase< Summary >
const LevTrEntrylevtr

Detailed Description

CursorSummary implementation.


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