![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
Utilities to support working with predicate queries. More...
Go to the source code of this file.
Utilities to support working with predicate queries.
Definition in file query-util.hpp.
Namespaces | |
| namespace | lib |
| Implementation namespace for support and library code. | |
| namespace | lib::query |
Functions | |
| void | normaliseID (string &id) |
| ensure standard format for a given id string. | |
| uint | countPred (const string &) |
| count the top-level predicates in the query string. | |
| string | extractID (Symbol sym, const string &termString) |
| (preliminary) helper: instead of really parsing and evaluating the terms, just do a regular expression match to extract the literal argument behind the given predicate symbol. | |
| string | removeTerm (Symbol sym, string &queryString) |
| (preliminary) helper: cut a term with the given symbol. | |
| bool | hasTerm (Symbol sym, string const &queryString) |
| string | appendTerms (string const &pred1, string const &pred2) |
| template<typename TY > | |
| const string | buildTypeID () |