Core Library
Public Member Functions | Private Member Functions | Private Attributes
Core::WideToAnsi Class Reference

The class used to do the conversion from Wide to ANSI via the X2Y() macros. More...

#include <AnsiWide.hpp>

List of all members.

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.
WideToAnsioperator= (const WideToAnsi &)

Private Attributes

char * m_psz

Detailed Description

The class used to do the conversion from Wide to ANSI via the X2Y() macros.


Constructor & Destructor Documentation

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.

Destructor.

Core::WideToAnsi::WideToAnsi ( const WideToAnsi ) [private]

The converted string.


Member Function Documentation

Core::WideToAnsi::operator const char * ( ) const [inline]

Conversion operator for an ANSI string.

WideToAnsi& Core::WideToAnsi::operator= ( const WideToAnsi ) [private]

Member Data Documentation

char* Core::WideToAnsi::m_psz [private]

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