diff options
author | Peng Wu <alexepico@gmail.com> | 2013-04-07 16:46:42 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-04-07 16:46:42 +0800 |
commit | 415ccb56e84167f11bead9a1ca27be2e5216ba10 (patch) | |
tree | 46ac28844daba5fd54247ee39efb72a9c00a22f3 /src/storage/table_info.h | |
parent | c7e3226b3090e7a54c16bcf0fe0b8f23f6cc2122 (diff) | |
download | libpinyin-415ccb56e84167f11bead9a1ca27be2e5216ba10.tar.gz libpinyin-415ccb56e84167f11bead9a1ca27be2e5216ba10.tar.xz libpinyin-415ccb56e84167f11bead9a1ca27be2e5216ba10.zip |
write table info
Diffstat (limited to 'src/storage/table_info.h')
-rw-r--r-- | src/storage/table_info.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/storage/table_info.h b/src/storage/table_info.h index dc1c474..8feee95 100644 --- a/src/storage/table_info.h +++ b/src/storage/table_info.h @@ -47,7 +47,7 @@ public: bool load(const char * filename); - pinyin_table_info_t * get_table_info(); + const pinyin_table_info_t * get_table_info(); gfloat get_lambda(); }; @@ -57,6 +57,9 @@ private: int m_binary_format_version; int m_model_data_version; +private: + void reset(); + public: UserTableInfo(); |