Skip to content

v0.2.52..v0.2.53 changeset Match.h

Garret Voltz edited this page Feb 12, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/conflate/matching/Match.h b/hoot-core/src/main/cpp/hoot/core/conflate/matching/Match.h
index 28ba578..1f386f5 100644
--- a/hoot-core/src/main/cpp/hoot/core/conflate/matching/Match.h
+++ b/hoot-core/src/main/cpp/hoot/core/conflate/matching/Match.h
@@ -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/)
  */
 #ifndef MATCH_H
 #define MATCH_H
@@ -79,6 +79,8 @@ public:
    * Since this is likely the same name returned over and over it is suggested you use a static
    * QString to return the name. This avoid constructing multiple duplicate QStrings (possibly
    * lots of duplicates).
+   *
+   * @todo Should this be static?
    */
   virtual QString getMatchName() const = 0;
 
@@ -141,6 +143,14 @@ public:
 
   virtual QString getDescription() const = 0;
 
+  /**
+   * Determines if this matches equals another match
+   *
+   * @param other the match being compared with
+   * @return true if this matches matches the comparision match; false otherwise
+   */
+  bool operator==(const Match& other) const;
+
 protected:
 
   /*
Clone this wiki locally