CarobNS::StaticCodecs Class Reference

The only purpose of this class is to prevent direct access to the private codecs fields, while still be able to inline the calls. More...

#include <StringCodecs.hpp>

List of all members.

Static Public Member Functions

static std::wstring fromUTF8 (const std::string &in) throw (CodecException)
 Converts UTF-8 encoded string to a wide string.
static std::string toUTF8 (const std::wstring &in) throw (CodecException)
 Converts a wide string to a UTF-8 encoded string.
static std::wstring fromString (const std::string &in) throw (CodecException)
 Converts user's locale encoded string to a wide string.
static std::string toString (const std::wstring &in) throw (CodecException)
 Converts a wide string to a user's locale encoded string.


Detailed Description

The only purpose of this class is to prevent direct access to the private codecs fields, while still be able to inline the calls.

Since the methods below rely on some static initialization, they should NOT be used at initialization time!


The documentation for this class was generated from the following file:
Generated on Tue Oct 24 09:05:38 2006 for Carob by  doxygen 1.5.0