Open Chinese Convert
1.1.1
A project for conversion between Traditional and Simplified Chinese
|
Storage of all entries. More...
#include <Lexicon.hpp>
Public Member Functions | |
Lexicon (std::vector< std::unique_ptr< DictEntry >> entries_) | |
Lexicon (const Lexicon &)=delete | |
Lexicon & | operator= (const Lexicon &)=delete |
void | Add (DictEntry *entry) |
void | Add (std::unique_ptr< DictEntry > entry) |
void | Sort () |
bool | IsSorted () |
const DictEntry * | At (size_t index) const |
size_t | Length () const |
std::vector< std::unique_ptr< DictEntry > >::const_iterator | begin () const |
std::vector< std::unique_ptr< DictEntry > >::const_iterator | end () const |
Storage of all entries.