librime: rime::CharsetFilterTranslation 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::CharsetFilterTranslation Class Reference

`#include <charset_filter.h>`

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

## Public Member Functions
| CharsetFilterTranslation (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
virtual bool | FilterCandidate (an< Candidate > cand)
bool | LocateNextCandidate ()
Protected Member Functions inherited from rime::Translation
void | set_exhausted (bool exhausted)

## Protected Attributes
an< Translation > | translation_

## Constructor & Destructor Documentation

## ◆ CharsetFilterTranslation()

rime::CharsetFilterTranslation::CharsetFilterTranslation | ( | an< Translation > | translation | ) |
| explicit

## Member Function Documentation

## ◆ FilterCandidate()

bool rime::CharsetFilterTranslation::FilterCandidate | ( | an< Candidate > | cand | ) |
| protectedvirtual

## ◆ LocateNextCandidate()

bool rime::CharsetFilterTranslation::LocateNextCandidate | ( |  | ) |
| protected

## ◆ Next()

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

Implements rime::Translation.

## ◆ Peek()

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

Implements rime::Translation.

## Member Data Documentation

## ◆ translation_

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

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

- charset_filter.h
- charset_filter.cc