#include <StringCodecs.hpp>
Public Member Functions | |
std::string | encode (const std::wstring &) const throw (CodecException) |
Encodes the given string using the locale set in the constructor. | |
std::wstring | decode (const std::string &) const throw (CodecException) |
Decodes the given string using the locale set in the constructor. | |
MBSCodec () | |
Default constructor for the default converter, using user-defined locale (typically LANG, LC_etc). | |
MBSCodec (const std::locale &locarg) | |
Use locarg locale for conversions. | |
MBSCodec (const char *locname) throw (CodecException) | |
Use locale named locname for conversions. |
CarobNS::MBSCodec::MBSCodec | ( | ) | [inline] |
CarobNS::MBSCodec::MBSCodec | ( | const std::locale & | locarg | ) | [inline] |
Use locarg locale for conversions.
locarg | locale to be used |
CarobNS::MBSCodec::MBSCodec | ( | const char * | locname | ) | throw (CodecException) [inline] |
Use locale named locname for conversions.
locname | name of the locale to be used |