Open Chinese Convert: opencc::BinaryDict Class Reference

Open Chinese Convert 1.0.2 A project for conversion between Traditional and Simplified Chinese

- Main Page
- Modules
- Classes
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Functions Typedefs Modules
Public Member Functions | Static Public Member Functions | List of all members
opencc::BinaryDict Class Reference
OpenCC C++ Comprehensive API

Binary dictionary for faster deserialization. More...

`#include <BinaryDict.hpp>`

Inheritance diagram for opencc::BinaryDict:

## Public Member Functions
| BinaryDict (const LexiconPtr &_lexicon)
virtual void | SerializeToFile (FILE *fp) const
| Serializes the dictionary and writes in to a file.
const LexiconPtr & | GetLexicon () const
size_t | KeyMaxLength () const
Public Member Functions inherited from opencc::SerializableDict
virtual void | SerializeToFile (const string &fileName) const
| Serializes the dictionary and writes in to a file.

## Static Public Member Functions
static BinaryDictPtr | NewFromFile (FILE *fp)
Static Public Member Functions inherited from opencc::SerializableDict
template<typename DICT >
static bool | TryLoadFromFile (const string &fileName, std::shared_ptr< DICT > *dict)
template<typename DICT >
static std::shared_ptr< DICT > | NewFromFile (const string &fileName)

## Detailed Description

Binary dictionary for faster deserialization.

The documentation for this class was generated from the following files:

- BinaryDict.hpp
- BinaryDict.cpp