/* * * (C) Copyright IBM Corp. 1998 - 2013 - All Rights Reserved * */ #include "LETypes.h" #include "OpenTypeTables.h" #include "GlyphDefinitionTables.h" #include "LESwaps.h" U_NAMESPACE_BEGIN const LEReferenceTo GlyphDefinitionTableHeader::getGlyphClassDefinitionTable(const LEReferenceTo& base, LEErrorCode &success) const { if(LE_FAILURE(success)) return LEReferenceTo(); return LEReferenceTo(base, success, SWAPW(glyphClassDefOffset)); } const LEReferenceTo GlyphDefinitionTableHeader::getAttachmentListTable(const LEReferenceTo& base, LEErrorCode &success) const { if(LE_FAILURE(success)) return LEReferenceTo(); return LEReferenceTo(base, success, SWAPW(attachListOffset)); } const LEReferenceTo GlyphDefinitionTableHeader::getLigatureCaretListTable(const LEReferenceTo& base, LEErrorCode &success) const { if(LE_FAILURE(success)) return LEReferenceTo(); return LEReferenceTo(base, success, SWAPW(ligCaretListOffset)); } const LEReferenceTo GlyphDefinitionTableHeader::getMarkAttachClassDefinitionTable(const LEReferenceTo& base, LEErrorCode &success) const { if(LE_FAILURE(success)) return LEReferenceTo(); return LEReferenceTo(base, success, SWAPW(MarkAttachClassDefOffset)); } U_NAMESPACE_END