Skip to content

v0.2.53..v0.2.54 changeset HighwayMatchCreator.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/conflate/highway/HighwayMatchCreator.h b/hoot-core/src/main/cpp/hoot/core/conflate/highway/HighwayMatchCreator.h
index 95953eb..f32907e 100644
--- a/hoot-core/src/main/cpp/hoot/core/conflate/highway/HighwayMatchCreator.h
+++ b/hoot-core/src/main/cpp/hoot/core/conflate/highway/HighwayMatchCreator.h
@@ -29,6 +29,7 @@
 
 // hoot
 #include <hoot/core/conflate/matching/MatchCreator.h>
+#include <hoot/core/criterion/HighwayCriterion.h>
 
 namespace hoot
 {
@@ -73,6 +74,12 @@ public:
 
   virtual QString getName() const { return QString::fromStdString(className()); }
 
+  /**
+   * @see FilteredByCriteria
+   */
+  virtual QStringList getCriteria() const
+  { return QStringList(QString::fromStdString(HighwayCriterion::className())); }
+
 private:
 
   std::shared_ptr<HighwayClassifier> _classifier;
Clone this wiki locally