-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.54..v0.2.55 changeset GeometryTypeCriterion.h
Garret Voltz edited this page Aug 14, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/GeometryTypeCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/GeometryTypeCriterion.h
index 7db0a28..df21529 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/GeometryTypeCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/GeometryTypeCriterion.h
@@ -58,10 +58,18 @@ public:
virtual GeometryType getGeometryType() const = 0;
/**
- * Returns all GeometryTypeCriterion class names for a given geometry type
+ * Returns all GeometryTypeCriterion class names
+ *
+ * @return a list of class names
+ */
+ static QStringList getCriterionClassNames();
+
+ /**
+ * Returns all GeometryTypeCriterion class names for a given geometry type or all
+ * GeometryTypeCriterion class names if GeometryType::Unknown is passed in as the geometry type
*
* @param geometryType geometry type
- * @return a list of classes inheriting from GeometryTypeCriterion
+ * @return a list of class names
*/
static QStringList getCriterionClassNamesByGeometryType(const GeometryType& geometryType);
@@ -82,6 +90,8 @@ public:
static GeometryType typeFromString(const QString& geometryTypeStr);
};
+typedef std::shared_ptr<GeometryTypeCriterion> GeometryTypeCriterionPtr;
+
}
#endif // GEOMETRY_TYPE_CRITERION_H