1 /* 2 * 3 * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved 4 * 5 */ 6 7 #ifndef __GDEFMARKFILTER__H 8 #define __GDEFMARKFILTER__H 9 10 /** 11 * \file 12 * \internal 13 */ 14 15 #include "LETypes.h" 16 #include "LEGlyphFilter.h" 17 #include "GlyphDefinitionTables.h" 18 19 U_NAMESPACE_BEGIN 20 21 class GDEFMarkFilter : public UMemory, public LEGlyphFilter 22 { 23 private: 24 const LEReferenceTo<GlyphClassDefinitionTable> classDefTable; 25 26 GDEFMarkFilter(const GDEFMarkFilter &other); // forbid copying of this class 27 GDEFMarkFilter &operator=(const GDEFMarkFilter &other); // forbid copying of this class 28 29 public: 30 GDEFMarkFilter(const LEReferenceTo<GlyphDefinitionTableHeader> &gdefTable, LEErrorCode &success); 31 virtual ~GDEFMarkFilter(); 32 33 virtual le_bool accept(LEGlyphID glyph) const; 34 }; 35 36 U_NAMESPACE_END 37 #endif 38