std::codecvt< _InternT, _ExternT, encoding_state > Class Template Reference

codecvt<InternT, _ExternT, encoding_state> specialization. More...

#include <codecvt_specializations.h>

Inheritance diagram for std::codecvt< _InternT, _ExternT, encoding_state >:

__codecvt_abstract_base< _InternT, _ExternT, _StateT > codecvt_base List of all members.

Public Types

typedef codecvt_base::result result
typedef _InternT intern_type
typedef _ExternT extern_type
typedef __gnu_cxx::encoding_state state_type
typedef state_type::descriptor_type descriptor_type

Public Member Functions

 codecvt (size_t __refs=0)
 codecvt (state_type &__enc, size_t __refs=0)

Static Public Attributes

static locale::id id

Protected Member Functions

virtual ~codecvt ()
virtual result do_out (state_type &__state, const intern_type *__from, const intern_type *__from_end, const intern_type *&__from_next, extern_type *__to, extern_type *__to_end, extern_type *&__to_next) const
virtual result do_unshift (state_type &__state, extern_type *__to, extern_type *__to_end, extern_type *&__to_next) const
virtual result do_in (state_type &__state, const extern_type *__from, const extern_type *__from_end, const extern_type *&__from_next, intern_type *__to, intern_type *__to_end, intern_type *&__to_next) const
virtual int do_encoding () const throw ()
virtual bool do_always_noconv () const throw ()
virtual int do_length (state_type &, const extern_type *__from, const extern_type *__end, size_t __max) const
virtual int do_max_length () const throw ()

Detailed Description

template<typename _InternT, typename _ExternT>
class std::codecvt< _InternT, _ExternT, encoding_state >

codecvt<InternT, _ExternT, encoding_state> specialization.

Definition at line 226 of file codecvt_specializations.h.


Member Typedef Documentation

template<typename _InternT, typename _ExternT>
typedef state_type::descriptor_type std::codecvt< _InternT, _ExternT, encoding_state >::descriptor_type

Definition at line 235 of file codecvt_specializations.h.

template<typename _InternT, typename _ExternT>
typedef _ExternT std::codecvt< _InternT, _ExternT, encoding_state >::extern_type

Reimplemented from __codecvt_abstract_base< _InternT, _ExternT, _StateT >.

Definition at line 233 of file codecvt_specializations.h.

template<typename _InternT, typename _ExternT>
typedef _InternT std::codecvt< _InternT, _ExternT, encoding_state >::intern_type

Reimplemented from __codecvt_abstract_base< _InternT, _ExternT, _StateT >.

Definition at line 232 of file codecvt_specializations.h.

template<typename _InternT, typename _ExternT>
typedef codecvt_base::result std::codecvt< _InternT, _ExternT, encoding_state >::result

Reimplemented from __codecvt_abstract_base< _InternT, _ExternT, _StateT >.

Definition at line 231 of file codecvt_specializations.h.

template<typename _InternT, typename _ExternT>
typedef __gnu_cxx::encoding_state std::codecvt< _InternT, _ExternT, encoding_state >::state_type

Reimplemented from __codecvt_abstract_base< _InternT, _ExternT, _StateT >.

Definition at line 234 of file codecvt_specializations.h.


Constructor & Destructor Documentation

template<typename _InternT, typename _ExternT>
std::codecvt< _InternT, _ExternT, encoding_state >::codecvt ( size_t  __refs = 0  )  [inline, explicit]

Definition at line 241 of file codecvt_specializations.h.

template<typename _InternT, typename _ExternT>
std::codecvt< _InternT, _ExternT, encoding_state >::codecvt ( state_type __enc,
size_t  __refs = 0 
) [inline, explicit]

Definition at line 246 of file codecvt_specializations.h.

template<typename _InternT, typename _ExternT>
virtual std::codecvt< _InternT, _ExternT, encoding_state >::~codecvt (  )  [inline, protected, virtual]

Definition at line 252 of file codecvt_specializations.h.


Member Function Documentation

template<typename _InternT, typename _ExternT>
bool std::codecvt< _InternT, _ExternT, encoding_state >::do_always_noconv (  )  const throw () [protected, virtual]

Implements __codecvt_abstract_base< _InternT, _ExternT, _StateT >.

Definition at line 487 of file codecvt_specializations.h.

template<typename _InternT, typename _ExternT>
int std::codecvt< _InternT, _ExternT, encoding_state >::do_encoding (  )  const throw () [protected, virtual]

Implements __codecvt_abstract_base< _InternT, _ExternT, _StateT >.

Definition at line 476 of file codecvt_specializations.h.

template<typename _InternT, typename _ExternT>
codecvt_base::result std::codecvt< _InternT, _ExternT, encoding_state >::do_in ( state_type __state,
const extern_type __from,
const extern_type __from_end,
const extern_type *&  __from_next,
intern_type __to,
intern_type __to_end,
intern_type *&  __to_next 
) const [protected, virtual]

Definition at line 406 of file codecvt_specializations.h.

References std::__iconv_adaptor(), std::copy(), codecvt_base::error, __gnu_cxx::encoding_state::external_bom(), __gnu_cxx::encoding_state::good(), __gnu_cxx::encoding_state::in_descriptor(), codecvt_base::ok, and codecvt_base::partial.

template<typename _InternT, typename _ExternT>
int std::codecvt< _InternT, _ExternT, encoding_state >::do_length ( state_type ,
const extern_type __from,
const extern_type __end,
size_t  __max 
) const [protected, virtual]

Definition at line 493 of file codecvt_specializations.h.

References std::min().

template<typename _InternT, typename _ExternT>
int std::codecvt< _InternT, _ExternT, encoding_state >::do_max_length (  )  const throw () [protected, virtual]

Implements __codecvt_abstract_base< _InternT, _ExternT, _StateT >.

Definition at line 502 of file codecvt_specializations.h.

template<typename _InternT, typename _ExternT>
codecvt_base::result std::codecvt< _InternT, _ExternT, encoding_state >::do_out ( state_type __state,
const intern_type __from,
const intern_type __from_end,
const intern_type *&  __from_next,
extern_type __to,
extern_type __to_end,
extern_type *&  __to_next 
) const [protected, virtual]

Definition at line 302 of file codecvt_specializations.h.

References std::__iconv_adaptor(), std::copy(), codecvt_base::error, __gnu_cxx::encoding_state::good(), __gnu_cxx::encoding_state::internal_bom(), codecvt_base::ok, __gnu_cxx::encoding_state::out_descriptor(), and codecvt_base::partial.

template<typename _InternT, typename _ExternT>
codecvt_base::result std::codecvt< _InternT, _ExternT, encoding_state >::do_unshift ( state_type __state,
extern_type __to,
extern_type __to_end,
extern_type *&  __to_next 
) const [protected, virtual]

Definition at line 371 of file codecvt_specializations.h.

References std::__iconv_adaptor(), codecvt_base::error, __gnu_cxx::encoding_state::good(), __gnu_cxx::encoding_state::in_descriptor(), codecvt_base::noconv, codecvt_base::ok, and codecvt_base::partial.


Member Data Documentation

template<typename _InternT, typename _ExternT>
locale::id std::codecvt< _InternT, _ExternT, encoding_state >::id [static]

Definition at line 238 of file codecvt_specializations.h.


The documentation for this class was generated from the following file:
Generated on Tue Feb 2 16:59:25 2010 for GNU C++ STL by  doxygen 1.4.7