ICU 4.8.1.1
4.8.1.1
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
i18n
unicode
unirepl.h
Go to the documentation of this file.
1
/*
2
**********************************************************************
3
* Copyright (c) 2002-2005, International Business Machines Corporation
4
* and others. All Rights Reserved.
5
**********************************************************************
6
* Date Name Description
7
* 01/14/2002 aliu Creation.
8
**********************************************************************
9
*/
10
#ifndef UNIREPL_H
11
#define UNIREPL_H
12
13
#include "
unicode/utypes.h
"
14
20
U_NAMESPACE_BEGIN
21
22
class
Replaceable
;
23
class
UnicodeString
;
24
class
UnicodeSet
;
25
36
class
U_I18N_API
UnicodeReplacer
/* not : public UObject because this is an interface/mixin class */
{
37
38
public
:
39
44
virtual
~
UnicodeReplacer
();
45
64
virtual
int32_t replace(
Replaceable
& text,
65
int32_t start,
66
int32_t limit,
67
int32_t& cursor) = 0;
68
83
virtual
UnicodeString
& toReplacerPattern(
UnicodeString
& result,
84
UBool
escapeUnprintable)
const
= 0;
85
92
virtual
void
addReplacementSetTo(
UnicodeSet
& toUnionTo)
const
= 0;
93
};
94
95
U_NAMESPACE_END
96
97
#endif
Generated on Mon Dec 19 2016 12:41:33 for ICU 4.8.1.1 by
1.8.1.2