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 __SUBTABLEPROCESSOR_H
|
|
|
|
#define __SUBTABLEPROCESSOR_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"
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
2004-04-12 18:51:31 +00:00
|
|
|
class LEGlyphStorage;
|
|
|
|
|
2002-10-04 19:27:01 +00:00
|
|
|
class SubtableProcessor : public UMemory {
|
2000-11-28 20:56:52 +00:00
|
|
|
public:
|
2013-04-18 21:24:51 +00:00
|
|
|
virtual void process(LEGlyphStorage &glyphStorage, LEErrorCode &success) = 0;
|
2000-11-28 20:56:52 +00:00
|
|
|
virtual ~SubtableProcessor();
|
|
|
|
|
|
|
|
protected:
|
2013-04-18 21:24:51 +00:00
|
|
|
SubtableProcessor(const LEReferenceTo<MorphSubtableHeader> &morphSubtableHeader, LEErrorCode &success);
|
2000-11-28 20:56:52 +00:00
|
|
|
|
|
|
|
SubtableProcessor();
|
|
|
|
|
|
|
|
le_int16 length;
|
|
|
|
SubtableCoverage coverage;
|
|
|
|
FeatureFlags subtableFeatures;
|
|
|
|
|
2013-04-18 21:24:51 +00:00
|
|
|
const LEReferenceTo<MorphSubtableHeader> subtableHeader;
|
2002-06-29 00:04:16 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
|
2002-10-04 19:27:01 +00:00
|
|
|
SubtableProcessor(const SubtableProcessor &other); // forbid copying of this class
|
|
|
|
SubtableProcessor &operator=(const SubtableProcessor &other); // forbid copying of this class
|
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
|
|
|
|
|