Skip to content

v0.2.53..v0.2.54 changeset ElementCriterion.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/ElementCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/ElementCriterion.h
index 39641b7..15f8346 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/ElementCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/ElementCriterion.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 ELEMENTCRITERION_H
 #define ELEMENTCRITERION_H
@@ -74,7 +74,10 @@ public:
    * Returns a string uniquely identifying the criterion. May contain information about the data
    * contained within the criterion.
    *
-   * @return a descriptive string
+   * @return a string
+   * @todo Many of the crits are only returning their class names in toString(). So, we may want to
+   * add getClassName() here to mimic OsmMapOperation and ElementVisitor and make toString()
+   * optional.
    */
   virtual QString toString() const = 0;
 };
Clone this wiki locally