codecvt< wchar_t, char, mbstate_t > Class Template Reference

#include <stdapis/stlportv5/stl/_codecvt.h>

Link against: libstdcppv5.lib

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

Inherits from

Public Member Type Definitions
typedefchar extern_type
typedefwchar_t intern_type
typedef mbstate_t state_type
Public Attributes
_STLP_STATIC_MEMBER_DECLSPEC locale::idid
Public Member Functions
codecvt(size_t)
boolalways_noconv()
intencoding()
result in(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()
result out(mbstate_t &, const wchar_t *, const wchar_t *, const wchar_t *&, char *, char *, char *&)
result unshift(mbstate_t &, char *, char *, char *&)
Protected Member Functions
~codecvt()
virtual _STLP_DECLSPEC booldo_always_noconv()
virtual _STLP_DECLSPEC intdo_encoding()
virtual _STLP_DECLSPEC resultdo_in(mbstate_t &, const char *, const char *, const char *&, wchar_t *, wchar_t *, wchar_t *&)
virtual _STLP_DECLSPEC intdo_length(const mbstate_t &, const char *, const char *, size_t)
virtual _STLP_DECLSPEC intdo_max_length()
virtual _STLP_DECLSPEC resultdo_out(mbstate_t &, const wchar_t *, const wchar_t *, const wchar_t *&, char *, char *, char *&)
virtual _STLP_DECLSPEC resultdo_unshift(mbstate_t &, char *, char *, char *&)
Inherited Enumerations
codecvt_base:result
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()

Member Type Definition Documentation

Typedef extern_type

typedef charextern_type

Typedef intern_type

typedef wchar_tintern_type

Typedef state_type

typedef mbstate_t state_type

Member Attribute Documentation

id

_STLP_STATIC_MEMBER_DECLSPEC locale::idid[static]

Constructor & Destructor Documentation

codecvt ( size_t )

codecvt(size_t__refs = 0)[inline, explicit]

~codecvt ( )

_STLP_DECLSPEC~codecvt()[protected]

Member Function 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]

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]

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]

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]

encoding ( )

intencoding()const [inline]

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

result 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 [inline]

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

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]

max_length ( )

intmax_length()const [inline]

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

result 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 [inline]

For full documentation see: http://www.sgi.com/tech/stl/table_of_contents.html

The Symbian implementation of this API fully supports all STL functionality.

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

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