2 * @(#)SegmentSingleProcessor.h 1.6 00/03/15
4 * (C) Copyright IBM Corp. 1998-2003 - All Rights Reserved
8 #ifndef __SEGMENTSINGLEPROCESSOR_H
9 #define __SEGMENTSINGLEPROCESSOR_H
17 #include "MorphTables.h"
18 #include "SubtableProcessor.h"
19 #include "NonContextualGlyphSubst.h"
20 #include "NonContextualGlyphSubstProc.h"
24 class SegmentSingleProcessor
: public NonContextualGlyphSubstitutionProcessor
27 virtual void process(LEGlyphID
*glyphs
, le_int32
*charIndices
, le_int32 glyphCount
);
29 SegmentSingleProcessor(const MorphSubtableHeader
*morphSubtableHeader
);
31 virtual ~SegmentSingleProcessor();
34 * ICU "poor man's RTTI", returns a UClassID for the actual class.
38 virtual inline UClassID
getDynamicClassID() const { return getStaticClassID(); }
41 * ICU "poor man's RTTI", returns a UClassID for this class.
45 static inline UClassID
getStaticClassID() { return (UClassID
)&fgClassID
; }
48 SegmentSingleProcessor();
51 const SegmentSingleLookupTable
*segmentSingleLookupTable
;
56 * The address of this static class variable serves as this class's ID
57 * for ICU "poor man's RTTI".
59 static const char fgClassID
;