JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Public Member Functions
joda::query::ToStringVisitor Class Reference

#include <ToStringVisitor.h>

Inheritance diagram for joda::query::ToStringVisitor:
[legend]
Collaboration diagram for joda::query::ToStringVisitor:
[legend]

Public Member Functions

void visit (AndPredicate *e) override
 
void visit (NegatePredicate *e) override
 
void visit (OrPredicate *e) override
 
void visit (EqualizePredicate *e) override
 
void visit (ComparePredicate *e) override
 
void visit (ValToPredicate *e) override
 
std::string popString ()
 
std::string getString ()
 

Detailed Description

Visitor creating a string representation of the predicates

Member Function Documentation

◆ getString()

std::string joda::query::ToStringVisitor::getString ( )

Returns the created string representation and keeps the string representation for repeated retrieval

Returns

◆ popString()

std::string joda::query::ToStringVisitor::popString ( )

Returns the created string representation and clears the visitor for repeated usage

Returns
Here is the caller graph for this function:

◆ visit() [1/6]

void joda::query::ToStringVisitor::visit ( AndPredicate e)
overridevirtual

Visits an AndPredicate

Parameters
ePredicate to visit

Implements joda::query::PredicateVisitor.

Here is the call graph for this function:

◆ visit() [2/6]

void joda::query::ToStringVisitor::visit ( ComparePredicate e)
overridevirtual

Visits an ComparePredicate

Parameters
ePredicate to visit

Implements joda::query::PredicateVisitor.

Here is the call graph for this function:

◆ visit() [3/6]

void joda::query::ToStringVisitor::visit ( EqualizePredicate e)
overridevirtual

Visits an EqualizePredicate

Parameters
ePredicate to visit

Implements joda::query::PredicateVisitor.

Here is the call graph for this function:

◆ visit() [4/6]

void joda::query::ToStringVisitor::visit ( NegatePredicate e)
overridevirtual

Visits an NegatePredicate

Parameters
ePredicate to visit

Implements joda::query::PredicateVisitor.

Here is the call graph for this function:

◆ visit() [5/6]

void joda::query::ToStringVisitor::visit ( OrPredicate e)
overridevirtual

Visits an OrPredicate

Parameters
ePredicate to visit

Implements joda::query::PredicateVisitor.

Here is the call graph for this function:

◆ visit() [6/6]

void joda::query::ToStringVisitor::visit ( ValToPredicate e)
overridevirtual

Visits an ValToPredicate

Parameters
ePredicate to visit

Implements joda::query::PredicateVisitor.

Here is the call graph for this function:

The documentation for this class was generated from the following files: