summaryrefslogtreecommitdiffstats
path: root/src/storage/phrase_large_table2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/phrase_large_table2.h')
-rw-r--r--src/storage/phrase_large_table2.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/storage/phrase_large_table2.h b/src/storage/phrase_large_table2.h
index c853f48..74e7b3c 100644
--- a/src/storage/phrase_large_table2.h
+++ b/src/storage/phrase_large_table2.h
@@ -55,6 +55,9 @@ public:
int add_index(int phrase_length, /* in */ ucs4_t phrase[], /* in */ phrase_token_t token);
int remove_index(int phrase_length, /* in */ ucs4_t phrase[], /* in */ phrase_token_t token);
+
+ /* mask out method */
+ bool mask_out(phrase_token_t mask, phrase_token_t value);
};
@@ -106,6 +109,11 @@ public:
int remove_index(int phrase_length, /* in */ ucs4_t phrase[], /* in */ phrase_token_t token) {
return m_bitmap_table.remove_index(phrase_length, phrase, token);
}
+
+ /* mask out method */
+ bool mask_out(phrase_token_t mask, phrase_token_t value) {
+ return m_bitmap_table.mask_out(mask, value);
+ }
};