v0.2.53..v0.2.54 changeset ImplicitPoiPolygonTypeTagger.h
Garret Voltz edited this page Mar 31, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/ImplicitPoiPolygonTypeTagger.h b/hoot-core/src/main/cpp/hoot/core/visitors/ImplicitPoiPolygonTypeTagger.h
index 1cc74cd..a4a200d 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/ImplicitPoiPolygonTypeTagger.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/ImplicitPoiPolygonTypeTagger.h
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
#ifndef IMPLICIT_POI_POLYGON_TYPE_TAGGER_H
#define IMPLICIT_POI_POLYGON_TYPE_TAGGER_H
@@ -30,7 +30,6 @@
// hoot
#include <hoot/core/visitors/ImplicitPoiTypeTagger.h>
#include <hoot/core/criterion/poi-polygon/PoiPolygonPolyCriterion.h>
-#include <hoot/core/info/OperationStatusInfo.h>
namespace hoot
{
@@ -38,7 +37,7 @@ namespace hoot
/**
* Adds tags implicitly derived from feature names to POIs and polygons
*/
-class ImplicitPoiPolygonTypeTagger : public ImplicitPoiTypeTagger, public OperationStatusInfo
+class ImplicitPoiPolygonTypeTagger : public ImplicitPoiTypeTagger
{
public:
@@ -55,6 +54,8 @@ public:
virtual QString getCompletedStatusMessage() const
{ return "Added " + QString::number(_numAffected) + " tags to POIs and polygons"; }
+ virtual std::string getClassName() const { return className(); }
+
protected:
virtual bool _visitElement(const ElementPtr& e);