Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

__codecvt_abstract_base Class Template Reference

#include <codecvt.h>

Inheritance diagram for __codecvt_abstract_base:

Inheritance graph
[legend]
Collaboration diagram for __codecvt_abstract_base:

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


Member Typedef Documentation

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

Reimplemented in codecvt, and codecvt< char, char, mbstate_t >.

Definition at line 197 of file codecvt.h.

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

Reimplemented in codecvt, and codecvt< char, char, mbstate_t >.

Definition at line 196 of file codecvt.h.

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.

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, 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<_InternT, _ExternT, _StateT> ( size_t __refs = 0 ) [inline, explicit, protected]
 

Definition at line 245 of file codecvt.h.

template<typename _InternT, typename _ExternT, typename _StateT>
__codecvt_abstract_base<_InternT, _ExternT, _StateT>::~__codecvt_abstract_base<_InternT, _ExternT, _StateT> ( ) [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]
 

Reimplemented in codecvt< char, char, mbstate_t >.

Referenced by always_noconv().

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

Reimplemented in codecvt< char, char, mbstate_t >.

Referenced by 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]
 

Reimplemented in codecvt< char, char, mbstate_t >.

Referenced by 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]
 

Reimplemented in codecvt< char, char, mbstate_t >.

Referenced by length().

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

Reimplemented in codecvt< char, char, mbstate_t >.

Referenced by 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]
 

Reimplemented in codecvt< char, char, mbstate_t >.

Referenced by 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]
 

Reimplemented in codecvt< char, char, mbstate_t >.

Referenced by 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 at Tue May 1 16:29:41 2001 for libstdc++-v3 by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001