2000-11-28 20:56:52 +00:00
|
|
|
/*
|
|
|
|
*
|
2013-04-18 21:24:51 +00:00
|
|
|
* (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved
|
2000-11-28 20:56:52 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __SEGMENTSINGLEPROCESSOR_H
|
|
|
|
#define __SEGMENTSINGLEPROCESSOR_H
|
|
|
|
|
2003-01-13 23:15:11 +00:00
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
* \internal
|
|
|
|
*/
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
#include "LETypes.h"
|
|
|
|
#include "MorphTables.h"
|
|
|
|
#include "SubtableProcessor.h"
|
2000-12-21 02:52:24 +00:00
|
|
|
#include "NonContextualGlyphSubst.h"
|
|
|
|
#include "NonContextualGlyphSubstProc.h"
|
2000-11-28 20:56:52 +00:00
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
2004-04-12 18:51:31 +00:00
|
|
|
class LEGlyphStorage;
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
class SegmentSingleProcessor : public NonContextualGlyphSubstitutionProcessor
|
|
|
|
{
|
|
|
|
public:
|
2013-04-18 21:24:51 +00:00
|
|
|
virtual void process(LEGlyphStorage &glyphStorage, LEErrorCode &success);
|
2000-11-28 20:56:52 +00:00
|
|
|
|
2013-04-18 21:24:51 +00:00
|
|
|
SegmentSingleProcessor(const LEReferenceTo<MorphSubtableHeader> &morphSubtableHeader, LEErrorCode &success);
|
2000-11-28 20:56:52 +00:00
|
|
|
|
|
|
|
virtual ~SegmentSingleProcessor();
|
|
|
|
|
2002-06-29 00:04:16 +00:00
|
|
|
/**
|
|
|
|
* ICU "poor man's RTTI", returns a UClassID for the actual class.
|
|
|
|
*
|
2003-11-26 00:19:39 +00:00
|
|
|
* @stable ICU 2.8
|
2002-06-29 00:04:16 +00:00
|
|
|
*/
|
2004-10-19 06:25:41 +00:00
|
|
|
virtual UClassID getDynamicClassID() const;
|
2002-06-29 00:04:16 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* ICU "poor man's RTTI", returns a UClassID for this class.
|
|
|
|
*
|
2003-11-26 00:19:39 +00:00
|
|
|
* @stable ICU 2.8
|
2002-06-29 00:04:16 +00:00
|
|
|
*/
|
2004-10-19 06:25:41 +00:00
|
|
|
static UClassID getStaticClassID();
|
2002-06-29 00:04:16 +00:00
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
private:
|
|
|
|
SegmentSingleProcessor();
|
|
|
|
|
|
|
|
protected:
|
2013-04-18 21:24:51 +00:00
|
|
|
LEReferenceTo<SegmentSingleLookupTable> segmentSingleLookupTable;
|
2002-06-29 00:04:16 +00:00
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
};
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_END
|
2000-11-28 20:56:52 +00:00
|
|
|
#endif
|
|
|
|
|