v0.2.53..v0.2.54 changeset BuildingOutlineRemoveOp.h
Garret Voltz edited this page Mar 31, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/ops/BuildingOutlineRemoveOp.h b/hoot-core/src/main/cpp/hoot/core/ops/BuildingOutlineRemoveOp.h
index ead2557..d50aaf3 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/BuildingOutlineRemoveOp.h
+++ b/hoot-core/src/main/cpp/hoot/core/ops/BuildingOutlineRemoveOp.h
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2015, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
#ifndef BUILDINGOUTLINEREMOVEOP_H
#define BUILDINGOUTLINEREMOVEOP_H
@@ -30,7 +30,7 @@
// Hoot
#include <hoot/core/ops/OsmMapOperation.h>
#include <hoot/core/io/Serializable.h>
-#include <hoot/core/info/OperationStatusInfo.h>
+#include <hoot/core/criterion/BuildingCriterion.h>
// Standard
#include <set>
@@ -43,8 +43,7 @@ class Relation;
/**
* Goes through all building relations and removes features with the outline role.
*/
-class BuildingOutlineRemoveOp : public OsmMapOperation, public Serializable,
- public OperationStatusInfo
+class BuildingOutlineRemoveOp : public OsmMapOperation, public Serializable
{
public:
@@ -67,6 +66,12 @@ public:
virtual QString getDescription() const override { return "Removes the outline around buildings"; }
+ /**
+ * @see FilteredByCriteria
+ */
+ virtual QStringList getCriteria() const
+ { return QStringList(QString::fromStdString(BuildingCriterion::className())); }
+
private:
std::shared_ptr<OsmMap> _map;