#include <ut_mbtowc.h>
Classes | |
class | Converter |
Public Member Functions | |
void | initialize (bool clear=true) |
UT_UCS2_mbtowc (const char *from_charset) | |
~UT_UCS2_mbtowc () | |
void | setInCharset (const char *from_charset) |
int | mbtowc (UT_UCS2Char &wc, char mb) |
UT_UCS2_mbtowc () | |
Private Member Functions | |
UT_UCS2_mbtowc (const UT_UCS2_mbtowc &v) | |
UT_UCS2_mbtowc & | operator= (const UT_UCS2_mbtowc &rhs) |
Private Attributes | |
Converter * | m_converter |
size_t | m_bufLen |
char | m_buf [iMbLenMax] |
UT_UCS2_mbtowc::UT_UCS2_mbtowc | ( | const char * | from_charset | ) |
UT_UCS2_mbtowc::~UT_UCS2_mbtowc | ( | ) |
References m_converter.
UT_UCS2_mbtowc::UT_UCS2_mbtowc | ( | ) |
UT_UCS2_mbtowc::UT_UCS2_mbtowc | ( | const UT_UCS2_mbtowc & | v | ) | [private] |
void UT_UCS2_mbtowc::initialize | ( | bool | clear = true |
) |
References UT_UCS2_mbtowc::Converter::initialize(), m_bufLen, and m_converter.
Referenced by mbtowc().
int UT_UCS2_mbtowc::mbtowc | ( | UT_UCS2Char & | wc, | |
char | mb | |||
) |
References UT_UCS2_mbtowc::Converter::cd(), abicollab::service::error(), FREEP, gchar, iMbLenMax, initialize(), m_buf, m_bufLen, m_converter, and UT_iconv_isValid().
Referenced by UT_UCS2_strcpy_char().
UT_UCS2_mbtowc& UT_UCS2_mbtowc::operator= | ( | const UT_UCS2_mbtowc & | rhs | ) | [private] |
void UT_UCS2_mbtowc::setInCharset | ( | const char * | from_charset | ) |
References m_converter.
char UT_UCS2_mbtowc::m_buf[iMbLenMax] [private] |
Referenced by mbtowc().
size_t UT_UCS2_mbtowc::m_bufLen [private] |
Referenced by initialize(), and mbtowc().
Converter* UT_UCS2_mbtowc::m_converter [private] |
Referenced by initialize(), mbtowc(), setInCharset(), and ~UT_UCS2_mbtowc().