UnicodeReplacer
defines a protocol for objects that replace a range of characters in a Replaceable string with output text. More...
#include <unirepl.h>
UnicodeReplacer
defines a protocol for objects that replace a range of characters in a Replaceable string with output text.
The replacement is done via the Replaceable API so as to preserve out-of-band data.
This is a mixin class.
Definition at line 40 of file unirepl.h.
◆ ~UnicodeReplacer() virtual icu::UnicodeReplacer::~UnicodeReplacer ( ) virtual ◆ addReplacementSetTo() virtual void icu::UnicodeReplacer::addReplacementSetTo ( UnicodeSet & toUnionTo ) const pure virtualUnion the set of all characters that may output by this object into the given set.
Replace characters in 'text' from 'start' to 'limit' with the output text of this object.
Update the 'cursor' parameter to give the cursor position and return the length of the replacement text.
Returns a string representation of this replacer.
If the result of calling this function is passed to the appropriate parser, typically TransliteratorParser, it will produce another replacer that is equal to this one.
The documentation for this class was generated from the following file:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4