#include <autowstring.h>
Public Member Functions | |
AutoWString (Falcon::VMachine *vm, const Falcon::Item &itm, const Falcon::String &fmt) | |
AutoWString (Falcon::VMachine *vm, const Falcon::Item &itm) | |
AutoWString (const Falcon::Item &itm) | |
AutoWString (const Falcon::String &str) | |
bool | isValid () const |
uint32 | length () const |
Size of the returned buffer. | |
operator const wchar_t * () const | |
const wchar_t * | w_str () const |
~AutoWString () |
Works exactly as Falcon::AutoCString, but this is meant to translate Falcon::String into the wchar_t representation of the string.
Falcon::AutoWString::AutoWString | ( | const Falcon::String & | str | ) |
Falcon::AutoWString::AutoWString | ( | const Falcon::Item & | itm | ) |
Falcon::AutoWString::AutoWString | ( | Falcon::VMachine * | vm, | |
const Falcon::Item & | itm | |||
) | [inline] |
Falcon::AutoWString::AutoWString | ( | Falcon::VMachine * | vm, | |
const Falcon::Item & | itm, | |||
const Falcon::String & | fmt | |||
) | [inline] |
Falcon::AutoWString::~AutoWString | ( | ) |
bool Falcon::AutoWString::isValid | ( | ) | const [inline] |
uint32 Falcon::AutoWString::length | ( | ) | const [inline] |
Size of the returned buffer.
This returns the number of wide characters that have been transcoded.
Falcon::AutoWString::operator const wchar_t * | ( | ) | const [inline] |
const wchar_t* Falcon::AutoWString::w_str | ( | ) | const [inline] |