v0.2.48..v0.2.49 changeset NotCriterion.h
Garret Voltz edited this page Oct 2, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/NotCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/NotCriterion.h
index be8f96f..a3cf12f 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/NotCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/NotCriterion.h
@@ -29,11 +29,14 @@
#include <hoot/core/criterion/ElementCriterion.h>
#include <hoot/core/criterion/ElementCriterionConsumer.h>
+#include <hoot/core/util/Configurable.h>
+#include <hoot/core/elements/ConstOsmMapConsumer.h>
namespace hoot
{
-class NotCriterion : public ElementCriterion, public ElementCriterionConsumer
+class NotCriterion : public ElementCriterion, public ElementCriterionConsumer, public Configurable,
+ public ConstOsmMapConsumer
{
public:
@@ -55,6 +58,12 @@ public:
virtual QString getDescription() const { return "Negates a criterion"; }
+ virtual QString toString() const override;
+
+ virtual void setConfiguration(const Settings& conf);
+
+ virtual void setOsmMap(const OsmMap* map);
+
private:
ElementCriterionPtr _child;