ICU 65.1  65.1
ufieldpositer.h
Go to the documentation of this file.
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4 *****************************************************************************************
5 * Copyright (C) 2015-2016, International Business Machines
6 * Corporation and others. All Rights Reserved.
7 *****************************************************************************************
8 */
9 
10 #ifndef UFIELDPOSITER_H
11 #define UFIELDPOSITER_H
12 
13 #include "unicode/utypes.h"
14 
15 #if !UCONFIG_NO_FORMATTING
16 
17 #include "unicode/localpointer.h"
18 
57 
64 U_STABLE void U_EXPORT2
66 
67 
68 #if U_SHOW_CPLUSPLUS_API
69 
70 U_NAMESPACE_BEGIN
71 
82 
83 U_NAMESPACE_END
84 
85 #endif
86 
115 U_STABLE int32_t U_EXPORT2
117  int32_t *beginIndex, int32_t *endIndex);
118 
119 #endif /* #if !UCONFIG_NO_FORMATTING */
120 
121 #endif
UFieldPositionIterator * ufieldpositer_open(UErrorCode *status)
Open a new, unset UFieldPositionIterator object.
struct UFieldPositionIterator UFieldPositionIterator
C typedef for struct UFieldPositionIterator.
Definition: ufieldpositer.h:44
#define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction)
"Smart pointer" definition macro, deletes objects via the closeFunction.
Definition: localpointer.h:562
"Smart pointer" class, closes a UFieldPositionIterator via ufieldpositer_close(). ...
C++ API: "Smart pointers" for use with and in ICU4C C++ code.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
Definition: utypes.h:415
void ufieldpositer_close(UFieldPositionIterator *fpositer)
Close a UFieldPositionIterator object.
Basic definitions for ICU, for both C and C++ APIs.
int32_t ufieldpositer_next(UFieldPositionIterator *fpositer, int32_t *beginIndex, int32_t *endIndex)
Get information for the next field in the formatted string to which this UFieldPositionIterator curre...
#define U_STABLE
This is used to declare a function as a stable public ICU C API.
Definition: umachine.h:111