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