Open Chinese Convert  1.0.4
A project for conversion between Traditional and Simplified Chinese
 All Classes Functions Typedefs Modules
Public Member Functions | Static Public Member Functions | List of all members
opencc::SerializableDict Class Referenceabstract

Serializable dictionary interface. More...

#include <SerializableDict.hpp>

Inheritance diagram for opencc::SerializableDict:
opencc::BinaryDict opencc::DartsDict opencc::TextDict

Public Member Functions

virtual void SerializeToFile (FILE *fp) const =0
 Serializes the dictionary and writes in to a file.
 
virtual void SerializeToFile (const string &fileName) const
 Serializes the dictionary and writes in to a file.
 

Static Public Member Functions

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

Serializable dictionary interface.


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