5 #ifndef JODA_QUERY_STATE_H
6 #define JODA_QUERY_STATE_H
15 template <
typename Input>
18 std::vector<std::shared_ptr<joda::query::Query>>
q{};
22 inline queryState() {
q = std::make_shared<joda::query::Query>(); }
24 template <
typename Input>
27 template <
typename Input>
30 template <
typename Input>
32 state.
q.emplace_back(std::move(
q));
35 std::shared_ptr<joda::query::Query>
q;
42 std::pair<stackMod, std::vector<std::unique_ptr<joda::query::Predicate>>>>
Comparison
Definition: Query_State.h:38
@ LTE
Definition: Query_State.h:38
@ GTE
Definition: Query_State.h:38
@ NEQU
Definition: Query_State.h:38
@ GT
Definition: Query_State.h:38
@ NONE
Definition: Query_State.h:38
@ LT
Definition: Query_State.h:38
@ EQU
Definition: Query_State.h:38
stackMod
Definition: Query_State.h:39
@ BASE
Definition: Query_State.h:39
@ AND
Definition: Query_State.h:39
@ OR
Definition: Query_State.h:39
std::stack< std::pair< stackMod, std::vector< std::unique_ptr< joda::query::Predicate > > > > predStack
Definition: Query_State.h:43
Definition: Query_State.h:12
void success(const Input &in)
Definition: Query_State.h:16
std::vector< std::shared_ptr< joda::query::Query > > q
Definition: Query_State.h:18
queriesState()
Definition: Query_State.h:13
Definition: Query_State.h:21
queryState()
Definition: Query_State.h:22
std::shared_ptr< joda::query::Query > q
Definition: Query_State.h:33
void success(const Input &in, queriesState &state)
Definition: Query_State.h:31
queryState(const Input &in, queriesState &qs)
Definition: Query_State.h:25
void success(const Input &in)
Definition: Query_State.h:28