libdballe 9.6
|
Query used to filter DB-All.e data. More...
#include <query.h>
Public Member Functions | |
virtual DatetimeRange | get_datetimerange () const =0 |
Get the Datetime bounds set in this query. | |
virtual void | set_datetimerange (const DatetimeRange &dt)=0 |
Set the Datetime range for this query. | |
virtual LatRange | get_latrange () const =0 |
Get the range of latitudes to be matched. | |
virtual void | set_latrange (const LatRange &latrange)=0 |
Set the range of latitudes to be matched. | |
virtual LonRange | get_lonrange () const =0 |
Get the range of longitudes to be matched. | |
virtual void | set_lonrange (const LonRange &lonrange)=0 |
Set the range of longitudes to be matched. | |
virtual Level | get_level () const =0 |
Get the level to be matched. | |
virtual void | set_level (const Level &level)=0 |
Set the level to be matched. | |
virtual Trange | get_trange () const =0 |
Get the time range to be matched. | |
virtual void | set_trange (const Trange &trange)=0 |
Set the level to be matched. | |
virtual void | clear ()=0 |
Clear the contents of the query, making it match all data. | |
virtual bool | is_subquery (const Query &other) const =0 |
Return true if this query matches a subset of the given query. | |
virtual void | print (FILE *out) const =0 |
Print the query contents to stderr. | |
virtual std::unique_ptr< Query > | clone () const =0 |
Return a copy of this query. | |
virtual bool | empty () const =0 |
Check if the query is empty, that is, it queries everything. | |
Static Public Member Functions | |
static std::unique_ptr< Query > | create () |
Create a new Query. | |
Query used to filter DB-All.e data.
|
pure virtual |
Clear the contents of the query, making it match all data.
Implemented in dballe::core::Query.
|
pure virtual |
Return a copy of this query.
Implemented in dballe::core::Query.
|
pure virtual |
Check if the query is empty, that is, it queries everything.
Implemented in dballe::core::Query.
|
pure virtual |
Get the Datetime bounds set in this query.
Implemented in dballe::core::Query.
|
pure virtual |
Get the range of latitudes to be matched.
Implemented in dballe::core::Query.
|
pure virtual |
Get the level to be matched.
Implemented in dballe::core::Query.
|
pure virtual |
Get the range of longitudes to be matched.
Implemented in dballe::core::Query.
|
pure virtual |
Get the time range to be matched.
Implemented in dballe::core::Query.
|
pure virtual |
Return true if this query matches a subset of the given query.
In other words, it returns true if this query is the same as other, plus zero or more extra fields set, or zero or more ranges narrowed.
Implemented in dballe::core::Query.
|
pure virtual |
Print the query contents to stderr.
Implemented in dballe::core::Query.
|
pure virtual |
Set the Datetime range for this query.
Implemented in dballe::core::Query.
|
pure virtual |
Set the range of latitudes to be matched.
Implemented in dballe::core::Query.
|
pure virtual |
Set the level to be matched.
Implemented in dballe::core::Query.
|
pure virtual |
Set the range of longitudes to be matched.
Implemented in dballe::core::Query.
|
pure virtual |
Set the level to be matched.
Implemented in dballe::core::Query.