diff options
Diffstat (limited to 'lib/lemma.cpp')
| -rw-r--r-- | lib/lemma.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
| diff --git a/lib/lemma.cpp b/lib/lemma.cpp index f9e9fcc..7fdc360 100644 --- a/lib/lemma.cpp +++ b/lib/lemma.cpp | |||
| @@ -21,6 +21,11 @@ namespace verbly { | |||
| 21 | return (lemma::formJoin %= joinCondition) && (lemma::inflectionCategory == check.getCategory()); | 21 | return (lemma::formJoin %= joinCondition) && (lemma::inflectionCategory == check.getCategory()); |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | lemma::inflection_field::operator filter() const | ||
| 25 | { | ||
| 26 | return (lemma::inflectionCategory == category_); | ||
| 27 | } | ||
| 28 | |||
| 24 | lemma::lemma(const database& db, sqlite3_stmt* row) : db_(&db), valid_(true) | 29 | lemma::lemma(const database& db, sqlite3_stmt* row) : db_(&db), valid_(true) |
| 25 | { | 30 | { |
| 26 | id_ = sqlite3_column_int(row, 0); | 31 | id_ = sqlite3_column_int(row, 0); |
