ICU 52.1
52.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
common
unicode
schriter.h
Go to the documentation of this file.
1
/*
2
******************************************************************************
3
*
4
* Copyright (C) 1998-2005, International Business Machines
5
* Corporation and others. All Rights Reserved.
6
*
7
******************************************************************************
8
*
9
* File schriter.h
10
*
11
* Modification History:
12
*
13
* Date Name Description
14
* 05/05/99 stephen Cleaned up.
15
******************************************************************************
16
*/
17
18
#ifndef SCHRITER_H
19
#define SCHRITER_H
20
21
#include "
unicode/utypes.h
"
22
#include "
unicode/chariter.h
"
23
#include "
unicode/uchriter.h
"
24
30
U_NAMESPACE_BEGIN
43
class
U_COMMON_API
StringCharacterIterator
:
public
UCharCharacterIterator
{
44
public
:
52
StringCharacterIterator
(
const
UnicodeString
& textStr);
53
63
StringCharacterIterator
(
const
UnicodeString
& textStr,
64
int32_t textPos);
65
82
StringCharacterIterator
(
const
UnicodeString
& textStr,
83
int32_t textBegin,
84
int32_t textEnd,
85
int32_t textPos);
86
95
StringCharacterIterator
(
const
StringCharacterIterator
& that);
96
101
virtual
~
StringCharacterIterator
();
102
111
StringCharacterIterator
&
112
operator=
(
const
StringCharacterIterator
& that);
113
122
virtual
UBool
operator==
(
const
ForwardCharacterIterator
& that)
const
;
123
131
virtual
CharacterIterator
*
clone
(
void
)
const
;
132
138
void
setText
(
const
UnicodeString
& newText);
139
147
virtual
void
getText
(
UnicodeString
& result);
148
154
virtual
UClassID
getDynamicClassID
(
void
)
const
;
155
161
static
UClassID
U_EXPORT2
getStaticClassID
(
void
);
162
163
protected
:
168
StringCharacterIterator
();
169
176
void
setText
(
const
UChar
* newText, int32_t newTextLength);
177
182
UnicodeString
text
;
183
184
};
185
186
U_NAMESPACE_END
187
#endif
Generated on Fri Oct 4 2013 14:10:21 for ICU 52.1 by
1.8.1.2