~ubuntu-branches/ubuntu/gutsy/icu/gutsy-updates

« back to all changes in this revision

Viewing changes to source/layout/GDEFMarkFilter.cpp

  • Committer: Package Import Robot
  • Author(s): Jay Berkenbilt
  • Date: 2005-11-19 11:29:31 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20051119112931-vcizkrp10tli4enw
Tags: 3.4-3
Explicitly build with g++ 3.4.  The current ICU fails its test suite
with 4.0 but not with 3.4.  Future versions should work properly with
4.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * @(#)GDEFMarkFilter.cpp       1.5 00/03/15
3
 
 *
4
 
 * (C) Copyright IBM Corp. 1998, 1999, 2000, 2001 - All Rights Reserved
5
 
 *
6
 
 */
7
 
 
8
 
#include "LETypes.h"
9
 
#include "LEGlyphFilter.h"
10
 
#include "GDEFMarkFilter.h"
11
 
#include "GlyphDefinitionTables.h"
12
 
 
13
 
U_NAMESPACE_BEGIN
14
 
 
15
 
GDEFMarkFilter::GDEFMarkFilter(const GlyphDefinitionTableHeader *gdefTable)
16
 
{
17
 
    classDefTable = gdefTable->getGlyphClassDefinitionTable();
18
 
}
19
 
 
20
 
GDEFMarkFilter::~GDEFMarkFilter()
21
 
{
22
 
    // nothing to do?
23
 
}
24
 
 
25
 
le_bool GDEFMarkFilter::accept(LEGlyphID glyph) const
26
 
{
27
 
    le_int32 glyphClass = classDefTable->getGlyphClass(glyph);
28
 
 
29
 
    return glyphClass == gcdMarkGlyph;
30
 
}
31
 
 
32
 
U_NAMESPACE_END