class CASL::CharConventer

conventor between various char types

Public Methods

[more]static WCharReader* createReader(std::istream& in, const char* encoding)
[more]static WCharWriter* createWriter(std::ostream& out, const char* encoding)
[more]static bool encodingIsSupported(const char* encoding)
[more]static Encoding* getEncoding(int encodingIndex)
[more]static Encoding* getEncoding(const char* encoding)
[more]static int getEncodingIndex(const char* encoding)
[more]static StringChunk toEncoding(const WStringChunk& chunk, const char* encoding)
[more]static StringChunk toEncoding(const std::wstring& x, const char* encoding)
[more]static WStringChunk toUtf16(const StringChunk& chunk, const char* encoding)
[more]static WStringChunk toUtf16(const std::string& x, int encodingIndex)
[more]static WStringChunk toUtf16(const std::string& x, const char* encoding)
[more]static WStringChunk toUtf16(const char* x, int encodingIndex)
[more]static WStringChunk toUtf16(const char* x, const char* encoding)
[more]static WStringChunk toUtf16(const StringChunk& chunk, int encodingIndex)
[more]static StringChunk toUtf8(const WStringChunk& x)
[more]static StringChunk toUtf8(const std::wstring& x)

Public Members

[more]struct EncodingNotFound: public Exception


Documentation

conventor between various char types
ostruct EncodingNotFound: public Exception

ostatic bool encodingIsSupported(const char* encoding)

ostatic int getEncodingIndex(const char* encoding)

ostatic Encoding* getEncoding(const char* encoding)

ostatic Encoding* getEncoding(int encodingIndex)

ostatic WCharReader* createReader(std::istream& in, const char* encoding)

ostatic WCharWriter* createWriter(std::ostream& out, const char* encoding)

ostatic WStringChunk toUtf16(const StringChunk& chunk, int encodingIndex)

ostatic WStringChunk toUtf16(const StringChunk& chunk, const char* encoding)

ostatic WStringChunk toUtf16(const std::string& x, int encodingIndex)

ostatic WStringChunk toUtf16(const std::string& x, const char* encoding)

ostatic WStringChunk toUtf16(const char* x, int encodingIndex)

ostatic WStringChunk toUtf16(const char* x, const char* encoding)

ostatic StringChunk toUtf8(const WStringChunk& x)

ostatic StringChunk toUtf8(const std::wstring& x)

ostatic StringChunk toEncoding(const WStringChunk& chunk, const char* encoding)

ostatic StringChunk toEncoding(const std::wstring& x, const char* encoding)


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.