-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.49..v0.2.50 changeset TagContainsCriterion.h
Garret Voltz edited this page Nov 6, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/TagContainsCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/TagContainsCriterion.h
index 29a8fda..d6dc525 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/TagContainsCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/TagContainsCriterion.h
@@ -40,8 +40,6 @@ namespace hoot
/**
* Identifies elements by tag key and tag value substring
- *
- * TODO: handle case sensitivity as an option
*/
class TagContainsCriterion : public ElementCriterion, public Configurable
{
@@ -69,6 +67,7 @@ public:
{ return "Identifies elements having a particular tag key and tag value substring"; }
void setKvps(const QStringList kvps);
+ void setCaseSensitive(bool caseSens) { _caseSensitive = caseSens; }
virtual QString toString() const override;
@@ -76,6 +75,7 @@ private:
QStringList _keys;
QStringList _valueSubstrings;
+ bool _caseSensitive;
};
}