]> git.saurik.com Git - apple/icu.git/blame - icuSources/layout/LEGlyphFilter.h
ICU-59180.0.1.tar.gz
[apple/icu.git] / icuSources / layout / LEGlyphFilter.h
CommitLineData
b75a7d8f 1/*
b75a7d8f 2 *
4388f060 3 * (C) Copyright IBM Corp. 1998-2011 - All Rights Reserved
b75a7d8f
A
4 *
5 */
6
7#ifndef __LEGLYPHFILTER__H
8#define __LEGLYPHFILTER__H
9
10#include "LETypes.h"
11
12U_NAMESPACE_BEGIN
13
4388f060 14#ifndef U_HIDE_INTERNAL_API
b75a7d8f
A
15/**
16 * This is a helper class that is used to
17 * recognize a set of glyph indices.
18 *
19 * @internal
20 */
21class LEGlyphFilter /* not : public UObject because this is an interface/mixin class */ {
22public:
23 /**
24 * Destructor.
73c04bcf 25 * @internal
b75a7d8f 26 */
374ca955 27 virtual ~LEGlyphFilter();
b75a7d8f
A
28
29 /**
30 * This method is used to test a particular
31 * glyph index to see if it is in the set
32 * recognized by the filter.
33 *
34 * @param glyph - the glyph index to be tested
35 *
374ca955 36 * @return TRUE if the glyph index is in the set.
b75a7d8f
A
37 *
38 * @internal
39 */
40 virtual le_bool accept(LEGlyphID glyph) const = 0;
41};
4388f060 42#endif /* U_HIDE_INTERNAL_API */
b75a7d8f
A
43
44U_NAMESPACE_END
45#endif