version 1.82, 2004/04/15 15:38:47
|
version 1.83, 2004/05/01 16:52:23
|
|
|
#include <Pegasus/Common/Char16.h> | #include <Pegasus/Common/Char16.h> |
#include <Pegasus/Common/Linkage.h> | #include <Pegasus/Common/Linkage.h> |
| |
const char STRING_FLAG_ASCII[] = "ASCII"; |
|
const char STRING_FLAG_UTF8[] = "UTF8"; |
|
|
|
// Locale constants | // Locale constants |
// These constants need to be defined as follows: | // These constants need to be defined as follows: |
// lower case language; underscore; Uppercase Country | // lower case language; underscore; Uppercase Country |
|
|
*/ | */ |
String(const char* str); | String(const char* str); |
| |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
/** Initialize from a plain C-String that allows UTF-8: |
|
@param str Specifies the name of the String instance. |
|
@param utfFlag Specifies the name of the character constructor. |
|
*/ |
|
String(const char* str, const char* utfFlag); |
|
#endif |
|
|
|
/** Initialize from the first n characters of a plain C-String: | /** Initialize from the first n characters of a plain C-String: |
@param str Specifies the name of the String instance. | @param str Specifies the name of the String instance. |
@param u Specifies the Uint32 size. | @param u Specifies the Uint32 size. |