#include <scim_iconv.h>
Public Member Functions | |
IConvert (const String &encoding=String()) | |
Constructor. | |
IConvert (const IConvert &iconvert) | |
Copy constructor. | |
~IConvert () | |
const IConvert & | operator= (const IConvert &iconvert) |
Assign operator. | |
bool | set_encoding (const String &encoding) |
Set the working local encoding. | |
String | get_encoding () const |
Get the current working local encoding. | |
bool | convert (String &dest, const WideString &src) const |
Convert a UCS-4 encoded WideString into a local encoded String. | |
bool | convert (String &dest, const ucs4_t *src, int src_len) const |
Convert a UCS-4 encoded WideString into a local encoded String. | |
bool | convert (WideString &dest, const String &src) const |
Convert a local encoded String into a UCS-4 encoded WideString. | |
bool | convert (WideString &dest, const char *src, int src_len) const |
Convert a local encoded String into a UCS-4 encoded WideString. | |
bool | test_convert (const WideString &src) const |
Test if a UCS-4 encoded WideString can be converted to a local encoded String. | |
bool | test_convert (const ucs4_t *src, int src_len) const |
Test if a ucs-4 encoded string can be converted to a local encoded String. | |
bool | test_convert (const String &src) const |
Test if a local encoded string can be converted to a UCS-4 encoded WideString. | |
bool | test_convert (const char *src, int src_len) const |
Test if a local encoded string can be converted to a UCS-4 encoded WideString. |
|
Constructor.
|
|
Copy constructor.
|
|
|
|
Assign operator.
|
|
Set the working local encoding.
|
|
Get the current working local encoding.
|
|
Convert a UCS-4 encoded WideString into a local encoded String.
|
|
Convert a UCS-4 encoded WideString into a local encoded String.
|
|
Convert a local encoded String into a UCS-4 encoded WideString.
|
|
Convert a local encoded String into a UCS-4 encoded WideString.
|
|
Test if a UCS-4 encoded WideString can be converted to a local encoded String.
|
|
Test if a ucs-4 encoded string can be converted to a local encoded String.
|
|
Test if a local encoded string can be converted to a UCS-4 encoded WideString.
|
|
Test if a local encoded string can be converted to a UCS-4 encoded WideString.
|