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

UnicodeReplacer * UnicodeFunctor::toReplacer (  )  const [virtual, inherited]

Cast 'this' to a UnicodeReplacer* pointer and return the pointer, or null if this is not a UnicodeReplacer*. Subclasses that mix in UnicodeReplacer 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 UnicodeReplacer, since UnicodeReplacer is a mixin that does not derive from UnicodeFunctor. ICU 2.4

Reimplemented in FunctionReplacer, StringMatcher, and StringReplacer.

Definition at line 20 of file unifunct.cpp.

Referenced by TransliterationRule::addTargetSetTo(), ParseData::isReplacer(), TransliterationRuleData::lookupReplacer(), TransliterationRule::matchAndReplace(), FunctionReplacer::replace(), FunctionReplacer::toReplacerPattern(), and TransliterationRule::toRule().

    return 0;

Generated by  Doxygen 1.6.0   Back to index