]>
git.saurik.com Git - apple/icu.git/blob - icuSources/layout/LookupTables.h
3 * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
7 #ifndef __LOOKUPTABLES_H
8 #define __LOOKUPTABLES_H
16 #include "LayoutTables.h"
20 enum LookupTableFormat
29 typedef le_int16 LookupValue
;
49 struct BinarySearchLookupTable
: LookupTable
54 le_int16 entrySelector
;
57 const LookupSegment
*lookupSegment(const LookupSegment
*segments
, LEGlyphID glyph
) const;
59 const LookupSingle
*lookupSingle(const LookupSingle
*entries
, LEGlyphID glyph
) const;
62 struct SimpleArrayLookupTable
: LookupTable
64 LookupValue valueArray
[ANY_NUMBER
];
67 struct SegmentSingleLookupTable
: BinarySearchLookupTable
69 LookupSegment segments
[ANY_NUMBER
];
72 struct SegmentArrayLookupTable
: BinarySearchLookupTable
74 LookupSegment segments
[ANY_NUMBER
];
77 struct SingleTableLookupTable
: BinarySearchLookupTable
79 LookupSingle entries
[ANY_NUMBER
];
82 struct TrimmedArrayLookupTable
: LookupTable
86 LookupValue valueArray
[ANY_NUMBER
];