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
fpositer.h
Go to the documentation of this file.
1
/*
2
********************************************************************************
3
* Copyright (C) 2010, International Business Machines
4
* Corporation and others. All Rights Reserved.
5
********************************************************************************
6
*
7
* File attiter.h
8
*
9
* Modification History:
10
*
11
* Date Name Description
12
* 12/15/2009 dougfelt Created
13
********************************************************************************
14
*/
15
16
#ifndef FPOSITER_H
17
#define FPOSITER_H
18
19
#include "
unicode/utypes.h
"
20
#include "
unicode/uobject.h
"
21
27
#if UCONFIG_NO_FORMATTING
28
29
U_NAMESPACE_BEGIN
30
31
/*
32
* Allow the declaration of APIs with pointers to FieldPositionIterator
33
* even when formatting is removed from the build.
34
*/
35
class
FieldPositionIterator
;
36
37
U_NAMESPACE_END
38
39
#else
40
41
#include "
unicode/fieldpos.h
"
42
#include "
unicode/umisc.h
"
43
44
U_NAMESPACE_BEGIN
45
46
class
UVector32;
47
53
class
U_I18N_API
FieldPositionIterator
:
public
UObject
{
54
public
:
59
~
FieldPositionIterator
();
60
65
FieldPositionIterator
(
void
);
66
72
FieldPositionIterator
(
const
FieldPositionIterator
&);
73
82
UBool
operator==
(
const
FieldPositionIterator
&)
const
;
83
90
UBool
operator!=
(
const
FieldPositionIterator
& rhs)
const
{
return
!
operator==
(rhs); }
91
97
UBool
next(
FieldPosition
& fp);
98
99
private
:
100
friend
class
FieldPositionIteratorHandler;
101
107
void
setData(UVector32 *adopt,
UErrorCode
& status);
108
109
UVector32 *data;
110
int32_t pos;
111
112
// No ICU "poor man's RTTI" for this class nor its subclasses.
113
virtual
UClassID
getDynamicClassID
()
const
;
114
};
115
116
U_NAMESPACE_END
117
118
#endif
/* #if !UCONFIG_NO_FORMATTING */
119
120
#endif // FPOSITER_H
Generated on Mon Sep 5 2016 23:59:33 for ICU 4.8.1.1 by
1.8.1.2