#include <string.h>

Public Member Functions | |
| CoreString (const String &other, uint32 begin, uint32 end=csh::npos) | |
| CoreString (uint32 prealloc) | |
| Creates a bufferized string with preallocated space. | |
| CoreString (const wchar_t *data, int32 len) | |
| CoreString (const char *data, int32 len) | |
| CoreString (const wchar_t *data) | |
| CoreString (const char *data) | |
| CoreString (const CoreString &str) | |
| CoreString (const String &str) | |
| CoreString () | |
| StringGarbage & | garbage () |
| const StringGarbage & | garbage () const |
| void | mark (uint32 m) |
| CoreString & | operator+= (const wchar_t *other) |
| CoreString & | operator+= (wchar_t other) |
| CoreString & | operator+= (const char *other) |
| CoreString & | operator+= (char other) |
| CoreString & | operator+= (uint32 other) |
| CoreString & | operator+= (const String &other) |
| CoreString & | operator+= (const CoreString &other) |
| CoreString & | operator= (const char *other) |
| Assign from a const char string. | |
| CoreString & | operator= (uint32 chr) |
| CoreString & | operator= (const String &other) |
| CoreString & | operator= (const CoreString &other) |
This is the String used in VM operations (i.e. in all the VM items). It is allocated inside the garbage collector, and cannot be directly deleted.
| Falcon::CoreString::CoreString | ( | ) | [inline] |
| Falcon::CoreString::CoreString | ( | const String & | str | ) | [inline] |
| Falcon::CoreString::CoreString | ( | const CoreString & | str | ) | [inline] |
| Falcon::CoreString::CoreString | ( | const char * | data | ) | [inline] |
| Falcon::CoreString::CoreString | ( | const wchar_t * | data | ) | [inline] |
| Falcon::CoreString::CoreString | ( | const char * | data, | |
| int32 | len | |||
| ) | [inline] |
| Falcon::CoreString::CoreString | ( | const wchar_t * | data, | |
| int32 | len | |||
| ) | [inline] |
| Falcon::CoreString::CoreString | ( | uint32 | prealloc | ) | [inline, explicit] |
Creates a bufferized string with preallocated space.
| Falcon::CoreString::CoreString | ( | const String & | other, | |
| uint32 | begin, | |||
| uint32 | end = csh::npos | |||
| ) | [inline] |
| StringGarbage& Falcon::CoreString::garbage | ( | ) | [inline] |
| const StringGarbage& Falcon::CoreString::garbage | ( | ) | const [inline] |
| void Falcon::CoreString::mark | ( | uint32 | m | ) | [inline] |
| CoreString& Falcon::CoreString::operator+= | ( | const wchar_t * | other | ) | [inline] |
Reimplemented from Falcon::String.
| CoreString& Falcon::CoreString::operator+= | ( | wchar_t | other | ) | [inline] |
Reimplemented from Falcon::String.
| CoreString& Falcon::CoreString::operator+= | ( | const char * | other | ) | [inline] |
Reimplemented from Falcon::String.
| CoreString& Falcon::CoreString::operator+= | ( | char | other | ) | [inline] |
Reimplemented from Falcon::String.
| CoreString& Falcon::CoreString::operator+= | ( | uint32 | other | ) | [inline] |
Reimplemented from Falcon::String.
| CoreString& Falcon::CoreString::operator+= | ( | const String & | other | ) | [inline] |
Reimplemented from Falcon::String.
| CoreString& Falcon::CoreString::operator+= | ( | const CoreString & | other | ) | [inline] |
| CoreString& Falcon::CoreString::operator= | ( | const char * | other | ) | [inline] |
Assign from a const char string.
If this string is not empty, its content are destroyed; then this object is changed into a static zero terminated C string and the phisical location of the const char assigned to this string is taken as undestroyable reference. This operation is meant for C string phisically stored somewhere in the program and that stay valid for the whole program duration, or at least for the whole lifespan of this Falcon::String object.
Reimplemented from Falcon::String.
| CoreString& Falcon::CoreString::operator= | ( | uint32 | chr | ) | [inline] |
Reimplemented from Falcon::String.
| CoreString& Falcon::CoreString::operator= | ( | const String & | other | ) | [inline] |
Reimplemented from Falcon::String.
| CoreString& Falcon::CoreString::operator= | ( | const CoreString & | other | ) | [inline] |
1.5.8