]> git.saurik.com Git - apple/icu.git/blame - icuSources/layout/IndicRearrangementProcessor2.h
ICU-57166.0.1.tar.gz
[apple/icu.git] / icuSources / layout / IndicRearrangementProcessor2.h
CommitLineData
51004dcb
A
1/*
2 *
2ca993e8 3 * (C) Copyright IBM Corp. and others 1998-2015 - All Rights Reserved
51004dcb
A
4 *
5 */
6
7#ifndef __INDICREARRANGEMENTPROCESSOR2_H
8#define __INDICREARRANGEMENTPROCESSOR2_H
9
10/**
11 * \file
12 * \internal
13 */
14
15#include "LETypes.h"
16#include "MorphTables.h"
17#include "SubtableProcessor.h"
18#include "StateTableProcessor2.h"
19#include "IndicRearrangement.h"
20
21U_NAMESPACE_BEGIN
22
23class LEGlyphStorage;
24
25class IndicRearrangementProcessor2 : public StateTableProcessor2
26{
27public:
28 virtual void beginStateTable();
29
57a6839d 30 virtual le_uint16 processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex2 index, LEErrorCode &success);
51004dcb
A
31
32 virtual void endStateTable();
33
2ca993e8 34 void doRearrangementAction(LEGlyphStorage &glyphStorage, IndicRearrangementVerb verb, LEErrorCode &success) const;
51004dcb 35
57a6839d 36 IndicRearrangementProcessor2(const LEReferenceTo<MorphSubtableHeader2> &morphSubtableHeader, LEErrorCode &success);
51004dcb
A
37 virtual ~IndicRearrangementProcessor2();
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}
51004dcb
A
43 */
44 virtual UClassID getDynamicClassID() const;
45
46 /**
47 * ICU "poor man's RTTI", returns a UClassID for this class.
48 *
b331163b 49 * @deprecated ICU 54. See {@link icu::LayoutEngine}
51004dcb
A
50 */
51 static UClassID getStaticClassID();
52
53protected:
2ca993e8
A
54 le_uint32 firstGlyph;
55 le_uint32 lastGlyph;
51004dcb 56
57a6839d
A
57 LEReferenceToArrayOf<IndicRearrangementStateEntry2> entryTable;
58 LEReferenceTo<IndicRearrangementSubtableHeader2> indicRearrangementSubtableHeader;
51004dcb
A
59
60};
61
62U_NAMESPACE_END
63#endif