356 #ifndef U_HIDE_DEPRECATED_API 478 #ifndef U_HIDE_DEPRECATED_API 486 #endif // U_HIDE_DEPRECATED_API 633 #if U_SHOW_CPLUSPLUS_API
UScriptCode uscript_getScript(UChar32 codepoint, UErrorCode *err)
Gets the script code associated with the given codepoint.
Canadian_Aboriginal script.
New script code in Unicode 4.0.1.
Candidate for Exclusion from Identifiers.
const char * uscript_getName(UScriptCode scriptCode)
Returns the long Unicode script name, if there is one.
int32_t uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode)
Writes the script sample character string.
One more than the highest normal UScriptCode value.
UBool uscript_isCased(UScriptCode script)
Returns TRUE if in modern (or most recent) usage of the script case distinctions are customary...
UScriptCode
Constants for ISO 15924 script codes.
UBool uscript_isRightToLeft(UScriptCode script)
Returns TRUE if the script is written right-to-left.
UScriptUsage uscript_getUsage(UScriptCode script)
Returns the script usage according to UAX #31 Unicode Identifier and Pattern Syntax.
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
int32_t uscript_getScriptExtensions(UChar32 c, UScriptCode *scripts, int32_t capacity, UErrorCode *errorCode)
Writes code point c's Script_Extensions as a list of UScriptCode values to the output scripts array a...
int32_t UChar32
Define UChar32 as a type for single Unicode code points.
uint16_t UChar
The base type for UTF-16 code units and pointers.
UBool uscript_breaksBetweenLetters(UScriptCode script)
Returns TRUE if the script allows line breaks between letters (excluding hyphenation).
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
Canadian_Aboriginal script (alias).
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
UScriptUsage
Script usage constants.
Basic definitions for ICU, for both C and C++ APIs.
const char * uscript_getShortName(UScriptCode scriptCode)
Returns the 4-letter ISO 15924 script code, which is the same as the short Unicode script name if Uni...
int32_t uscript_getCode(const char *nameOrAbbrOrLocale, UScriptCode *fillIn, int32_t capacity, UErrorCode *err)
Gets the script codes associated with the given locale or ISO 15924 abbreviation or name...
#define U_COMMON_API
Set to export library symbols from inside the common library, and to import them from outside...
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
UBool uscript_hasScript(UChar32 c, UScriptCode sc)
Do the Script_Extensions of code point c contain script sc? If c does not have explicit Script_Extens...
U_COMMON_API icu::UnicodeString uscript_getSampleUnicodeString(UScriptCode script)
Returns the script sample character string.
#define U_STABLE
This is used to declare a function as a stable public ICU C API.
int8_t UBool
The ICU boolean type.