fontservices/textshaperplugin/IcuSource/layout/TrimmedArrayProcessor.h
changeset 0 1fb32624e06b
equal deleted inserted replaced
-1:000000000000 0:1fb32624e06b
       
     1 /*
       
     2  *
       
     3  * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
       
     4  *
       
     5  */
       
     6 
       
     7 #ifndef __TRIMMEDARRAYPROCESSOR_H
       
     8 #define __TRIMMEDARRAYPROCESSOR_H
       
     9 
       
    10 /**
       
    11  * \file
       
    12  * \internal
       
    13  */
       
    14 
       
    15 #include "LETypes.h"
       
    16 #include "MorphTables.h"
       
    17 #include "SubtableProcessor.h"
       
    18 #include "NonContextualGlyphSubst.h"
       
    19 #include "NonContextualGlyphSubstProc.h"
       
    20 
       
    21 U_NAMESPACE_BEGIN
       
    22 
       
    23 class LEGlyphStorage;
       
    24 
       
    25 class TrimmedArrayProcessor : public NonContextualGlyphSubstitutionProcessor
       
    26 {
       
    27 public:
       
    28     virtual void process(LEGlyphStorage &glyphStorage);
       
    29 
       
    30     TrimmedArrayProcessor(const MorphSubtableHeader *morphSubtableHeader);
       
    31 
       
    32     virtual ~TrimmedArrayProcessor();
       
    33 
       
    34     /**
       
    35      * ICU "poor man's RTTI", returns a UClassID for the actual class.
       
    36      *
       
    37      * @stable ICU 2.8
       
    38      */
       
    39     virtual UClassID getDynamicClassID() const;
       
    40 
       
    41     /**
       
    42      * ICU "poor man's RTTI", returns a UClassID for this class.
       
    43      *
       
    44      * @stable ICU 2.8
       
    45      */
       
    46     static UClassID getStaticClassID();
       
    47 
       
    48 private:
       
    49     TrimmedArrayProcessor();
       
    50 
       
    51 protected:
       
    52     TTGlyphID firstGlyph;
       
    53     TTGlyphID lastGlyph;
       
    54     const TrimmedArrayLookupTable *trimmedArrayLookupTable;
       
    55 
       
    56 };
       
    57 
       
    58 U_NAMESPACE_END
       
    59 #endif
       
    60