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

FunctionReplacer Class Reference

#include <funcrepl.h>

Inheritance diagram for FunctionReplacer:

UnicodeFunctor UnicodeReplacer UObject UMemory

List of all members.


Detailed Description

A replacer that calls a transliterator to generate its output text. The input text to the transliterator is the output of another UnicodeReplacer object. That is, this replacer wraps another replacer with a transliterator.

Author:
Alan Liu

Definition at line 33 of file funcrepl.h.


Public Member Functions

virtual void addReplacementSetTo (UnicodeSet &toUnionTo) const
virtual UnicodeFunctorclone () const
 FunctionReplacer (const FunctionReplacer &other)
 FunctionReplacer (Transliterator *adoptedTranslit, UnicodeFunctor *adoptedReplacer)
virtual UClassID getDynamicClassID () const
virtual int32_t replace (Replaceable &text, int32_t start, int32_t limit, int32_t &cursor)
virtual void setData (const TransliterationRuleData *)
virtual UnicodeMatchertoMatcher () const
virtual UnicodeReplacertoReplacer () const
virtual UnicodeStringtoReplacerPattern (UnicodeString &rule, UBool escapeUnprintable) const
virtual ~FunctionReplacer ()

Static Public Member Functions

static UClassID U_EXPORT2 getStaticClassID ()
static void U_EXPORT2 operator delete (void *, void *) U_NO_THROW
static void U_EXPORT2 operator delete (void *p) U_NO_THROW
static void U_EXPORT2 operator delete[] (void *p) U_NO_THROW
static void *U_EXPORT2 operator new (size_t, void *ptr) U_NO_THROW
static void *U_EXPORT2 operator new (size_t size) U_NO_THROW
static void *U_EXPORT2 operator new[] (size_t size) U_NO_THROW

Private Attributes

UnicodeFunctorreplacer
Transliteratortranslit

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index