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