Go to the documentation of this file.
15 #if !UCONFIG_NO_FORMATTING
19 #if U_SHOW_CPLUSPLUS_API
21 #endif // U_SHOW_CPLUSPLUS_API
92 #if U_SHOW_CPLUSPLUS_API
129 U_CAPI const char * U_EXPORT2
U_CAPI UNumberingSystem * unumsys_openByName(const char *name, UErrorCode *status)
Opens a UNumberingSystem object using the name of one of the predefined numbering systems specified b...
Basic definitions for ICU, for both C and C++ APIs.
int8_t UBool
The ICU boolean type, a signed-byte integer.
U_CAPI UBool unumsys_isAlgorithmic(const UNumberingSystem *unumsys)
Returns whether the given UNumberingSystem object is for an algorithmic (not purely positional) syste...
const U_CAPI char * unumsys_getName(const UNumberingSystem *unumsys)
Returns the name of the specified UNumberingSystem object (if it is one of the predefined names known...
U_CAPI void unumsys_close(UNumberingSystem *unumsys)
Close a UNumberingSystem object.
U_CAPI int32_t unumsys_getDescription(const UNumberingSystem *unumsys, UChar *result, int32_t resultLength, UErrorCode *status)
Get the description string of the specified UNumberingSystem object.
U_CAPI UNumberingSystem * unumsys_open(const char *locale, UErrorCode *status)
Opens a UNumberingSystem object using the default numbering system for the specified locale.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
#define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction)
struct UNumberingSystem UNumberingSystem
C typedef for struct UNumberingSystem.
U_CAPI int32_t unumsys_getRadix(const UNumberingSystem *unumsys)
Returns the radix of the specified UNumberingSystem object.
C++ API: "Smart pointers" for use with and in ICU4C C++ code.
U_CAPI UEnumeration * unumsys_openAvailableNames(UErrorCode *status)
Returns an enumeration over the names of all of the predefined numbering systems known to ICU.
struct UEnumeration UEnumeration
structure representing an enumeration object instance
#define U_CAPI
This is used to declare a function as a public ICU C API.
C API: String Enumeration.