Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   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>

Inheritance diagram for UnicodeFilter:

UnicodeSet List of all members.

Public Methods

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 Methods

 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.


Constructor & Destructor Documentation

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

Destructor.

Draft:

Definition at line 54 of file unifilt.h.

UnicodeFilter::UnicodeFilter ( ) [inline, protected]
 

Definition at line 53 of file unifilt.h.


Member Function Documentation

UnicodeFilter * UnicodeFilter::clone ( void ) 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.

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.


The documentation for this class was generated from the following file:
Generated at Tue Jun 12 14:04:50 2001 for ICU 1.8.1 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000