codecvt< _InternT, _ExternT, __enc_traits > Class Template Reference

#include <codecvt_specializations.h>

Inheritance diagram for codecvt< _InternT, _ExternT, __enc_traits >:

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

Public Types

typedef codecvt_base::result result
typedef _InternT intern_type
typedef _ExternT extern_type
typedef __enc_traits state_type
typedef __enc_traits::__desc_type __desc_type
typedef __enc_traits __enc_type

Public Member Functions

 codecvt (size_t __refs=0)
 codecvt (__enc_type *__enc, size_t __refs=0)

Static Public Attributes

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
 Convert from internal to external character set.

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 ()

template<typename _InternT, typename _ExternT>
class codecvt< _InternT, _ExternT, __enc_traits >


Member Typedef Documentation

template<typename _InternT, typename _ExternT>
typedef __enc_traits::__desc_type codecvt< _InternT, _ExternT, __enc_traits >::__desc_type
 

Definition at line 208 of file codecvt_specializations.h.

template<typename _InternT, typename _ExternT>
typedef __enc_traits codecvt< _InternT, _ExternT, __enc_traits >::__enc_type
 

Definition at line 209 of file codecvt_specializations.h.

Referenced by codecvt().

template<typename _InternT, typename _ExternT>
typedef _ExternT codecvt< _InternT, _ExternT, __enc_traits >::extern_type
 

Reimplemented from __codecvt_abstract_base< _InternT, _ExternT, __enc_traits >.

Definition at line 206 of file codecvt_specializations.h.

template<typename _InternT, typename _ExternT>
typedef _InternT codecvt< _InternT, _ExternT, __enc_traits >::intern_type
 

Reimplemented from __codecvt_abstract_base< _InternT, _ExternT, __enc_traits >.

Definition at line 205 of file codecvt_specializations.h.

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

Reimplemented from __codecvt_abstract_base< _InternT, _ExternT, __enc_traits >.

Definition at line 204 of file codecvt_specializations.h.

template<typename _InternT, typename _ExternT>
typedef __enc_traits codecvt< _InternT, _ExternT, __enc_traits >::state_type
 

Reimplemented from __codecvt_abstract_base< _InternT, _ExternT, __enc_traits >.

Definition at line 207 of file codecvt_specializations.h.


Constructor & Destructor Documentation

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

Definition at line 226 of file codecvt_specializations.h.


Member Function Documentation

template<typename _InternT, typename _ExternT>
codecvt< _InternT, _ExternT, __enc_traits >::codecvt __enc_type __enc,
size_t  __refs = 0
[inline, explicit]
 

Definition at line 220 of file codecvt_specializations.h.

References __enc_type.

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

Definition at line 215 of file codecvt_specializations.h.

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

Implements __codecvt_abstract_base< _InternT, _ExternT, __enc_traits >.

Definition at line 461 of file codecvt_specializations.h.

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

Implements __codecvt_abstract_base< _InternT, _ExternT, __enc_traits >.

Definition at line 450 of file codecvt_specializations.h.

template<typename _InternT, typename _ExternT>
codecvt_base::result codecvt< _InternT, _ExternT, __enc_traits >::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]
 

Implements __codecvt_abstract_base< _InternT, _ExternT, __enc_traits >.

Definition at line 380 of file codecvt_specializations.h.

References __iconv_adaptor().

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

Implements __codecvt_abstract_base< _InternT, _ExternT, __enc_traits >.

Definition at line 467 of file codecvt_specializations.h.

References std::min().

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

Implements __codecvt_abstract_base< _InternT, _ExternT, __enc_traits >.

Definition at line 476 of file codecvt_specializations.h.

template<typename _InternT, typename _ExternT>
codecvt_base::result codecvt< _InternT, _ExternT, __enc_traits >::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]
 

Convert from internal to external character set.

Converts input string of intern_type to output string of extern_type. This function is a hook for derived classes to change the value returned.

See also:
out for more information.

Implements __codecvt_abstract_base< _InternT, _ExternT, __enc_traits >.

Definition at line 276 of file codecvt_specializations.h.

References __iconv_adaptor().

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

Implements __codecvt_abstract_base< _InternT, _ExternT, __enc_traits >.

Definition at line 345 of file codecvt_specializations.h.

References __iconv_adaptor().


Member Data Documentation

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

Definition at line 260 of file codecvt_specializations.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 30 17:31:58 2007 for GNU C++ STL by doxygen 1.3.6