10#ifndef UFIELDPOSITER_H
11#define UFIELDPOSITER_H
15#if !UCONFIG_NO_FORMATTING
17#if U_SHOW_CPLUSPLUS_API
70#if U_SHOW_CPLUSPLUS_API
119 int32_t *beginIndex, int32_t *endIndex);
"Smart pointer" class, closes a UFieldPositionIterator via ufieldpositer_close().
C++ API: "Smart pointers" for use with and in ICU4C C++ code.
#define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction)
"Smart pointer" definition macro, deletes objects via the closeFunction.
U_CAPI void ufieldpositer_close(UFieldPositionIterator *fpositer)
Close a UFieldPositionIterator object.
U_CAPI UFieldPositionIterator * ufieldpositer_open(UErrorCode *status)
Open a new, unset UFieldPositionIterator object.
U_CAPI 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...
struct UFieldPositionIterator UFieldPositionIterator
C typedef for struct UFieldPositionIterator.
#define U_CAPI
This is used to declare a function as a public ICU C API.
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.