Logo Search packages:      
Sourcecode: icu version File versions  Download package

UnicodeMatcher * UnicodeFunctor::toMatcher (  )  const [virtual]

Cast 'this' to a UnicodeMatcher* pointer and return the pointer, or null if this is not a UnicodeMatcher*. Subclasses that mix in UnicodeMatcher as a base class must override this. This protocol is required because a pointer to a UnicodeFunctor cannot be cast to a pointer to a UnicodeMatcher, since UnicodeMatcher is a mixin that does not derive from UnicodeFunctor. ICU 2.4

Reimplemented in UnicodeFilter, and StringMatcher.

Definition at line 16 of file unifunct.cpp.

Referenced by ParseData::isMatcher(), and TransliterationRuleData::lookupMatcher().

    return 0;

Generated by  Doxygen 1.6.0   Back to index