![]() |
JODA
0.13.1 (59b41972)
JSON On-Demand Analysis
|
#include <NegatePredicate.h>
Public Member Functions | |
| NegatePredicate (std::unique_ptr< Predicate > pred) | |
| bool | check (const RapidJsonDocument &val) override |
| bool | isCompatible (Predicate *other) override |
| virtual std::string | getType () override |
| void | accept (class PredicateVisitor &v) override |
| void | setPredicate (std::unique_ptr< Predicate > pred) |
| void | subAccept (class PredicateVisitor &v) |
Public Member Functions inherited from joda::query::Predicate | |
| virtual | ~Predicate ()=default |
Static Public Attributes | |
| static const std::string | type = "NegatePredicate" |
Static Public Attributes inherited from joda::query::Predicate | |
| static const std::string | type = "Predicate" |
Protected Attributes | |
| std::unique_ptr< Predicate > | pred |
Friends | |
| class | CNFPredicateVisitor |
| class | CNFtoListPredicateVisitor |
| class | CopyPredicateVisitor |
| class | CrackPredicateVisitor |
Negates the result of the subpredicate
|
explicit |
|
overridevirtual |
Uses the given PredicateVisitor to traverse the predicate tree with the visitor pattern.
| v | the visitor to use. |
Implements joda::query::Predicate.
|
overridevirtual |
Checks if a given document fulfills the given predicate
| val | the document to check |
Implements joda::query::Predicate.
|
overridevirtual |
|
overridevirtual |
Checks if two predicates are semantically equivalent
Reimplemented from joda::query::Predicate.
| void joda::query::NegatePredicate::setPredicate | ( | std::unique_ptr< Predicate > | pred | ) |
| void joda::query::NegatePredicate::subAccept | ( | class PredicateVisitor & | v | ) |
|
friend |
|
friend |
|
friend |
|
friend |
|
protected |
|
static |