#include <it_bus/string.h>
It has roughly the same interface as the ISO/ANSI C++ std::basic_string class.
Definition at line 21 of file string.h.
Public Types | |
typedef IT_UShort | UChar |
Represents a utf16 code point. | |
Public Member Functions | |
String (const char *str, IT_StringRep::Policy policy, size_t n=npos, const char *encoding=0, IT_ExceptionHandler &eh=IT_EXCEPTION_HANDLER) | |
IONA-specific constructor to allow an String to refer to an existing char[] without copying it. | |
String (const UChar *uchars, IT_StringRep::Policy policy, size_t n=npos, IT_ExceptionHandler &eh=IT_EXCEPTION_HANDLER) | |
Constructor from utf16 characters. | |
String (const UChar *sb, const IT_String &encoding, size_t n=npos, IT_StringRep::Policy policy=IT_StringRep::COPY, IT_ExceptionHandler &eh=IT_EXCEPTION_HANDLER) | |
Deprecated. | |
String (const wchar_t *wb, size_t n=npos, IT_StringRep::Policy policy=IT_StringRep::COPY, IT_ExceptionHandler &eh=IT_EXCEPTION_HANDLER) | |
Constructor from wchar_t*. | |
String & | insert (size_t pos, const UChar *uchars, size_t n=npos, IT_ExceptionHandler &eh=IT_EXCEPTION_HANDLER) |
Insert utf16 characters. | |
String & | append (const UChar *uchars, size_t n=npos, IT_ExceptionHandler &eh=IT_EXCEPTION_HANDLER) |
Append utf16 characters. | |
String & | replace (size_t pos, size_t n, const UChar *uchars, size_t n2=npos, IT_ExceptionHandler &eh=IT_EXCEPTION_HANDLER) |
Replace with utf16 string. |
|
IONA-specific constructor to allow an String to refer to an existing char[] without copying it. This is not a C++ standard string constructor. |
|
Constructor from utf16 characters.
|
|
Append utf16 characters.
|
|
Insert utf16 characters.
|
|
Replace with utf16 string.
|