librime: rime::UniqueTranslation Class Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Member Functions | Protected Attributes | List of all members
rime::UniqueTranslation Class Reference

`#include <translation.h>`

Inheritance diagram for rime::UniqueTranslation:
[legend]
Collaboration diagram for rime::UniqueTranslation:
[legend]

## Public Member Functions
| UniqueTranslation (an< Candidate > candidate)
bool | Next ()
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 Attributes
an< Candidate > | candidate_

## Additional Inherited Members
Protected Member Functions inherited from rime::Translation
void | set_exhausted (bool exhausted)

## Constructor & Destructor Documentation

## ◆ UniqueTranslation()

rime::UniqueTranslation::UniqueTranslation | ( | an< Candidate > | candidate | ) |
| inline

## Member Function Documentation

## ◆ Next()

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

Implements rime::Translation.

## ◆ Peek()

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

Implements rime::Translation.

## Member Data Documentation

## ◆ candidate_

an<Candidate> rime::UniqueTranslation::candidate_
| protected

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

- translation.h
- translation.cc