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:
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 () |
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.
Definition at line 23 of file unifilt.h.
UnicodeFilter::~UnicodeFilter () [inline, virtual]
|
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
.
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.
Reimplemented in UnicodeSet.
UnicodeFilter::UnicodeFilter () [inline, protected]
|