#include "unicode/rep.h"
Go to the source code of this file.
Data Structures | |
class | UnicodeString |
UnicodeString is a string class that stores Unicode characters directly and provides similar functionality as the Java String and StringBuffer classes. More... | |
Defines | |
#define | U_COMPARE_CODE_POINT_ORDER 0x8000 |
Option bit for u_strCaseCompare, u_strcasecmp, unorm_compare, etc: Compare strings in code point order instead of code unit order. | |
#define | US_INV UnicodeString::kInvariant |
Constant to be used in the UnicodeString(char *, int32_t, EInvariant) constructor which constructs a Unicode string from an invariant-character char * string. | |
#define | UNICODE_STRING(cs, _length) UnicodeString(TRUE, (const UChar *)L ## cs, _length) |
Unicode String literals in C++. | |
#define | UNICODE_STRING_SIMPLE(cs) UnicodeString(TRUE, (const UChar *)L ## cs, -1) |
Unicode String literals in C++. | |
Functions | |
int32_t | u_strlen (const UChar *s) |
Determine the length of an array of UChar. | |
U_COMMON_API UnicodeString | operator+ (const UnicodeString &s1, const UnicodeString &s2) |
Create a new UnicodeString with the concatenation of two others. |
Definition in file unistr.h.
|
Option bit for u_strCaseCompare, u_strcasecmp, unorm_compare, etc: Compare strings in code point order instead of code unit order.
|
|
Unicode String literals in C++. Dependent on the platform properties, different UnicodeString constructors should be used to create a UnicodeString object from a string literal. The macros are defined for maximum performance. They work only for strings that contain "invariant characters", i.e., only latin letters, digits, and some punctuation. See utypes.h for details.
The string parameter must be a C string literal. The length of the string, not including the terminating
|
|
Unicode String literals in C++. Dependent on the platform properties, different UnicodeString constructors should be used to create a UnicodeString object from a string literal. The macros are defined for improved performance. They work only for strings that contain "invariant characters", i.e., only latin letters, digits, and some punctuation. See utypes.h for details. The string parameter must be a C string literal.
|
|
Constant to be used in the UnicodeString(char *, int32_t, EInvariant) constructor which constructs a Unicode string from an invariant-character char * string. About invariant characters see utypes.h. This constructor has no runtime dependency on conversion code and is therefore recommended over ones taking a charset name string (where the empty string "" indicates invariant-character conversion).
|
|
Create a new UnicodeString with the concatenation of two others.
|