]> git.saurik.com Git - apple/icu.git/blame - icuSources/layout/SubtableProcessor.h
ICU-57166.0.1.tar.gz
[apple/icu.git] / icuSources / layout / SubtableProcessor.h
CommitLineData
b75a7d8f 1/*
b75a7d8f 2 *
57a6839d 3 * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved
b75a7d8f
A
4 *
5 */
6
7#ifndef __SUBTABLEPROCESSOR_H
8#define __SUBTABLEPROCESSOR_H
9
10/**
11 * \file
12 * \internal
13 */
14
15#include "LETypes.h"
16#include "MorphTables.h"
17
18U_NAMESPACE_BEGIN
19
374ca955
A
20class LEGlyphStorage;
21
b75a7d8f
A
22class SubtableProcessor : public UMemory {
23public:
57a6839d 24 virtual void process(LEGlyphStorage &glyphStorage, LEErrorCode &success) = 0;
b75a7d8f
A
25 virtual ~SubtableProcessor();
26
27protected:
57a6839d 28 SubtableProcessor(const LEReferenceTo<MorphSubtableHeader> &morphSubtableHeader, LEErrorCode &success);
b75a7d8f
A
29
30 SubtableProcessor();
31
32 le_int16 length;
33 SubtableCoverage coverage;
34 FeatureFlags subtableFeatures;
35
57a6839d 36 const LEReferenceTo<MorphSubtableHeader> subtableHeader;
b75a7d8f
A
37
38private:
39
40 SubtableProcessor(const SubtableProcessor &other); // forbid copying of this class
41 SubtableProcessor &operator=(const SubtableProcessor &other); // forbid copying of this class
42};
43
44U_NAMESPACE_END
45#endif
46