librime: rime::ReverseLookupTranslation Class Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Member Functions | Protected Attributes | List of all members
rime::ReverseLookupTranslation Class Reference
Inheritance diagram for rime::ReverseLookupTranslation:
[legend]
Collaboration diagram for rime::ReverseLookupTranslation:
[legend]

## Public Member Functions
| ReverseLookupTranslation (ReverseLookupDictionary *dict, TranslatorOptions *options, const string &input, size_t start, size_t end, const string &preedit, DictEntryIterator &&iter, bool quality)
virtual an< Candidate > | Peek ()
virtual int | Compare (an< Translation > other, const CandidateList &candidates)
Public Member Functions inherited from rime::TableTranslation
| TableTranslation (TranslatorOptions *options, const Language *language, const string &input, size_t start, size_t end, const string &preedit, DictEntryIterator &&iter={}, UserDictEntryIterator &&uter={})
virtual bool | Next ()
Public Member Functions inherited from rime::Translation
| Translation ()=default
virtual | ~Translation ()=default
bool | exhausted () const

## Protected Attributes
ReverseLookupDictionary * | dict_
TranslatorOptions * | options_
bool | quality_
Protected Attributes inherited from rime::TableTranslation
TranslatorOptions * | options_
const Language * | language_
string | input_
size_t | start_
size_t | end_
string | preedit_
DictEntryIterator | iter_
UserDictEntryIterator | uter_

## Additional Inherited Members
Protected Member Functions inherited from rime::TableTranslation
virtual bool | FetchMoreUserPhrases ()
virtual bool | FetchMoreTableEntries ()
bool | CheckEmpty ()
bool | PreferUserPhrase ()
an< DictEntry > | PreferredEntry (bool prefer_user_phrase)
Protected Member Functions inherited from rime::Translation
void | set_exhausted (bool exhausted)

## Constructor & Destructor Documentation

## ◆ ReverseLookupTranslation()

rime::ReverseLookupTranslation::ReverseLookupTranslation | ( | ReverseLookupDictionary * | dict,
|  | TranslatorOptions * | options,
|  | const string & | input,
|  | size_t | start,
|  | size_t | end,
|  | const string & | preedit,
|  | DictEntryIterator && | iter,
|  | bool | quality )
| inline

## Member Function Documentation

## ◆ Compare()

int rime::ReverseLookupTranslation::Compare | ( | an< Translation > | other,
|  | const CandidateList & | candidates )
| virtual

Reimplemented from rime::Translation.

## ◆ Peek()

an< Candidate > rime::ReverseLookupTranslation::Peek | ( |  | ) |
| virtual

Reimplemented from rime::TableTranslation.

## Member Data Documentation

## ◆ dict_

ReverseLookupDictionary* rime::ReverseLookupTranslation::dict_
| protected

## ◆ options_

TranslatorOptions* rime::ReverseLookupTranslation::options_
| protected

## ◆ quality_

bool rime::ReverseLookupTranslation::quality_
| protected

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

- reverse_lookup_translator.cc