librime: single_char_filter.h Source File

| librime 1.2 Rime Input Method Engine, the core library

single_char_filter.h
Go to the documentation of this file.
1//
2// Copyright RIME Developers
3// Distributed under the BSD License
4//
5// 2014-11-19 Chen Gong <chen.sst@gmail.com>
6//
7#ifndef RIME_SINGLE_CHAR_FILTER_H_
8#define RIME_SINGLE_CHAR_FILTER_H_
9
10#include <rime/filter.h>
11
12namespace rime {
13
14 class SingleCharFilter : public Filter {
15 public:
16 explicit SingleCharFilter(const Ticket& ticket);
17
18 virtual an<Translation> Apply(an<Translation> translation,
19 CandidateList* candidates);
20};
21
22} // namespace rime
23
24#endif // RIME_SINGLE_CHAR_FILTER_H_
filter.h
rime
Definition algebra.cc:12
rime::an
std::shared_ptr< T > an
Definition common.h:60
rime::CandidateList
vector< of< Candidate > > CandidateList
Definition candidate.h:52
rime::Filter::Filter
Filter(const Ticket &ticket)
Definition filter.h:24
rime::SingleCharFilter::Apply
virtual an< Translation > Apply(an< Translation > translation, CandidateList *candidates)
Definition single_char_filter.cc:60
rime::SingleCharFilter::SingleCharFilter
SingleCharFilter(const Ticket &ticket)
Definition single_char_filter.cc:58
rime::Ticket
Definition ticket.h:17