codecvt< wchar_t, char, mbstate_t > Class Template Reference

template <>
class codecvt< wchar_t, char, mbstate_t > : public locale::facet

Inherits from

  • codecvt< wchar_t, char, mbstate_t >
    Public Member Functions
    codecvt(size_t)
    boolalways_noconv()
    intencoding()
    resultin(mbstate_t &, const char *, const char *, const char *&, wchar_t *, wchar_t *, wchar_t *&)
    intlength(const mbstate_t &, const char *, const char *, size_t)
    intmax_length()
    resultout(mbstate_t &, const wchar_t *, const wchar_t *, const wchar_t *&, char *, char *, char *&)
    resultunshift(mbstate_t &, char *, char *, char *&)
    Protected Member Functions
    ~codecvt()
    _STLP_DECLSPEC booldo_always_noconv()
    _STLP_DECLSPEC intdo_encoding()
    _STLP_DECLSPEC resultdo_in(mbstate_t &, const char *, const char *, const char *&, wchar_t *, wchar_t *, wchar_t *&)
    _STLP_DECLSPEC intdo_length(const mbstate_t &, const char *, const char *, size_t)
    _STLP_DECLSPEC intdo_max_length()
    _STLP_DECLSPEC resultdo_out(mbstate_t &, const wchar_t *, const wchar_t *, const wchar_t *&, char *, char *, char *&)
    _STLP_DECLSPEC resultdo_unshift(mbstate_t &, char *, char *, char *&)
    Private Member Functions
    codecvt(const codecvt< wchar_t, char, mbstate_t > &)
    codecvt< wchar_t, char, mbstate_t > &operator=(const codecvt< wchar_t, char, mbstate_t > &)
    Inherited Functions
    _Refcount_Base::_M_decr()
    _Refcount_Base::_M_incr()
    _Refcount_Base::_Refcount_Base(__stl_atomic_t)
    locale::facet::facet(size_t)
    locale::facet::~facet()
    Public Member Type Definitions
    typedefchar extern_type
    typedefwchar_t intern_type
    typedefmbstate_t state_type
    Public Attributes
    _STLP_STATIC_MEMBER_DECLSPEC locale::idid

    Constructor & Destructor Documentation

    codecvt(size_t)

    codecvt(size_t__refs = 0)[inline, explicit]

    Parameters

    size_t __refs = 0

    codecvt(const codecvt< wchar_t, char, mbstate_t > &)

    codecvt(const codecvt< wchar_t, char, mbstate_t > &)[private]

    Parameters

    const codecvt< wchar_t, char, mbstate_t > &

    ~codecvt()

    _STLP_DECLSPEC~codecvt()[protected]

    Member Functions Documentation

    always_noconv()

    boolalways_noconv()const [inline]

    do_always_noconv()

    _STLP_DECLSPEC booldo_always_noconv()const [protected, virtual]

    do_encoding()

    _STLP_DECLSPEC intdo_encoding()const [protected, virtual]

    do_in(mbstate_t &, const char *, const char *, const char *&, wchar_t *, wchar_t *, wchar_t *&)

    _STLP_DECLSPEC resultdo_in(mbstate_t &__state,
    const char *__from,
    const char *__from_end,
    const char *&__from_next,
    wchar_t *__to,
    wchar_t *__to_limit,
    wchar_t *&__to_next
    )const [protected, virtual]

    Parameters

    mbstate_t & __state
    const char * __from
    const char * __from_end
    const char *& __from_next
    wchar_t * __to
    wchar_t * __to_limit
    wchar_t *& __to_next

    do_length(const mbstate_t &, const char *, const char *, size_t)

    _STLP_DECLSPEC intdo_length(const mbstate_t &__state,
    const char *__from,
    const char *__end,
    size_t__max
    )const [protected, virtual]

    Parameters

    const mbstate_t & __state
    const char * __from
    const char * __end
    size_t __max

    do_max_length()

    _STLP_DECLSPEC intdo_max_length()const [protected, virtual]

    do_out(mbstate_t &, const wchar_t *, const wchar_t *, const wchar_t *&, char *, char *, char *&)

    _STLP_DECLSPEC resultdo_out(mbstate_t &__state,
    const wchar_t *__from,
    const wchar_t *__from_end,
    const wchar_t *&__from_next,
    char *__to,
    char *__to_limit,
    char *&__to_next
    )const [protected, virtual]

    Parameters

    mbstate_t & __state
    const wchar_t * __from
    const wchar_t * __from_end
    const wchar_t *& __from_next
    char * __to
    char * __to_limit
    char *& __to_next

    do_unshift(mbstate_t &, char *, char *, char *&)

    _STLP_DECLSPEC resultdo_unshift(mbstate_t &__state,
    char *__to,
    char *__to_limit,
    char *&__to_next
    )const [protected, virtual]

    Parameters

    mbstate_t & __state
    char * __to
    char * __to_limit
    char *& __to_next

    encoding()

    intencoding()const [inline]

    in(mbstate_t &, const char *, const char *, const char *&, wchar_t *, wchar_t *, wchar_t *&)

    resultin(mbstate_t &__state,
    const char *__from,
    const char *__from_end,
    const char *&__from_next,
    wchar_t *__to,
    wchar_t *__to_limit,
    wchar_t *&__to_next
    )const [inline]

    Parameters

    mbstate_t & __state
    const char * __from
    const char * __from_end
    const char *& __from_next
    wchar_t * __to
    wchar_t * __to_limit
    wchar_t *& __to_next

    length(const mbstate_t &, const char *, const char *, size_t)

    intlength(const mbstate_t &__state,
    const char *__from,
    const char *__end,
    size_t__max
    )const [inline]

    Parameters

    const mbstate_t & __state
    const char * __from
    const char * __end
    size_t __max

    max_length()

    intmax_length()const [inline]

    operator=(const codecvt< wchar_t, char, mbstate_t > &)

    codecvt< wchar_t, char, mbstate_t > &operator=(const codecvt< wchar_t, char, mbstate_t > &)[private]

    Parameters

    const codecvt< wchar_t, char, mbstate_t > &

    out(mbstate_t &, const wchar_t *, const wchar_t *, const wchar_t *&, char *, char *, char *&)

    resultout(mbstate_t &__state,
    const wchar_t *__from,
    const wchar_t *__from_end,
    const wchar_t *&__from_next,
    char *__to,
    char *__to_limit,
    char *&__to_next
    )const [inline]

    Parameters

    mbstate_t & __state
    const wchar_t * __from
    const wchar_t * __from_end
    const wchar_t *& __from_next
    char * __to
    char * __to_limit
    char *& __to_next

    unshift(mbstate_t &, char *, char *, char *&)

    resultunshift(mbstate_t &__state,
    char *__to,
    char *__to_limit,
    char *&__to_next
    )const [inline]

    Parameters

    mbstate_t & __state
    char * __to
    char * __to_limit
    char *& __to_next

    Member Type Definitions Documentation

    Typedef extern_type

    typedef charextern_type

    Typedef intern_type

    typedef wchar_tintern_type

    Typedef state_type

    typedef mbstate_tstate_type

    Member Data Documentation

    _STLP_STATIC_MEMBER_DECLSPEC locale::id id

    _STLP_STATIC_MEMBER_DECLSPEC locale::idid[static]