]>
Commit | Line | Data |
---|---|---|
b75a7d8f | 1 | /* |
b75a7d8f | 2 | * |
57a6839d | 3 | * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved |
b75a7d8f A |
4 | * |
5 | */ | |
6 | ||
7 | #include "LETypes.h" | |
8 | #include "MorphTables.h" | |
9 | #include "SubtableProcessor.h" | |
10 | #include "LESwaps.h" | |
11 | ||
12 | U_NAMESPACE_BEGIN | |
13 | ||
14 | SubtableProcessor::SubtableProcessor() | |
15 | { | |
16 | } | |
17 | ||
57a6839d A |
18 | SubtableProcessor::SubtableProcessor(const LEReferenceTo<MorphSubtableHeader> &morphSubtableHeader, LEErrorCode &success) |
19 | : length(0), coverage(0), subtableFeatures(0L), subtableHeader(morphSubtableHeader) | |
b75a7d8f | 20 | { |
57a6839d | 21 | if(LE_FAILURE(success)) return; |
b75a7d8f A |
22 | length = SWAPW(subtableHeader->length); |
23 | coverage = SWAPW(subtableHeader->coverage); | |
24 | subtableFeatures = SWAPL(subtableHeader->subtableFeatures); | |
25 | } | |
26 | ||
27 | SubtableProcessor::~SubtableProcessor() | |
28 | { | |
29 | } | |
30 | ||
31 | U_NAMESPACE_END |