v0.2.53..v0.2.54 changeset SetTagValueVisitor.h
Garret Voltz edited this page Mar 31, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/SetTagValueVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/SetTagValueVisitor.h
index a9e5344..faf03f6 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/SetTagValueVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/SetTagValueVisitor.h
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
#ifndef SETTAGVALUEVISITOR_H
#define SETTAGVALUEVISITOR_H
@@ -39,8 +39,7 @@ namespace hoot
* Sets tags on any elements with the specified key to the specified value or adds a new tag, if
* the tag doesn't exist on the element.
*/
-class SetTagValueVisitor : public MultipleCriterionConsumerVisitor, public Configurable,
- public OperationStatusInfo
+class SetTagValueVisitor : public MultipleCriterionConsumerVisitor, public Configurable
{
public:
@@ -67,6 +66,8 @@ public:
virtual QString getCompletedStatusMessage() const
{ return "Updated " + QString::number(_numAffected) + " tags"; }
+ virtual std::string getClassName() const { return className(); }
+
private:
QStringList _keys, _vals;