Falcon::AutoWString Class Reference

Automatically converts and allocate temporary memory for C wide character strings. More...

#include <autowstring.h>

List of all members.

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 ()


Detailed Description

Automatically converts and allocate temporary memory for C wide character strings.

Works exactly as Falcon::AutoCString, but this is meant to translate Falcon::String into the wchar_t representation of the string.

See also:
Falcon::AutoCString

Constructor & Destructor Documentation

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 (  ) 


Member Function Documentation

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]


The documentation for this class was generated from the following file:

Generated on Mon Oct 19 10:11:32 2009 for Falcon_Core by  doxygen 1.5.8