f2fbc8c394
X-SVN-Rev: 33535
32 lines
699 B
C++
32 lines
699 B
C++
/*
|
|
*
|
|
* (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved
|
|
*
|
|
*/
|
|
|
|
#include "LETypes.h"
|
|
#include "MorphTables.h"
|
|
#include "SubtableProcessor.h"
|
|
#include "LESwaps.h"
|
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
SubtableProcessor::SubtableProcessor()
|
|
{
|
|
}
|
|
|
|
SubtableProcessor::SubtableProcessor(const LEReferenceTo<MorphSubtableHeader> &morphSubtableHeader, LEErrorCode &success)
|
|
: length(0), coverage(0), subtableFeatures(0L), subtableHeader(morphSubtableHeader)
|
|
{
|
|
if(LE_FAILURE(success)) return;
|
|
length = SWAPW(subtableHeader->length);
|
|
coverage = SWAPW(subtableHeader->coverage);
|
|
subtableFeatures = SWAPL(subtableHeader->subtableFeatures);
|
|
}
|
|
|
|
SubtableProcessor::~SubtableProcessor()
|
|
{
|
|
}
|
|
|
|
U_NAMESPACE_END
|