codecvt< _InternT, _ExternT, _StateT > Class Template Reference

#include <_codecvt.h>

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

locale::facet codecvt_base _Refcount_Base codecvt_byname< _InternT, _ExternT, _StateT > List of all members.

Public Types

typedef _InternT intern_type
typedef _ExternT extern_type
typedef _StateT state_type

Public Member Functions

 codecvt (size_t __refs=0)
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
result unshift (state_type &__state, extern_type *__to, extern_type *__to_limit, extern_type *&__to_next) const
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
int encoding () const _STLP_NOTHROW
bool always_noconv () const _STLP_NOTHROW
int length (const state_type &__state, const extern_type *__from, const extern_type *__end, size_t __max) const
int max_length () const _STLP_NOTHROW

Static Public Attributes

static _STLP_STATIC_MEMBER_DECLSPEC
locale::id 
id

Protected Member Functions

 ~codecvt ()
virtual 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
virtual 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
virtual result do_unshift (state_type &, extern_type *__to, extern_type *, extern_type *&__to_next) const
virtual int do_encoding () const _STLP_NOTHROW
virtual bool do_always_noconv () const _STLP_NOTHROW
virtual int do_length (const state_type &, const extern_type *__from, const extern_type *__end, size_t __max) const
virtual int do_max_length () const _STLP_NOTHROW

Detailed Description

template<class _InternT, class _ExternT, class _StateT>
class codecvt< _InternT, _ExternT, _StateT >

Definition at line 46 of file _codecvt.h.


Member Typedef Documentation

template<class _InternT, class _ExternT, class _StateT>
typedef _InternT codecvt< _InternT, _ExternT, _StateT >::intern_type

Definition at line 48 of file _codecvt.h.

template<class _InternT, class _ExternT, class _StateT>
typedef _ExternT codecvt< _InternT, _ExternT, _StateT >::extern_type

Definition at line 49 of file _codecvt.h.

template<class _InternT, class _ExternT, class _StateT>
typedef _StateT codecvt< _InternT, _ExternT, _StateT >::state_type

Definition at line 50 of file _codecvt.h.


Constructor & Destructor Documentation

template<class _InternT, class _ExternT, class _StateT>
codecvt< _InternT, _ExternT, _StateT >::codecvt ( size_t  __refs = 0  )  [inline, explicit]

Definition at line 60 of file _codecvt.h.

template<class _InternT, class _ExternT, class _StateT>
codecvt< _InternT, _ExternT, _StateT >::~codecvt (  )  [inline, protected]

Definition at line 109 of file _codecvt.h.


Member Function Documentation

template<class _InternT, class _ExternT, class _StateT>
result codecvt< _InternT, _ExternT, _StateT >::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]

Definition at line 62 of file _codecvt.h.

Referenced by basic_filebuf< _CharT, _Traits >::overflow().

template<class _InternT, class _ExternT, class _StateT>
result codecvt< _InternT, _ExternT, _StateT >::unshift ( state_type __state,
extern_type __to,
extern_type __to_limit,
extern_type *&  __to_next 
) const [inline]

Definition at line 74 of file _codecvt.h.

template<class _InternT, class _ExternT, class _StateT>
result codecvt< _InternT, _ExternT, _StateT >::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]

Definition at line 81 of file _codecvt.h.

Referenced by basic_filebuf< _CharT, _Traits >::seekoff().

template<class _InternT, class _ExternT, class _StateT>
int codecvt< _InternT, _ExternT, _StateT >::encoding (  )  const [inline]

Definition at line 93 of file _codecvt.h.

template<class _InternT, class _ExternT, class _StateT>
bool codecvt< _InternT, _ExternT, _StateT >::always_noconv (  )  const [inline]

Definition at line 95 of file _codecvt.h.

template<class _InternT, class _ExternT, class _StateT>
int codecvt< _InternT, _ExternT, _StateT >::length ( const state_type __state,
const extern_type __from,
const extern_type __end,
size_t  __max 
) const [inline]

Definition at line 97 of file _codecvt.h.

Referenced by basic_filebuf< _CharT, _Traits >::seekoff().

template<class _InternT, class _ExternT, class _StateT>
int codecvt< _InternT, _ExternT, _StateT >::max_length (  )  const [inline]

Definition at line 104 of file _codecvt.h.

template<class _InternT, class _ExternT, class _StateT>
virtual result codecvt< _InternT, _ExternT, _StateT >::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 [inline, protected, virtual]

Definition at line 111 of file _codecvt.h.

template<class _InternT, class _ExternT, class _StateT>
virtual result codecvt< _InternT, _ExternT, _StateT >::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 [inline, protected, virtual]

Definition at line 120 of file _codecvt.h.

template<class _InternT, class _ExternT, class _StateT>
virtual result codecvt< _InternT, _ExternT, _StateT >::do_unshift ( state_type ,
extern_type __to,
extern_type ,
extern_type *&  __to_next 
) const [inline, protected, virtual]

Definition at line 129 of file _codecvt.h.

template<class _InternT, class _ExternT, class _StateT>
virtual int codecvt< _InternT, _ExternT, _StateT >::do_encoding (  )  const [inline, protected, virtual]

Definition at line 135 of file _codecvt.h.

template<class _InternT, class _ExternT, class _StateT>
virtual bool codecvt< _InternT, _ExternT, _StateT >::do_always_noconv (  )  const [inline, protected, virtual]

Definition at line 138 of file _codecvt.h.

template<class _InternT, class _ExternT, class _StateT>
virtual int codecvt< _InternT, _ExternT, _StateT >::do_length ( const state_type ,
const extern_type __from,
const extern_type __end,
size_t  __max 
) const [inline, protected, virtual]

Definition at line 141 of file _codecvt.h.

References __STATIC_CAST, and min().

template<class _InternT, class _ExternT, class _StateT>
virtual int codecvt< _InternT, _ExternT, _StateT >::do_max_length (  )  const [inline, protected, virtual]

Definition at line 147 of file _codecvt.h.


Member Data Documentation

template<class _InternT, class _ExternT, class _StateT>
_STLP_STATIC_MEMBER_DECLSPEC locale::id codecvt< _InternT, _ExternT, _StateT >::id [static]

Definition at line 106 of file _codecvt.h.


The documentation for this class was generated from the following file:
  • /home/ntakagi/work/STLport-5.1.5/stlport/stl/_codecvt.h



Generated on Mon Mar 10 15:32:59 2008 by  doxygen 1.5.1