ICU 56.1  56.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ulocdata.h
Go to the documentation of this file.
1 /*
2 ******************************************************************************
3 * *
4 * Copyright (C) 2003-2015, International Business Machines *
5 * Corporation and others. All Rights Reserved. *
6 * *
7 ******************************************************************************
8 * file name: ulocdata.h
9 * encoding: US-ASCII
10 * tab size: 8 (not used)
11 * indentation:4
12 *
13 * created on: 2003Oct21
14 * created by: Ram Viswanadha
15 */
16 
17 #ifndef __ULOCDATA_H__
18 #define __ULOCDATA_H__
19 
20 #include "unicode/ures.h"
21 #include "unicode/uloc.h"
22 #include "unicode/uset.h"
23 #include "unicode/localpointer.h"
24 
31 struct ULocaleData;
32 
34 typedef struct ULocaleData ULocaleData;
35 
36 
37 
53 
69 
78 U_STABLE ULocaleData* U_EXPORT2
79 ulocdata_open(const char *localeID, UErrorCode *status);
80 
87 U_STABLE void U_EXPORT2
89 
90 #if U_SHOW_CPLUSPLUS_API
91 
93 
104 
106 
107 #endif
108 
120 U_STABLE void U_EXPORT2
122 
134 U_STABLE UBool U_EXPORT2
136 
164 U_STABLE USet* U_EXPORT2
166  uint32_t options, ULocaleDataExemplarSetType extype, UErrorCode *status);
167 
181 U_STABLE int32_t U_EXPORT2
182 ulocdata_getDelimiter(ULocaleData *uld, ULocaleDataDelimiterType type, UChar *result, int32_t resultLength, UErrorCode *status);
183 
188 typedef enum UMeasurementSystem {
192  UMS_LIMIT
194 
206 ulocdata_getMeasurementSystem(const char *localeID, UErrorCode *status);
207 
224 U_STABLE void U_EXPORT2
225 ulocdata_getPaperSize(const char *localeID, int32_t *height, int32_t *width, UErrorCode *status);
226 
233 U_STABLE void U_EXPORT2
234 ulocdata_getCLDRVersion(UVersionInfo versionArray, UErrorCode *status);
235 
251 U_STABLE int32_t U_EXPORT2
253  UChar *pattern,
254  int32_t patternCapacity,
255  UErrorCode *status);
256 
257 
273 U_STABLE int32_t U_EXPORT2
275  UChar *separator,
276  int32_t separatorCapacity,
277  UErrorCode *status);
278 #endif