|
|
|
Constructs a null string.
|
Constructs a string from the single character c.
|
Constructs a string from a classical zero determined char string.
|
Constructs a string from an array of Unicode characters of the specified length.
|
If copy is false a shallow copy of the string will be created. That means that the data will NOT be copied and you'll have to guarantee that it doesn't get deleted during the lifetime of the UString object. Behaviour defaults to a deep copy if copy is true.
|
Copy constructor. Makes a shallow copy only.
|
Convenience declaration only ! You'll be on your own to write the implementation for a construction from QString.
Note: feel free to contact me if you want to see a dummy header for your favourite FooString class here !
|
Convenience declaration only ! See UString(const QString&).
~ |
Destructor. If this handle was the only one holding a reference to the string the data will be freed.
UString |
[static]
Constructs a string from an int.
UString |
[static]
Constructs a string from an unsigned int.
UString |
[static]
Constructs a string from a double.
UString & |
Append another string.
CString |
[const]
Returns: The string converted to the 8-bit string type CString().
char * |
[const]
Convert the Unicode string to plain ASCII chars chopping of any higher bytes. This method should only be used for *debugging* purposes as it is neither Unicode safe nor free from side effects. In order not to waste any memory the char buffer is static and *shared* by all UString instances.
DOM::DOMString |
[const]
See also: UString(const, QString&).
QString |
[const]
See also: UString(const, QString&).
QConstString |
[const]
See also: UString(const, QString&).
UString & |
Assignment operator.
UString & |
Assignment operator.
UString & |
Appends the specified string.
const UChar* |
[const]
Returns: A pointer to the internal Unicode data.
bool |
[const]
Returns: True if null.
bool |
[const]
Returns: True if null or zero length.
bool |
[const]
Use this if you want to make sure that this string is a plain ASCII string. For example, if you don't want to lose any information when using cstring() or ascii().
Returns: True if the string doesn't contain any non-ASCII characters.
int |
[const]
Returns: The length of the string.
UChar |
[const]
Const character at specified position.
UCharReference |
Writable reference to character at specified position.
double |
[const]
Attempts an conversion to a number. Apart from floating point numbers, the algorithm will recognize hexadecimal representations (as indicated by a 0x or 0X prefix) and +/- Infinity.
int |
[const]
Returns: Position of first occurence of f starting at position pos. -1 if the search was not successful.
int |
[const]
Returns: Position of first occurence of f searching backwards from position pos. -1 if the search was not successful.
UString |
[const]
Returns: The sub string starting at position pos and length len.
static UString |
Static instance of a null string.
Generated by: prospector@porky.devel.redhat.com on Thu Aug 24 05:36:23 2000, using kdoc 2.0a36. |