Skip to content

v0.2.53..v0.2.54 changeset NodesVisitor.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/NodesVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/NodesVisitor.h
index b2da84b..487676b 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/NodesVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/NodesVisitor.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2016, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2016, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #ifndef NODESVISITOR_H
 #define NODESVISITOR_H
@@ -41,12 +41,16 @@ class NodesVisitor : public ConstElementVisitor
 {
 public:
 
+  static std::string className() { return "hoot::NodesVisitor"; }
+
   NodesVisitor(QList<ConstNodePtr>& n) : _n(n) {}
 
   virtual void visit(const std::shared_ptr<const Element>& e);
 
   virtual QString getDescription() const { return "Collects the nodes visited"; }
 
+  virtual std::string getClassName() const { return className(); }
+
 private:
 
   QList<ConstNodePtr>& _n;
Clone this wiki locally