]>
Commit | Line | Data |
---|---|---|
b75a7d8f | 1 | /* |
b75a7d8f | 2 | * |
2ca993e8 | 3 | * (C) Copyright IBM Corp. 1998-2015 - All Rights Reserved |
b75a7d8f A |
4 | * |
5 | */ | |
6 | ||
7 | #ifndef __INDICREARRANGEMENTPROCESSOR_H | |
8 | #define __INDICREARRANGEMENTPROCESSOR_H | |
9 | ||
10 | /** | |
11 | * \file | |
12 | * \internal | |
13 | */ | |
14 | ||
15 | #include "LETypes.h" | |
16 | #include "MorphTables.h" | |
17 | #include "SubtableProcessor.h" | |
18 | #include "StateTableProcessor.h" | |
19 | #include "IndicRearrangement.h" | |
20 | ||
21 | U_NAMESPACE_BEGIN | |
22 | ||
374ca955 A |
23 | class LEGlyphStorage; |
24 | ||
b75a7d8f A |
25 | class IndicRearrangementProcessor : public StateTableProcessor |
26 | { | |
27 | public: | |
28 | virtual void beginStateTable(); | |
29 | ||
374ca955 | 30 | virtual ByteOffset processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex index); |
b75a7d8f A |
31 | |
32 | virtual void endStateTable(); | |
33 | ||
2ca993e8 | 34 | void doRearrangementAction(LEGlyphStorage &glyphStorage, IndicRearrangementVerb verb, LEErrorCode &success) const; |
b75a7d8f | 35 | |
57a6839d | 36 | IndicRearrangementProcessor(const LEReferenceTo<MorphSubtableHeader> &morphSubtableHeader, LEErrorCode &success); |
b75a7d8f A |
37 | virtual ~IndicRearrangementProcessor(); |
38 | ||
39 | /** | |
40 | * ICU "poor man's RTTI", returns a UClassID for the actual class. | |
41 | * | |
b331163b | 42 | * @deprecated ICU 54. See {@link icu::LayoutEngine} |
b75a7d8f | 43 | */ |
374ca955 | 44 | virtual UClassID getDynamicClassID() const; |
b75a7d8f A |
45 | |
46 | /** | |
47 | * ICU "poor man's RTTI", returns a UClassID for this class. | |
48 | * | |
b331163b | 49 | * @deprecated ICU 54. See {@link icu::LayoutEngine} |
b75a7d8f | 50 | */ |
374ca955 | 51 | static UClassID getStaticClassID(); |
b75a7d8f A |
52 | |
53 | protected: | |
2ca993e8 A |
54 | le_uint32 firstGlyph; |
55 | le_uint32 lastGlyph; | |
b75a7d8f | 56 | |
57a6839d A |
57 | LEReferenceTo<IndicRearrangementSubtableHeader> indicRearrangementSubtableHeader; |
58 | LEReferenceToArrayOf<IndicRearrangementStateEntry> entryTable; | |
59 | LEReferenceToArrayOf<le_int16> int16Table; | |
b75a7d8f | 60 | |
b75a7d8f A |
61 | }; |
62 | ||
63 | U_NAMESPACE_END | |
64 | #endif |