codecvt< char, char, mbstate_t > Class Template Reference

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

Inherits from

  • codecvt< char, char, mbstate_t >
Public Member Functions
codecvt ( size_t )
bool always_noconv ()
int encoding ()
result in ( state_type &, const char *, const char *, const char *&, char *, char *, char *&)
int length (const state_type &, const char *, const char *, size_t )
int max_length ()
result out (mbstate_t &, const char *, const char *, const char *&, char *, char *, char *&)
result unshift (mbstate_t &, char *, char *, char *&)
Protected Member Functions
~codecvt ()
_STLP_DECLSPEC bool do_always_noconv ()
_STLP_DECLSPEC int do_encoding ()
_STLP_DECLSPEC result do_in (mbstate_t &, const char *, const char *, const char *&, char *, char *, char *&)
_STLP_DECLSPEC int do_length (const mbstate_t &, const char *, const char *, size_t )
_STLP_DECLSPEC int do_max_length ()
_STLP_DECLSPEC result do_out (mbstate_t &, const char *, const char *, const char *&, char *, char *, char *&)
_STLP_DECLSPEC result do_unshift (mbstate_t &, char *, char *, char *&)
Private Member Functions
codecvt (const codecvt < char, char, mbstate_t > &)
codecvt < char, char, mbstate_t > & operator= (const codecvt < char, 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
typedef char extern_type
typedef char intern_type
typedef mbstate_t state_type
Public Attributes
_STLP_STATIC_MEMBER_DECLSPEC locale::id id

Constructor & Destructor Documentation

codecvt(size_t)

codecvt ( size_t __refs = 0 ) [inline, explicit]

Parameters

size_t __refs = 0

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

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

Parameters

const codecvt < char, char, mbstate_t > &

~codecvt()

_STLP_DECLSPEC ~codecvt ( ) [protected]

Member Functions Documentation

always_noconv()

bool always_noconv ( ) const [inline]

do_always_noconv()

_STLP_DECLSPEC bool do_always_noconv ( ) const [protected, virtual]

do_encoding()

_STLP_DECLSPEC int do_encoding ( ) const [protected, virtual]

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

_STLP_DECLSPEC result do_in ( mbstate_t & ,
const char * __from,
const char * ,
const char *& __from_next,
char * __to,
char * ,
char *& __to_next
) const [protected, virtual]

Parameters

mbstate_t &
const char * __from
const char *
const char *& __from_next
char * __to
char *
char *& __to_next

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

_STLP_DECLSPEC int do_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 int do_max_length ( ) const [protected, virtual]

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

_STLP_DECLSPEC result do_out ( mbstate_t & ,
const char * __from,
const char * ,
const char *& __from_next,
char * __to,
char * ,
char *& __to_next
) const [protected, virtual]

Parameters

mbstate_t &
const char * __from
const char *
const char *& __from_next
char * __to
char *
char *& __to_next

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

_STLP_DECLSPEC result do_unshift ( mbstate_t & ,
char * __to,
char * ,
char *& __to_next
) const [protected, virtual]

Parameters

mbstate_t &
char * __to
char *
char *& __to_next

encoding()

int encoding ( ) const [inline]

in(state_type &, const char *, const char *, const char *&, char *, char *, char *&)

result in ( state_type & __state,
const char * __from,
const char * __from_end,
const char *& __from_next,
char * __to,
char * __to_limit,
char *& __to_next
) const [inline]

Parameters

state_type & __state
const char * __from
const char * __from_end
const char *& __from_next
char * __to
char * __to_limit
char *& __to_next

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

int length ( const state_type & __state,
const char * __from,
const char * __end,
size_t __max
) const [inline]

Parameters

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

max_length()

int max_length ( ) const [inline]

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

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

Parameters

const codecvt < char, char, mbstate_t > &

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

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

Parameters

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

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

result unshift ( 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 char extern_type

Typedef intern_type

typedef char intern_type

Typedef state_type

typedef mbstate_t state_type

Member Data Documentation

_STLP_STATIC_MEMBER_DECLSPEC locale::id id

_STLP_STATIC_MEMBER_DECLSPEC locale::id id [static]