3 * (C) Copyright IBM Corp. 1998-2014 - All Rights Reserved
7 #ifndef __CONTEXTUALGLYPHSUBSTITUTIONPROCESSOR_H
8 #define __CONTEXTUALGLYPHSUBSTITUTIONPROCESSOR_H
16 #include "MorphTables.h"
17 #include "SubtableProcessor.h"
18 #include "StateTableProcessor.h"
19 #include "ContextualGlyphSubstitution.h"
25 class ContextualGlyphSubstitutionProcessor
: public StateTableProcessor
28 virtual void beginStateTable();
30 virtual ByteOffset
processStateEntry(LEGlyphStorage
&glyphStorage
, le_int32
&currGlyph
, EntryTableIndex index
);
32 virtual void endStateTable();
34 ContextualGlyphSubstitutionProcessor(const LEReferenceTo
<MorphSubtableHeader
> &morphSubtableHeader
, LEErrorCode
&success
);
35 virtual ~ContextualGlyphSubstitutionProcessor();
38 * ICU "poor man's RTTI", returns a UClassID for the actual class.
40 * @deprecated ICU 54. See {@link icu::LayoutEngine}
42 virtual UClassID
getDynamicClassID() const;
45 * ICU "poor man's RTTI", returns a UClassID for this class.
47 * @deprecated ICU 54. See {@link icu::LayoutEngine}
49 static UClassID
getStaticClassID();
52 ContextualGlyphSubstitutionProcessor();
55 ByteOffset substitutionTableOffset
;
56 LEReferenceToArrayOf
<ContextualGlyphSubstitutionStateEntry
> entryTable
;
57 LEReferenceToArrayOf
<le_int16
> int16Table
;
60 LEReferenceTo
<ContextualGlyphSubstitutionHeader
> contextualGlyphSubstitutionHeader
;