JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
ToStringVisitor.h
Go to the documentation of this file.
1 //
2 // Created by Nico Schäfer on 6/26/17.
3 //
4 
5 #ifndef JODA_TOSTRINGVISITOR_H
6 #define JODA_TOSTRINGVISITOR_H
7 
8 #include "AndPredicate.h"
9 #include "ComparePredicate.h"
10 #include "EqualizePredicate.h"
11 #include "NegatePredicate.h"
12 #include "OrPredicate.h"
13 #include "PredicateVisitor.h"
14 
15 namespace joda::query {
20  public:
21  void visit(AndPredicate *e) override;
22  void visit(NegatePredicate *e) override;
23  void visit(OrPredicate *e) override;
24  void visit(EqualizePredicate *e) override;
25  void visit(ComparePredicate *e) override;
26  void visit(ValToPredicate *e) override;
27 
33  std::string popString();
34 
40  std::string getString();
41 
42  private:
43  std::string str = "";
44 };
45 } // namespace joda::query
46 
47 #endif // JODA_TOSTRINGVISITOR_H
Definition: AndPredicate.h:13
Definition: ComparePredicate.h:25
Definition: EqualizePredicate.h:25
Definition: NegatePredicate.h:15
Definition: OrPredicate.h:15
Definition: PredicateVisitor.h:29
Definition: ToStringVisitor.h:19
std::string getString()
Definition: ToStringVisitor.cpp:19
std::string popString()
Definition: ToStringVisitor.cpp:13
void visit(AndPredicate *e) override
Definition: ToStringVisitor.cpp:21
Definition: ValToPredicate.h:17
Definition: AttributeStatAggregator.h:12