00001 // © 2016 and later: Unicode, Inc. and others. 00002 // License & terms of use: http://www.unicode.org/copyright.html 00003 /* 00004 ***************************************************************************************** 00005 * Copyright (C) 2015-2016, International Business Machines 00006 * Corporation and others. All Rights Reserved. 00007 ***************************************************************************************** 00008 */ 00009 00010 #ifndef UFIELDPOSITER_H 00011 #define UFIELDPOSITER_H 00012 00013 #include "unicode/utypes.h" 00014 00015 #if !UCONFIG_NO_FORMATTING 00016 00017 #include "unicode/localpointer.h" 00018 00043 struct UFieldPositionIterator; 00044 typedef struct UFieldPositionIterator UFieldPositionIterator; 00055 U_STABLE UFieldPositionIterator* U_EXPORT2 00056 ufieldpositer_open(UErrorCode* status); 00057 00064 U_STABLE void U_EXPORT2 00065 ufieldpositer_close(UFieldPositionIterator *fpositer); 00066 00067 00068 #if U_SHOW_CPLUSPLUS_API 00069 00070 U_NAMESPACE_BEGIN 00071 00081 U_DEFINE_LOCAL_OPEN_POINTER(LocalUFieldPositionIteratorPointer, UFieldPositionIterator, ufieldpositer_close); 00082 00083 U_NAMESPACE_END 00084 00085 #endif 00086 00115 U_STABLE int32_t U_EXPORT2 00116 ufieldpositer_next(UFieldPositionIterator *fpositer, 00117 int32_t *beginIndex, int32_t *endIndex); 00118 00119 #endif /* #if !UCONFIG_NO_FORMATTING */ 00120 00121 #endif
1.6.1