2000-11-28 20:56:52 +00:00
|
|
|
/*
|
|
|
|
*
|
2004-04-12 18:51:31 +00:00
|
|
|
* (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
|
2000-11-28 20:56:52 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __TRIMMEDARRAYPROCESSOR_H
|
|
|
|
#define __TRIMMEDARRAYPROCESSOR_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 TrimmedArrayProcessor : public NonContextualGlyphSubstitutionProcessor
|
|
|
|
{
|
|
|
|
public:
|
2004-04-12 18:51:31 +00:00
|
|
|
virtual void process(LEGlyphStorage &glyphStorage);
|
2000-11-28 20:56:52 +00:00
|
|
|
|
2001-01-19 00:30:17 +00:00
|
|
|
TrimmedArrayProcessor(const MorphSubtableHeader *morphSubtableHeader);
|
2000-11-28 20:56:52 +00:00
|
|
|
|
|
|
|
virtual ~TrimmedArrayProcessor();
|
|
|
|
|
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:
|
|
|
|
TrimmedArrayProcessor();
|
|
|
|
|
|
|
|
protected:
|
2004-02-13 23:34:19 +00:00
|
|
|
TTGlyphID firstGlyph;
|
|
|
|
TTGlyphID lastGlyph;
|
2001-01-19 00:30:17 +00:00
|
|
|
const TrimmedArrayLookupTable *trimmedArrayLookupTable;
|
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
|
|
|
|
|