librime: rime::UniquifiedTranslation Class Reference

| librime 1.2 Rime Input Method Engine, the core library

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

## Public Member Functions
| UniquifiedTranslation (an< Translation > translation, CandidateList *candidates)
virtual bool | Next ()
Public Member Functions inherited from rime::CacheTranslation
| CacheTranslation (an< Translation > translation)
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 | Uniquify ()
Protected Member Functions inherited from rime::Translation
void | set_exhausted (bool exhausted)

## Protected Attributes
an< Translation > | translation_
CandidateList * | candidates_
Protected Attributes inherited from rime::CacheTranslation
an< Translation > | translation_
an< Candidate > | cache_

## Constructor & Destructor Documentation

## ◆ UniquifiedTranslation()

rime::UniquifiedTranslation::UniquifiedTranslation | ( | an< Translation > | translation,
|  | CandidateList * | candidates )
| inline

## Member Function Documentation

## ◆ Next()

bool rime::UniquifiedTranslation::Next | ( |  | ) |
| virtual

Reimplemented from rime::CacheTranslation.

## ◆ Uniquify()

bool rime::UniquifiedTranslation::Uniquify | ( |  | ) |
| protected

## Member Data Documentation

## ◆ candidates_

CandidateList* rime::UniquifiedTranslation::candidates_
| protected

## ◆ translation_

an<Translation> rime::UniquifiedTranslation::translation_
| protected

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

- uniquifier.cc