2000-11-28 20:56:52 +00:00
|
|
|
/*
|
|
|
|
* @(#)SubtableProcessor.cpp 1.5 00/03/15
|
|
|
|
*
|
2001-01-19 00:30:17 +00:00
|
|
|
* (C) Copyright IBM Corp. 1998, 1999, 2000, 2001 - All Rights Reserved
|
2000-11-28 20:56:52 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "LETypes.h"
|
|
|
|
#include "MorphTables.h"
|
|
|
|
#include "SubtableProcessor.h"
|
|
|
|
#include "LESwaps.h"
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
SubtableProcessor::SubtableProcessor()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2001-01-19 00:30:17 +00:00
|
|
|
SubtableProcessor::SubtableProcessor(const MorphSubtableHeader *morphSubtableHeader)
|
2000-11-28 20:56:52 +00:00
|
|
|
{
|
|
|
|
subtableHeader = morphSubtableHeader;
|
|
|
|
|
|
|
|
length = SWAPW(subtableHeader->length);
|
|
|
|
coverage = SWAPW(subtableHeader->coverage);
|
|
|
|
subtableFeatures = SWAPL(subtableHeader->subtableFeatures);
|
|
|
|
}
|
|
|
|
|
|
|
|
SubtableProcessor::~SubtableProcessor()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_END
|