librime: rime::UnionTranslation Class Reference

| librime 1.2 Rime Input Method Engine, the core library

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

`#include <translation.h>`

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

## Public Member Functions
| UnionTranslation ()
bool | Next ()
an< Candidate > | Peek ()
UnionTranslation & | operator+= (an< Translation > t)
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
list< of< Translation > > | translations_

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

## Constructor & Destructor Documentation

## ◆ UnionTranslation()

rime::UnionTranslation::UnionTranslation | ( |  | ) |

## Member Function Documentation

## ◆ Next()

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

Implements rime::Translation.

## ◆ operator+=()

UnionTranslation & rime::UnionTranslation::operator+= | ( | an< Translation > | t | ) |

## ◆ Peek()

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

Implements rime::Translation.

## Member Data Documentation

## ◆ translations_

list<of<Translation> > rime::UnionTranslation::translations_
| protected

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

- translation.h
- translation.cc