libdballe 9.14
dballe::db::summary::StationEntries< Station > Struct Template Reference

Index of all stations known to a summary. More...

#include <summary_utils.h>

Inheritance diagram for dballe::db::summary::StationEntries< Station >:
dballe::core::SmallSet< StationEntry< Station >, Station, station_entries_get_value< Station > >

Public Types

typedef core::SmallSet< StationEntry< Station >, Station, station_entries_get_value< Station > > Parent
typedef Parent::iterator iterator
typedef Parent::const_iterator const_iterator
typedef Parent::reverse_iterator reverse_iterator
typedef Parent::const_reverse_iterator const_reverse_iterator

Public Member Functions

bool operator== (const StationEntries< Station > &o) const
bool operator!= (const StationEntries< Station > &o) const
void add (const Station &station, const VarDesc &vd, const dballe::DatetimeRange &dtrange, size_t count)
 Merge the given entry.
template<typename OStation>
void add (const StationEntries< OStation > &entry)
 Merge the given entries.
void add (const StationEntries< Station > &entry)
 Merge the given entries.
void add (const StationEntry< Station > &entry)
 Merge the given entry.
void add_filtered (const StationEntries &entry, const dballe::Query &query)
bool has (const Station &station) const
const StationEntriessorted () const
bool iter_filtered (const dballe::Query &query, std::function< bool(const Station &, const summary::VarDesc &, const DatetimeRange &dtrange, size_t count)> dest) const
iterator begin ()
const_iterator begin () const
bool empty () const
iterator end ()
const_iterator end () const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
size_t size () const

Additional Inherited Members

Protected Types inherited from dballe::core::SmallSet< StationEntry< Station >, Station, station_entries_get_value< Station > >
typedef std::vector< StationEntry< Station > >::const_iterator const_iterator
typedef std::vector< StationEntry< Station > >::iterator iterator
typedef std::vector< StationEntry< Station > >::const_reverse_iterator const_reverse_iterator
typedef std::vector< StationEntry< Station > >::reverse_iterator reverse_iterator
Protected Member Functions inherited from dballe::core::SmallSet< StationEntry< Station >, Station, station_entries_get_value< Station > >
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
reverse_iterator rbegin ()
reverse_iterator rend ()
const_reverse_iterator rbegin () const
const_reverse_iterator rend () const
size_t size () const
bool empty () const
bool operator== (const SmallSet &o) const
bool operator!= (const SmallSet &o) const
void clear ()
int binary_search (const Station &value) const
const_iterator find (const Station &value) const
iterator find (const Station &value)
StationEntry< Station > & add (const StationEntry< Station > &item)
void rearrange_dirty () const
Protected Attributes inherited from dballe::core::SmallSet< StationEntry< Station >, Station, station_entries_get_value< Station > >
std::vector< StationEntry< Station > > items
size_t dirty

Detailed Description

template<typename Station>
struct dballe::db::summary::StationEntries< Station >

Index of all stations known to a summary.

It behaves similarly to a std::vector<StationEntry<Station>>


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