Core Library
|
The class used to do the conversion from Wide to ANSI via the X2Y() macros. More...
#include <AnsiWide.hpp>
Public Member Functions | |
WideToAnsi (const wchar_t *psz) | |
Construct from a wide string. | |
WideToAnsi (const std::wstring &str) | |
Construct from a wide string. | |
~WideToAnsi () | |
Destructor. | |
operator const char * () const | |
Conversion operator for an ANSI string. | |
Private Member Functions | |
WideToAnsi (const WideToAnsi &) | |
The converted string. | |
WideToAnsi & | operator= (const WideToAnsi &) |
Private Attributes | |
char * | m_psz |
The class used to do the conversion from Wide to ANSI via the X2Y() macros.
Core::WideToAnsi::WideToAnsi | ( | const wchar_t * | psz | ) |
Construct from a wide string.
Core::WideToAnsi::WideToAnsi | ( | const std::wstring & | str | ) | [explicit] |
Construct from a wide string.
Core::WideToAnsi::~WideToAnsi | ( | ) | [inline] |
Destructor.
Core::WideToAnsi::WideToAnsi | ( | const WideToAnsi & | ) | [private] |
The converted string.
Core::WideToAnsi::operator const char * | ( | ) | const [inline] |
Conversion operator for an ANSI string.
WideToAnsi& Core::WideToAnsi::operator= | ( | const WideToAnsi & | ) | [private] |
char* Core::WideToAnsi::m_psz [private] |