Skip to content

v0.2.53..v0.2.54 changeset ElementToRelationMap.cpp

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/index/ElementToRelationMap.cpp b/hoot-core/src/main/cpp/hoot/core/index/ElementToRelationMap.cpp
index ab4699f..ab417ac 100644
--- a/hoot-core/src/main/cpp/hoot/core/index/ElementToRelationMap.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/index/ElementToRelationMap.cpp
@@ -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/)
  */
 #include "ElementToRelationMap.h"
 
@@ -69,6 +69,7 @@ void ElementToRelationMap::addRelation(const OsmMap& map,
     }
 
     virtual QString getDescription() const { return ""; }
+    virtual std::string getClassName() const { return ""; }
   };
 
   AddMemberVisitor filter(_mapping, r->getId());
@@ -116,6 +117,7 @@ void ElementToRelationMap::removeRelation(const OsmMap& map,
     }
 
     virtual QString getDescription() const { return ""; }
+    virtual std::string getClassName() const { return ""; }
 
     virtual void visit(const ConstElementPtr& e)
     {
@@ -147,6 +149,7 @@ bool ElementToRelationMap::validate(const OsmMap& map) const
     }
 
     virtual QString getDescription() const { return ""; }
+    virtual std::string getClassName() const { return ""; }
 
     virtual void visit(const ConstElementPtr& e)
     {
@@ -178,6 +181,7 @@ bool ElementToRelationMap::validate(const OsmMap& map) const
     }
 
     virtual QString getDescription() const { return ""; }
+    virtual std::string getClassName() const { return ""; }
 
     bool containsRecursive(const ConstRelationPtr& r, ElementId eid)
     {
Clone this wiki locally