codecvt Class Reference

class codecvt : public locale::facet

Inherits from

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

Constructor & Destructor Documentation

codecvt(size_t)

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

Parameters

size_t __refs = 0

codecvt(const codecvt< intern_type, extern_type, state_type > &)

codecvt ( const codecvt < intern_type , extern_type , state_type > & ) [private]

~codecvt()

~codecvt ( ) [protected, inline]

Member Functions Documentation

GetFacetLocaleId()

_STLP_STATIC_MEMBER_DECLSPEC locale::id & GetFacetLocaleId ( ) [static]

always_noconv()

bool always_noconv ( ) const [inline]

do_always_noconv()

bool do_always_noconv ( ) const [protected, inline, virtual]

do_encoding()

int do_encoding ( ) const [protected, inline, virtual]

do_in(state_type &, const extern_type *, const extern_type *, const extern_type *&, intern_type *, intern_type *, intern_type *&)

result do_in ( state_type & ,
const extern_type * __from,
const extern_type * ,
const extern_type *& __from_next,
intern_type * __to,
intern_type * ,
intern_type *& __to_next
) const [protected, inline, virtual]

Parameters

state_type &
const extern_type * __from
const extern_type *
const extern_type *& __from_next
intern_type * __to
intern_type *
intern_type *& __to_next

do_length(const state_type &, const extern_type *, const extern_type *, size_t)

int do_length ( const state_type & ,
const extern_type * __from,
const extern_type * __end,
size_t __max
) const [protected, inline, virtual]

Parameters

const state_type &
const extern_type * __from
const extern_type * __end
size_t __max

do_max_length()

int do_max_length ( ) const [protected, inline, virtual]

do_out(state_type &, const intern_type *, const intern_type *, const intern_type *&, extern_type *, extern_type *, extern_type *&)

result do_out ( state_type & ,
const intern_type * __from,
const intern_type * ,
const intern_type *& __from_next,
extern_type * __to,
extern_type * ,
extern_type *& __to_next
) const [protected, inline, virtual]

Parameters

state_type &
const intern_type * __from
const intern_type *
const intern_type *& __from_next
extern_type * __to
extern_type *
extern_type *& __to_next

do_unshift(state_type &, extern_type *, extern_type *, extern_type *&)

result do_unshift ( state_type & ,
extern_type * __to,
extern_type * ,
extern_type *& __to_next
) const [protected, inline, virtual]

encoding()

int encoding ( ) const [inline]

in(state_type &, const extern_type *, const extern_type *, const extern_type *&, intern_type *, intern_type *, intern_type *&)

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

Parameters

state_type & __state
const extern_type * __from
const extern_type * __from_end
const extern_type *& __from_next
intern_type * __to
intern_type * __to_limit
intern_type *& __to_next

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

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

Parameters

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

max_length()

int max_length ( ) const [inline]

operator=(const codecvt< intern_type, extern_type, state_type > &)

codecvt < intern_type , extern_type , state_type > & operator= ( const codecvt < intern_type , extern_type , state_type > & ) [private]

out(state_type &, const intern_type *, const intern_type *, const intern_type *&, extern_type *, extern_type *, extern_type *&)

result out ( state_type & __state,
const intern_type * __from,
const intern_type * __from_end,
const intern_type *& __from_next,
extern_type * __to,
extern_type * __to_limit,
extern_type *& __to_next
) const [inline]

Parameters

state_type & __state
const intern_type * __from
const intern_type * __from_end
const intern_type *& __from_next
extern_type * __to
extern_type * __to_limit
extern_type *& __to_next

unshift(state_type &, extern_type *, extern_type *, extern_type *&)

result unshift ( state_type & __state,
extern_type * __to,
extern_type * __to_limit,
extern_type *& __to_next
) const [inline]

Parameters

state_type & __state
extern_type * __to
extern_type * __to_limit
extern_type *& __to_next

Member Type Definitions Documentation

Typedef extern_type

typedef _ExternT extern_type

Typedef intern_type

typedef _InternT intern_type

Typedef state_type

typedef _StateT state_type

Member Data Documentation

locale::id id

locale::id id [static]