UnicodeFilterLogic
provides logical operators on UnicodeFilter objects.
More...
#include <unifltlg.h>
Static Public Methods | |
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 * | createAdoptingAnd (UnicodeFilter *adoptedF, UnicodeFilter *adoptedG) |
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... | |
Private Methods | |
UnicodeFilterLogic () |
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.
If a UnicodeFilter* f is passed in, where f == NULL, then that is treated as a filter that contains all Unicode characters. Therefore, createNot(NULL) returns a filter that contains no Unicode characters. Likewise, createAnd(g, NULL) returns g->clone(), and createAnd(NULL, NULL) returns NULL.
Definition at line 48 of file unifltlg.h.
|
Returns a
That is, if
|
|
Returns a
That is, if
|
|
Returns a
|
|
Returns a
That is, if
|