Lumiera
0.pre.03
»edit your freedom«
|
#include "common/query.hpp"
Wrapper for indexing and ordering.
Defines a synthetic totally ordered index value. Implicitly convertible to and from Query instances.
Public Member Functions | |
QueryKey (Goal::QueryID id, lib::QueryText q) | |
QueryKey () | |
the empty or bottom query key | |
uint | degree () const |
string | display () const |
bool | empty () const |
string | getQueryString () const |
template<class RES > | |
operator Query< RES > () const | |
Friends | |
size_t | hash_value (QueryKey const &q) |
bool | operator< (QueryKey const &q1, QueryKey const &q2) |
bool | operator== (QueryKey const &q1, QueryKey const &q2) |
Private Attributes | |
lib::QueryText | def_ |
Goal::QueryID | id_ |