Main Page   Class Hierarchy   Compound List   File List   Header Files   Sources   Compound Members   File Members  

UnicodeFilter Class Reference

UnicodeFilter defines a protocol for selecting a subset of the full range (U+0000 to U+FFFF) of Unicode characters. More...

#include <unifilt.h>

Class diagram for UnicodeFilter:

UnicodeSet

List of all members.


Public Members

virtual ~UnicodeFilter ()
Destructor. More...

virtual UBool contains (UChar c) const = 0
Returns true for characters that are in the selected subset. More...

virtual UnicodeFilter* clone () const = 0
Returns a copy of this object. More...


Protected Members

 UnicodeFilter ()

Detailed Description

UnicodeFilter defines a protocol for selecting a subset of the full range (U+0000 to U+FFFF) of Unicode characters.

Currently, filters are used in conjunction with classes like Transliterator to only process selected characters through a transformation.

See also:
UnicodeFilterLogic
Draft:

Definition at line 23 of file unifilt.h.


Member Function Documentation

UnicodeFilter::~UnicodeFilter () [inline, virtual]

Destructor.

Draft:

Definition at line 54 of file unifilt.h.

virtual UBool UnicodeFilter::contains (UChar c) const [pure virtual]

Returns true for characters that are in the selected subset.

In other words, if a character is to be filtered, then contains() returns false.

Draft:

Reimplemented in UnicodeSet, and UnicodeSet.

virtual UnicodeFilter * UnicodeFilter::clone () const [pure virtual]

Returns a copy of this object.

All UnicodeFilter objects have to support cloning in order to allow classes using UnicodeFilters, such as Transliterator, to implement cloning.

Draft:

Reimplemented in UnicodeSet.

UnicodeFilter::UnicodeFilter () [inline, protected]

Definition at line 53 of file unifilt.h.


The documentation for this class was generated from the following file:
Generated at Mon Jun 5 12:53:27 2000 for ICU1.5 by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999