librime: rime::LazyTableTranslation Class Reference

| librime 1.2 Rime Input Method Engine, the core library

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

## Public Member Functions
| LazyTableTranslation (TableTranslator *translator, const string &input, size_t start, size_t end, const string &preedit, bool enable_user_dict)
bool | FetchUserPhrases (TableTranslator *translator)
virtual bool | FetchMoreUserPhrases ()
virtual bool | FetchMoreTableEntries ()
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 ()
virtual an< Candidate > | Peek ()
Public Member Functions inherited from rime::Translation
| Translation ()=default
virtual | ~Translation ()=default
virtual int | Compare (an< Translation > other, const CandidateList &candidates)
bool | exhausted () const

## Static Public Attributes
static const size_t | kInitialSearchLimit = 10
static const size_t | kExpandingFactor = 10

## Additional Inherited Members
Protected Member Functions inherited from rime::TableTranslation
bool | CheckEmpty ()
bool | PreferUserPhrase ()
an< DictEntry > | PreferredEntry (bool prefer_user_phrase)
Protected Member Functions inherited from rime::Translation
void | set_exhausted (bool exhausted)
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_

## Constructor & Destructor Documentation

## ◆ LazyTableTranslation()

rime::LazyTableTranslation::LazyTableTranslation | ( | TableTranslator * | translator,
|  | const string & | input,
|  | size_t | start,
|  | size_t | end,
|  | const string & | preedit,
|  | bool | enable_user_dict )

## Member Function Documentation

## ◆ FetchMoreTableEntries()

bool rime::LazyTableTranslation::FetchMoreTableEntries | ( |  | ) |
| virtual

Reimplemented from rime::TableTranslation.

## ◆ FetchMoreUserPhrases()

bool rime::LazyTableTranslation::FetchMoreUserPhrases | ( |  | ) |
| virtual

Reimplemented from rime::TableTranslation.

## ◆ FetchUserPhrases()

bool rime::LazyTableTranslation::FetchUserPhrases | ( | TableTranslator * | translator | ) |

## Member Data Documentation

## ◆ kExpandingFactor

const size_t rime::LazyTableTranslation::kExpandingFactor = 10
| static

## ◆ kInitialSearchLimit

const size_t rime::LazyTableTranslation::kInitialSearchLimit = 10
| static

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

- table_translator.cc