diff options
Diffstat (limited to 'lib/field.cpp')
-rw-r--r-- | lib/field.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/field.cpp b/lib/field.cpp index 5b51ef4..ad6d958 100644 --- a/lib/field.cpp +++ b/lib/field.cpp | |||
@@ -53,6 +53,26 @@ namespace verbly { | |||
53 | return filter(*this, filter::comparison::int_equals, static_cast<int>(value)); | 53 | return filter(*this, filter::comparison::int_equals, static_cast<int>(value)); |
54 | } | 54 | } |
55 | 55 | ||
56 | filter field::operator!=(part_of_speech value) const | ||
57 | { | ||
58 | return filter(*this, filter::comparison::int_does_not_equal, static_cast<int>(value)); | ||
59 | } | ||
60 | |||
61 | filter field::operator!=(positioning value) const | ||
62 | { | ||
63 | return filter(*this, filter::comparison::int_does_not_equal, static_cast<int>(value)); | ||
64 | } | ||
65 | |||
66 | filter field::operator!=(inflection value) const | ||
67 | { | ||
68 | return filter(*this, filter::comparison::int_does_not_equal, static_cast<int>(value)); | ||
69 | } | ||
70 | |||
71 | filter field::operator!=(part_type value) const | ||
72 | { | ||
73 | return filter(*this, filter::comparison::int_does_not_equal, static_cast<int>(value)); | ||
74 | } | ||
75 | |||
56 | filter field::operator==(bool value) const | 76 | filter field::operator==(bool value) const |
57 | { | 77 | { |
58 | return filter(*this, filter::comparison::boolean_equals, value); | 78 | return filter(*this, filter::comparison::boolean_equals, value); |