Skip to content

v0.2.48..v0.2.49 changeset ElementVisitor.h

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/elements/ElementVisitor.h b/hoot-core/src/main/cpp/hoot/core/elements/ElementVisitor.h
index ff84f5a..e00c25b 100644
--- a/hoot-core/src/main/cpp/hoot/core/elements/ElementVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/elements/ElementVisitor.h
@@ -40,19 +40,20 @@ namespace hoot
 /**
  * Visits elements in a collection in a way that they can be modified.
  *
- * This allows for streaming I/O if not combined with an OsmMapConsumer.  Favor this override
+ * This allows for streaming I/O if not combined with an OsmMapConsumer.  Favor this over
  * OsmMapOperation when you do not need the entire input map in memory at once (visitor logic
- * does not require it and you are not running in the conflate pipeline).
+ * does not require it and you are not running in the conflate pipeline where all map data must
+ * be read into memory).
  */
 class ElementVisitor : public ApiEntityInfo
 {
 public:
 
+  static std::string className() { return "hoot::ElementVisitor"; }
+
   ElementVisitor() : _numAffected(0), _numProcessed(0) {}
   virtual ~ElementVisitor() {}
 
-  static std::string className() { return "hoot::ElementVisitor"; }
-
   virtual void visit(const ElementPtr& e) = 0;
 
 protected:
Clone this wiki locally