|
int WordListOne::Open |
( |
const String & |
filename, |
|
|
int |
mode | |
|
) |
| | [virtual] |
Reimplemented from WordList.
Definition at line 78 of file WordListOne.cc.
References Configuration::Boolean(), WordDB::CacheCompare(), WordDB::CacheOn(), WordDBCompress::CmprInfo(), WordList::compressor, WordList::context, db, DB_BTREE, DB_COMPRESS, DB_CREATE, DB_ENV_CMPR, DB_RDONLY, WordDBInfo::dbenv, dead, dict, WordList::filename, WordList::flags, __db_env::flags, WordContext::GetConfiguration(), WordContext::GetDBInfo(), WordList::isopen, WordMeta::Lock(), meta, Meta(), __db_env::mp_cmpr_info, NOTOK, OK, WordDead::Open(), WordMeta::Open(), WordDict::Open(), WordDB::Open(), Pagesize(), WordDB::set_bt_compare(), WordDB::set_pagesize(), WordList::SetCompressor(), WordMeta::Unlock(), Configuration::Value(), WORD_DB_CACHE_MINIMUM, word_db_cmp(), WORD_DB_INDEX, and word_db_qcmp().
Referenced by WordListMulti::AllRef(), WordListMulti::Merge(), WordListMulti::Open(), WordListMulti::Override(), and WordListMulti::Size().
|