ICU 54.1
54.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
i18n
unicode
ulocdata.h
Go to the documentation of this file.
1
/*
2
******************************************************************************
3
* *
4
* Copyright (C) 2003-2014, 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
41
typedef
enum
ULocaleDataExemplarSetType
{
43
ULOCDATA_ES_STANDARD
=0,
45
ULOCDATA_ES_AUXILIARY
=1,
47
ULOCDATA_ES_INDEX
=2,
49
ULOCDATA_ES_PUNCTUATION
=3,
51
ULOCDATA_ES_COUNT
=4
52
}
ULocaleDataExemplarSetType
;
53
57
typedef
enum
ULocaleDataDelimiterType
{
59
ULOCDATA_QUOTATION_START
= 0,
61
ULOCDATA_QUOTATION_END
= 1,
63
ULOCDATA_ALT_QUOTATION_START
= 2,
65
ULOCDATA_ALT_QUOTATION_END
= 3,
67
ULOCDATA_DELIMITER_COUNT
= 4
68
}
ULocaleDataDelimiterType
;
69
78
U_STABLE
ULocaleData
* U_EXPORT2
79
ulocdata_open
(
const
char
*localeID,
UErrorCode
*status);
80
87
U_STABLE
void
U_EXPORT2
88
ulocdata_close
(
ULocaleData
*uld);
89
90
#if U_SHOW_CPLUSPLUS_API
91
92
U_NAMESPACE_BEGIN
93
103
U_DEFINE_LOCAL_OPEN_POINTER
(
LocalULocaleDataPointer
,
ULocaleData
,
ulocdata_close
);
104
105
U_NAMESPACE_END
106
107
#endif
108
120
U_STABLE
void
U_EXPORT2
121
ulocdata_setNoSubstitute
(
ULocaleData
*uld,
UBool
setting);
122
134
U_STABLE
UBool
U_EXPORT2
135
ulocdata_getNoSubstitute
(
ULocaleData
*uld);
136
164
U_STABLE
USet
* U_EXPORT2
165
ulocdata_getExemplarSet
(
ULocaleData
*uld,
USet
*fillIn,
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
{
189
UMS_SI,
190
UMS_US
,
191
UMS_LIMIT
192
}
UMeasurementSystem
;
193
204
U_STABLE
UMeasurementSystem
U_EXPORT2
205
ulocdata_getMeasurementSystem
(
const
char
*localeID,
UErrorCode
*status);
206
223
U_STABLE
void
U_EXPORT2
224
ulocdata_getPaperSize
(
const
char
*localeID, int32_t *height, int32_t *width,
UErrorCode
*status);
225
232
U_STABLE
void
U_EXPORT2
233
ulocdata_getCLDRVersion
(
UVersionInfo
versionArray,
UErrorCode
*status);
234
250
U_STABLE
int32_t U_EXPORT2
251
ulocdata_getLocaleDisplayPattern
(
ULocaleData
*uld,
252
UChar
*pattern,
253
int32_t patternCapacity,
254
UErrorCode
*status);
255
256
272
U_STABLE
int32_t U_EXPORT2
273
ulocdata_getLocaleSeparator
(
ULocaleData
*uld,
274
UChar
*separator,
275
int32_t separatorCapacity,
276
UErrorCode
*status);
277
#endif
Generated on Mon Sep 29 2014 13:32:06 for ICU 54.1 by
1.8.1.2