ICU 52.1  52.1
ulocdata.h
Go to the documentation of this file.
1 /*
2 ******************************************************************************
3 * *
4 * Copyright (C) 2003-2013, 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 
48 #ifndef U_HIDE_DRAFT_API
49 
51 #endif /* U_HIDE_DRAFT_API */
52 
55 
71 
80 U_STABLE ULocaleData* U_EXPORT2
81 ulocdata_open(const char *localeID, UErrorCode *status);
82 
89 U_STABLE void U_EXPORT2
91 
92 #if U_SHOW_CPLUSPLUS_API
93 
95 
106 
108 
109 #endif
110 
122 U_STABLE void U_EXPORT2
124 
136 U_STABLE UBool U_EXPORT2
138 
166 U_STABLE USet* U_EXPORT2
168  uint32_t options, ULocaleDataExemplarSetType extype, UErrorCode *status);
169 
183 U_STABLE int32_t U_EXPORT2
184 ulocdata_getDelimiter(ULocaleData *uld, ULocaleDataDelimiterType type, UChar *result, int32_t resultLength, UErrorCode *status);
185 
190 typedef enum UMeasurementSystem {
191  UMS_SI,
195 
207 ulocdata_getMeasurementSystem(const char *localeID, UErrorCode *status);
208 
225 U_STABLE void U_EXPORT2
226 ulocdata_getPaperSize(const char *localeID, int32_t *height, int32_t *width, UErrorCode *status);
227 
234 U_STABLE void U_EXPORT2
235 ulocdata_getCLDRVersion(UVersionInfo versionArray, UErrorCode *status);
236 
252 U_STABLE int32_t U_EXPORT2
254  UChar *pattern,
255  int32_t patternCapacity,
256  UErrorCode *status);
257 
258 
274 U_STABLE int32_t U_EXPORT2
276  UChar *separator,
277  int32_t separatorCapacity,
278  UErrorCode *status);
279 #endif