|
librime 1.2
Rime Input Method Engine, the core library
|
#include <contextual_translation.h>


Public Member Functions | |
| ContextualTranslation (an< Translation > translation, string input, string preceding_text, Grammar *grammar) | |
| Public Member Functions inherited from rime::PrefetchTranslation | |
| PrefetchTranslation (an< Translation > translation) | |
| 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 |
Protected Member Functions | |
| bool | Replenish () override |
| Protected Member Functions inherited from rime::Translation | |
| void | set_exhausted (bool exhausted) |
Additional Inherited Members | |
| Protected Attributes inherited from rime::PrefetchTranslation | |
| an< Translation > | translation_ |
| CandidateQueue | cache_ |
|
inline |
|
overrideprotectedvirtual |
Reimplemented from rime::PrefetchTranslation.