ICU 52.1  52.1
unumsys.h
Go to the documentation of this file.
1 /*
2 *****************************************************************************************
3 * Copyright (C) 2013, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 *****************************************************************************************
6 */
7 
8 #ifndef UNUMSYS_H
9 #define UNUMSYS_H
10 
11 #include "unicode/utypes.h"
12 
13 #if !UCONFIG_NO_FORMATTING
14 
15 #include "unicode/uenum.h"
16 #include "unicode/localpointer.h"
17 
37 #ifndef U_HIDE_DRAFT_API
38 
43 struct UNumberingSystem;
57 U_DRAFT UNumberingSystem * U_EXPORT2
58 unumsys_open(const char *locale, UErrorCode *status);
59 
78 U_DRAFT UNumberingSystem * U_EXPORT2
79 unumsys_openByName(const char *name, UErrorCode *status);
80 
86 U_DRAFT void U_EXPORT2
88 
89 #if U_SHOW_CPLUSPLUS_API
91 
101 
103 #endif
104 
113 U_DRAFT UEnumeration * U_EXPORT2
115 
125 U_DRAFT const char * U_EXPORT2
126 unumsys_getName(const UNumberingSystem *unumsys);
127 
136 U_DRAFT UBool U_EXPORT2
138 
147 U_DRAFT int32_t U_EXPORT2
148 unumsys_getRadix(const UNumberingSystem *unumsys);
149 
166 U_DRAFT int32_t U_EXPORT2
167 unumsys_getDescription(const UNumberingSystem *unumsys, UChar *result,
168  int32_t resultLength, UErrorCode *status);
169 
170 #endif /* U_HIDE_DRAFT_API */
171 
172 #endif /* #if !UCONFIG_NO_FORMATTING */
173 
174 #endif