Whole document tree
    

Whole document tree

Template__codecvt_abstract_base class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

__codecvt_abstract_base< _InternT, _ExternT, _StateT > Class Template Reference

#include <codecvt.h>

Inheritance diagram for __codecvt_abstract_base:

Inheritance graph
[legend]
Collaboration diagram for __codecvt_abstract_base< _InternT, _ExternT, _StateT >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef codecvt_base::result result
typedef _InternT intern_type
typedef _ExternT extern_type
typedef _StateT state_type

Public Methods

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_end, extern_type *&__to_next) const
result unshift (state_type &__state, extern_type *__to, extern_type *__to_end, 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_end, intern_type *&__to_next) const
int encoding () const throw ()
bool always_noconv () const throw ()
int length (const state_type &__state, const extern_type *__from, const extern_type *__end, size_t __max) const
int max_length () const throw ()

Protected Methods

 __codecvt_abstract_base (size_t __refs=0)
virtual ~__codecvt_abstract_base ()
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=0
virtual result do_unshift (state_type &__state, extern_type *__to, extern_type *__to_end, extern_type *&__to_next) const=0
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=0
virtual int do_encoding () const=0 throw ()
virtual bool do_always_noconv () const=0 throw ()
virtual int do_length (const state_type &, const extern_type *__from, const extern_type *__end, size_t __max) const=0
virtual int do_max_length () const=0 throw ()

template<typename _InternT, typename _ExternT, typename _StateT>
class __codecvt_abstract_base< _InternT, _ExternT, _StateT >


Member Typedef Documentation

template<typename _InternT, typename _ExternT, typename _StateT>
typedef _ExternT __codecvt_abstract_base< _InternT, _ExternT, _StateT >::extern_type
 

Reimplemented in codecvt< _InternT, _ExternT, _StateT >, and codecvt< char, char, mbstate_t >.

Definition at line 197 of file codecvt.h.

Referenced by __codecvt_abstract_base< char, char, mbstate_t >::in(), __codecvt_abstract_base< char, char, mbstate_t >::length(), __codecvt_abstract_base< char, char, mbstate_t >::out(), and __codecvt_abstract_base< char, char, mbstate_t >::unshift().

template<typename _InternT, typename _ExternT, typename _StateT>
typedef _InternT __codecvt_abstract_base< _InternT, _ExternT, _StateT >::intern_type
 

Reimplemented in codecvt< _InternT, _ExternT, _StateT >, and codecvt< char, char, mbstate_t >.

Definition at line 196 of file codecvt.h.

Referenced by __codecvt_abstract_base< char, char, mbstate_t >::in(), and __codecvt_abstract_base< char, char, mbstate_t >::out().

template<typename _InternT, typename _ExternT, typename _StateT>
typedef codecvt_base::result __codecvt_abstract_base< _InternT, _ExternT, _StateT >::result
 

Reimplemented from codecvt_base.

Reimplemented in codecvt< _InternT, _ExternT, _StateT >.

Definition at line 195 of file codecvt.h.

template<typename _InternT, typename _ExternT, typename _StateT>
typedef _StateT __codecvt_abstract_base< _InternT, _ExternT, _StateT >::state_type
 

Reimplemented in codecvt< _InternT, _ExternT, _StateT >, and codecvt< char, char, mbstate_t >.

Definition at line 198 of file codecvt.h.


Constructor & Destructor Documentation

template<typename _InternT, typename _ExternT, typename _StateT>
__codecvt_abstract_base< _InternT, _ExternT, _StateT >::__codecvt_abstract_base size_t    __refs = 0 [inline, explicit, protected]
 

Definition at line 245 of file codecvt.h.

template<typename _InternT, typename _ExternT, typename _StateT>
virtual __codecvt_abstract_base< _InternT, _ExternT, _StateT >::~__codecvt_abstract_base   [inline, protected, virtual]
 

Definition at line 248 of file codecvt.h.


Member Function Documentation

template<typename _InternT, typename _ExternT, typename _StateT>
bool __codecvt_abstract_base< _InternT, _ExternT, _StateT >::always_noconv   const throw () [inline]
 

Definition at line 231 of file codecvt.h.

template<typename _InternT, typename _ExternT, typename _StateT>
virtual bool __codecvt_abstract_base< _InternT, _ExternT, _StateT >::do_always_noconv   const throw () [protected, pure virtual]
 

Implemented in codecvt< char, char, mbstate_t >.

Referenced by __codecvt_abstract_base< char, char, mbstate_t >::always_noconv().

template<typename _InternT, typename _ExternT, typename _StateT>
virtual int __codecvt_abstract_base< _InternT, _ExternT, _StateT >::do_encoding   const throw () [protected, pure virtual]
 

Implemented in codecvt< char, char, mbstate_t >.

Referenced by __codecvt_abstract_base< char, char, mbstate_t >::encoding().

template<typename _InternT, typename _ExternT, typename _StateT>
virtual result __codecvt_abstract_base< _InternT, _ExternT, _StateT >::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, pure virtual]
 

Implemented in codecvt< char, char, mbstate_t >.

Referenced by __codecvt_abstract_base< char, char, mbstate_t >::in().

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

Implemented in codecvt< char, char, mbstate_t >.

Referenced by __codecvt_abstract_base< char, char, mbstate_t >::length().

template<typename _InternT, typename _ExternT, typename _StateT>
virtual int __codecvt_abstract_base< _InternT, _ExternT, _StateT >::do_max_length   const throw () [protected, pure virtual]
 

Implemented in codecvt< char, char, mbstate_t >.

Referenced by __codecvt_abstract_base< char, char, mbstate_t >::max_length().

template<typename _InternT, typename _ExternT, typename _StateT>
virtual result __codecvt_abstract_base< _InternT, _ExternT, _StateT >::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, pure virtual]
 

Implemented in codecvt< char, char, mbstate_t >.

Referenced by __codecvt_abstract_base< char, char, mbstate_t >::out().

template<typename _InternT, typename _ExternT, typename _StateT>
virtual result __codecvt_abstract_base< _InternT, _ExternT, _StateT >::do_unshift state_type   __state,
extern_type   __to,
extern_type   __to_end,
extern_type *&    __to_next
const [protected, pure virtual]
 

Implemented in codecvt< char, char, mbstate_t >.

Referenced by __codecvt_abstract_base< char, char, mbstate_t >::unshift().

template<typename _InternT, typename _ExternT, typename _StateT>
int __codecvt_abstract_base< _InternT, _ExternT, _StateT >::encoding   const throw () [inline]
 

Definition at line 227 of file codecvt.h.

template<typename _InternT, typename _ExternT, typename _StateT>
result __codecvt_abstract_base< _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_end,
intern_type *&    __to_next
const [inline]
 

Definition at line 217 of file codecvt.h.

template<typename _InternT, typename _ExternT, typename _StateT>
int __codecvt_abstract_base< _InternT, _ExternT, _StateT >::length const state_type   __state,
const extern_type   __from,
const extern_type   __end,
size_t    __max
const [inline]
 

Definition at line 235 of file codecvt.h.

template<typename _InternT, typename _ExternT, typename _StateT>
int __codecvt_abstract_base< _InternT, _ExternT, _StateT >::max_length   const throw () [inline]
 

Definition at line 240 of file codecvt.h.

template<typename _InternT, typename _ExternT, typename _StateT>
result __codecvt_abstract_base< _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_end,
extern_type *&    __to_next
const [inline]
 

Definition at line 202 of file codecvt.h.

template<typename _InternT, typename _ExternT, typename _StateT>
result __codecvt_abstract_base< _InternT, _ExternT, _StateT >::unshift state_type   __state,
extern_type   __to,
extern_type   __to_end,
extern_type *&    __to_next
const [inline]
 

Definition at line 212 of file codecvt.h.


The documentation for this class was generated from the following file:
Generated on Mon Apr 8 03:16:34 2002 for libstdc++-v3 Source by doxygen1.2.15