ICU 50.1.2  50.1.2
ulocdata.h
Go to the documentation of this file.
1 /*
2 ******************************************************************************
3 * *
4 * Copyright (C) 2003-2012, 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 
51 
67 
76 U_STABLE ULocaleData* U_EXPORT2
77 ulocdata_open(const char *localeID, UErrorCode *status);
78 
85 U_STABLE void U_EXPORT2
87 
88 #if U_SHOW_CPLUSPLUS_API
89 
91 
102 
104 
105 #endif
106 
118 U_STABLE void U_EXPORT2
120 
132 U_STABLE UBool U_EXPORT2
134 
162 U_STABLE USet* U_EXPORT2
164  uint32_t options, ULocaleDataExemplarSetType extype, UErrorCode *status);
165 
179 U_STABLE int32_t U_EXPORT2
180 ulocdata_getDelimiter(ULocaleData *uld, ULocaleDataDelimiterType type, UChar *result, int32_t resultLength, UErrorCode *status);
181 
186 typedef enum UMeasurementSystem {
187  UMS_SI,
191 
203 ulocdata_getMeasurementSystem(const char *localeID, UErrorCode *status);
204 
221 U_STABLE void U_EXPORT2
222 ulocdata_getPaperSize(const char *localeID, int32_t *height, int32_t *width, UErrorCode *status);
223 
230 U_STABLE void U_EXPORT2
231 ulocdata_getCLDRVersion(UVersionInfo versionArray, UErrorCode *status);
232 
248 U_STABLE int32_t U_EXPORT2
250  UChar *pattern,
251  int32_t patternCapacity,
252  UErrorCode *status);
253 
254 
270 U_STABLE int32_t U_EXPORT2
272  UChar *separator,
273  int32_t separatorCapacity,
274  UErrorCode *status);
275 #endif