![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "common/query.hpp"
Helper for establishing, reworking and remolding queries.
Public Member Functions | |
| operator Query< RES > () | |
| when done with defining or reworking the query, the result may be retrieved by type conversion | |
| string | asKey () const |
| string | extractID (Symbol predicate) const |
| extract an ID term defined as (single) parameter for the given predicate. | |
| Builder & | removeTerm (Symbol termPredicate) |
| remove the first term from this query definition, which matches the given predicate symbol | |
| Builder & | withConditions (string additionalQueryPredicates) |
| Builder & | prependConditions (string additionalQueryPredicates) |
| Builder & | fromText (string queryPredicates) |
Friends | |
| class | Query< RES > |
Private Member Functions | |
| Builder (QueryID kind, string baseDef="") | |
Private Attributes | |
| QueryID | typeID_ |
| string | predicateForm_ |
|
inline |
|
inline |
Definition at line 482 of file query.hpp.
Referenced by DefsManager::operator()().
Here is the caller graph for this function:
|
inline |
extract an ID term defined as (single) parameter for the given predicate.
E.g. when using the query "foo(a), bar(b)", extractID("bar") returns "b"
| predicate | symbol of the predicate to investigate |
Definition at line 496 of file query.hpp.
References lib::query::extractID().
Here is the call graph for this function:remove the first term from this query definition, which matches the given predicate symbol
Definition at line 507 of file query.hpp.
References lib::query::removeTerm().
Referenced by steam::mobject::_mapping::build_corresponding_sourceQuery(), MockTable::fabricate_Sequence_on_demand(), MockTable::fabricate_Timeline_on_demand(), and LookupPreconfigured::try_special_case().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 514 of file query.hpp.
References lib::query::appendTerms().
Here is the call graph for this function:
|
inline |
Definition at line 522 of file query.hpp.
References lib::query::appendTerms().
Referenced by MockTable::fabricate_Sequence_on_demand(), and MockTable::fabricate_Timeline_on_demand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 530 of file query.hpp.
Referenced by QueryKey::operator Query< RES >().
Here is the caller graph for this function:
Collaboration diagram for Query< RES >::Builder: