scuffed-code/icu4c/source/layout/SubtableProcessor.cpp
Steven R. Loomis f2fbc8c394 ICU-10107 LayoutEngine improvements
X-SVN-Rev: 33535
2013-04-18 21:24:51 +00:00

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