diff options
Diffstat (limited to 'lib/filter.h')
-rw-r--r-- | lib/filter.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/filter.h b/lib/filter.h index dcadf95..a12a822 100644 --- a/lib/filter.h +++ b/lib/filter.h | |||
@@ -34,7 +34,9 @@ namespace verbly { | |||
34 | matches, | 34 | matches, |
35 | does_not_match, | 35 | does_not_match, |
36 | hierarchally_matches, | 36 | hierarchally_matches, |
37 | does_not_hierarchally_match | 37 | does_not_hierarchally_match, |
38 | field_equals, | ||
39 | field_does_not_equal | ||
38 | }; | 40 | }; |
39 | 41 | ||
40 | // Copy and move constructors | 42 | // Copy and move constructors |
@@ -72,6 +74,7 @@ namespace verbly { | |||
72 | filter(field filterField, comparison filterType, bool filterValue); | 74 | filter(field filterField, comparison filterType, bool filterValue); |
73 | filter(field filterField, comparison filterType); | 75 | filter(field filterField, comparison filterType); |
74 | filter(field joinOn, comparison filterType, filter joinCondition); | 76 | filter(field joinOn, comparison filterType, filter joinCondition); |
77 | filter(field filterField, comparison filterType, field compareField); | ||
75 | 78 | ||
76 | field getField() const; | 79 | field getField() const; |
77 | 80 | ||
@@ -85,6 +88,8 @@ namespace verbly { | |||
85 | 88 | ||
86 | bool getBooleanArgument() const; | 89 | bool getBooleanArgument() const; |
87 | 90 | ||
91 | field getCompareField() const; | ||
92 | |||
88 | // Group | 93 | // Group |
89 | 94 | ||
90 | explicit filter(bool orlogic); | 95 | explicit filter(bool orlogic); |
@@ -129,6 +134,7 @@ namespace verbly { | |||
129 | std::string stringValue; | 134 | std::string stringValue; |
130 | int intValue; | 135 | int intValue; |
131 | bool boolValue; | 136 | bool boolValue; |
137 | field compareField; | ||
132 | }; | 138 | }; |
133 | } singleton_; | 139 | } singleton_; |
134 | struct { | 140 | struct { |