textcodec.h File Reference
#include <cxxtools/char.h>
#include <cxxtools/conversionerror.h>
#include <string>

Go to the source code of this file.

Classes

class  std::codecvt_base
class  std::codecvt< I, E, S >
class  cxxtools::TextCodec< I, E >
 Generic TextCodec class/facet which may be subclassed by specific Codec classes. More...

Namespaces

namespace  std
namespace  cxxtools

Functions

template<typename CodecType >
std::basic_string< typename
CodecType::InternT > 
cxxtools::decode (const typename CodecType::ExternT *data, unsigned size)
 helper template function for decoding data using a codec.
template<typename CodecType >
std::basic_string< typename
CodecType::InternT > 
cxxtools::decode (const std::basic_string< typename CodecType::ExternT > &data)
 helper template function for decoding strings using a codec.
template<typename CodecType >
std::basic_string< typename
CodecType::ExternT > 
cxxtools::encode (const typename CodecType::InternT *data, unsigned size)
template<typename CodecType >
std::basic_string< typename
CodecType::ExternT > 
cxxtools::encode (const std::basic_string< typename CodecType::InternT > &data)
 helper template function for encoding strings using a codec.