UnicodeFilterLogic
provides logical operators on.
More...
#include <unifltlg.h>
Static Public Members | |||
![]() | ![]() | UnicodeFilter* | createNot (const UnicodeFilter& f) |
![]() | ![]() | Returns a UnicodeFilter that implements the inverse of the given filter. More... | |
![]() | ![]() | UnicodeFilter* | createAnd (const UnicodeFilter& f, const UnicodeFilter& g) |
![]() | ![]() | Returns a UnicodeFilter that implements a short circuit AND of the result of the two given filters. More... | |
![]() | ![]() | UnicodeFilter* | createOr (const UnicodeFilter& f, const UnicodeFilter& g) |
![]() | ![]() | Returns a UnicodeFilter that implements a short circuit OR of the result of the two given filters. More... |
UnicodeFilterLogic
provides logical operators on.
UnicodeFilter objects. This class cannot be instantiated; it consists only of static methods. The static methods return filter objects that perform logical inversion (not
), intersection (and
), or union (or
) of the given filter objects.
UnicodeFilter * UnicodeFilterLogic::createNot (const UnicodeFilter & f) [static]
|
UnicodeFilter * UnicodeFilterLogic::createAnd (const UnicodeFilter & f, const UnicodeFilter & g) [static]
|
Returns a UnicodeFilter
that implements a short circuit AND of the result of the two given filters.
That is, if f.contains()
is false
, then g.contains()
is not called, and contains()
returns false
.
Either f
or g
must be non-null.
UnicodeFilter * UnicodeFilterLogic::createOr (const UnicodeFilter & f, const UnicodeFilter & g) [static]
|
Returns a UnicodeFilter
that implements a short circuit OR of the result of the two given filters.
That is, if f.contains()
is true
, then g.contains()
is not called, and contains()
returns true
.
Either f
or g
must be non-null.