librime 1.2
Rime Input Method Engine, the core library
filter_commons.h
Go to the documentation of this file.
1//
2// Copyright RIME Developers
3// Distributed under the BSD License
4//
5// 2013-11-05 GONG Chen <chen.sst@gmail.com>
6//
7#ifndef RIME_FILTER_COMMONS_H_
8#define RIME_FILTER_COMMONS_H_
9
10namespace rime {
11
12struct Segment;
13struct Ticket;
14
16 public:
17 explicit TagMatching(const Ticket& ticket);
18 bool TagsMatch(Segment* segment);
19
20 protected:
21 vector<string> tags_;
22};
23
24} // namespace rime
25
26#endif // RIME_FILTER_COMMONS_H_
Definition algebra.cc:12
TagMatching(const Ticket &ticket)
Definition filter_commons.cc:14
vector< string > tags_
Definition filter_commons.h:21
bool TagsMatch(Segment *segment)
Definition filter_commons.cc:27
Definition segmentation.h:18
Definition ticket.h:17