1/*
2 *
3 * (C) Copyright IBM Corp. 1998-2014 - All Rights Reserved
4 *
5 */
6
7#ifndef __SINGLETABLEPROCESSOR_H
8#define __SINGLETABLEPROCESSOR_H
9
10/**
11 * \file
12 * \internal
13 */
14
15#include "LETypes.h"
16#include "MorphTables.h"
17#include "SubtableProcessor.h"
18#include "NonContextualGlyphSubst.h"
19#include "NonContextualGlyphSubstProc.h"
20
21U_NAMESPACE_BEGIN
22
23class LEGlyphStorage;
24
25class SingleTableProcessor : public NonContextualGlyphSubstitutionProcessor
26{
27public:
28    virtual void process(LEGlyphStorage &glyphStorage, LEErrorCode &success);
29
30    SingleTableProcessor(const LEReferenceTo<MorphSubtableHeader> &morphSubtableHeader, LEErrorCode &success);
31
32    virtual ~SingleTableProcessor();
33
34    /**
35     * ICU "poor man's RTTI", returns a UClassID for the actual class.
36     *
37     * @deprecated ICU 54. See {@link icu::LayoutEngine}
38     */
39    virtual UClassID getDynamicClassID() const;
40
41    /**
42     * ICU "poor man's RTTI", returns a UClassID for this class.
43     *
44     * @deprecated ICU 54. See {@link icu::LayoutEngine}
45     */
46    static UClassID getStaticClassID();
47
48private:
49    SingleTableProcessor();
50
51protected:
52    LEReferenceTo<SingleTableLookupTable> singleTableLookupTable;
53
54};
55
56U_NAMESPACE_END
57#endif
58