![]() |
Public API Reference |
Helper class to convert char* (UTF-8 encoded )to wchar_t* strings for use as function parameters. More...
#include <csutil/util.h>
Public Member Functions | |
| csCtoW (const char *s) | |
| Constructor. | |
| operator const wchar_t * () const | |
| Retrieve the converted string. | |
| ~csCtoW () | |
| Deletes the internally stored string. | |
Helper class to convert char* (UTF-8 encoded )to wchar_t* strings for use as function parameters.
Use of this helper class is more convenient than a csStrNewW() / delete[] pair, but essentially does the same (with the convenience of automatic cleanup).
| csCtoW::csCtoW | ( | const char * | s | ) | [inline] |
| csCtoW::~csCtoW | ( | ) | [inline] |
| csCtoW::operator const wchar_t * | ( | ) | const [inline] |