std::codecvt< I, E, S > Class Template Reference

#include <cxxtools/textcodec.h>

Inheritance diagram for std::codecvt< I, E, S >:
std::codecvt_base

Public Types

typedef I InternT
typedef E ExternT
typedef S StateT
- Public Types inherited from std::codecvt_base
enum  { ok, partial, error, noconv }
typedef int result

Public Member Functions

 codecvt (size_t ref=0)
virtual ~codecvt ()
codecvt_base::result out (StateT &state, const InternT *from, const InternT *from_end, const InternT *&from_next, ExternT *to, ExternT *to_end, ExternT *&to_next) const
codecvt_base::result unshift (StateT &state, ExternT *to, ExternT *to_end, ExternT *&to_next) const
codecvt_base::result in (StateT &state, const ExternT *from, const ExternT *from_end, const ExternT *&from_next, InternT *to, InternT *to_end, InternT *&to_next) const
int encoding () const
bool always_noconv () const
int length (StateT &state, const ExternT *from, const ExternT *end, size_t max) const
int max_length () const
- Public Member Functions inherited from std::codecvt_base
virtual ~codecvt_base ()

Protected Member Functions

virtual result do_in (StateT &s, const ExternT *fromBegin, const ExternT *fromEnd, const ExternT *&fromNext, InternT *toBegin, InternT *toEnd, InternT *&toNext) const =0
virtual result do_out (StateT &s, const InternT *fromBegin, const InternT *fromEnd, const InternT *&fromNext, ExternT *toBegin, ExternT *toEnd, ExternT *&toNext) const =0
virtual bool do_always_noconv () const =0
virtual int do_length (StateT &s, const ExternT *fromBegin, const ExternT *fromEnd, size_t max) const =0
virtual int do_max_length () const =0
virtual std::codecvt_base::result do_unshift (StateT &, ExternT *, ExternT *, ExternT *&) const =0
virtual int do_encoding () const =0

Member Typedef Documentation

template<typename I, typename E, typename S>
typedef E std::codecvt< I, E, S >::ExternT
template<typename I, typename E, typename S>
typedef I std::codecvt< I, E, S >::InternT
template<typename I, typename E, typename S>
typedef S std::codecvt< I, E, S >::StateT

Constructor & Destructor Documentation

template<typename I, typename E, typename S>
std::codecvt< I, E, S >::codecvt ( size_t  ref = 0)
inlineexplicit
template<typename I, typename E, typename S>
virtual std::codecvt< I, E, S >::~codecvt ( )
inlinevirtual

Member Function Documentation

template<typename I, typename E, typename S>
bool std::codecvt< I, E, S >::always_noconv ( ) const
inline
template<typename I, typename E, typename S>
virtual bool std::codecvt< I, E, S >::do_always_noconv ( ) const
protectedpure virtual
template<typename I, typename E, typename S>
virtual int std::codecvt< I, E, S >::do_encoding ( ) const
protectedpure virtual
template<typename I, typename E, typename S>
virtual result std::codecvt< I, E, S >::do_in ( StateT s,
const ExternT fromBegin,
const ExternT fromEnd,
const ExternT *&  fromNext,
InternT toBegin,
InternT toEnd,
InternT *&  toNext 
) const
protectedpure virtual

Implemented in cxxtools::Base64Codec.

template<typename I, typename E, typename S>
virtual int std::codecvt< I, E, S >::do_length ( StateT s,
const ExternT fromBegin,
const ExternT fromEnd,
size_t  max 
) const
protectedpure virtual
template<typename I, typename E, typename S>
virtual int std::codecvt< I, E, S >::do_max_length ( ) const
protectedpure virtual
template<typename I, typename E, typename S>
virtual result std::codecvt< I, E, S >::do_out ( StateT s,
const InternT fromBegin,
const InternT fromEnd,
const InternT *&  fromNext,
ExternT toBegin,
ExternT toEnd,
ExternT *&  toNext 
) const
protectedpure virtual

Implemented in cxxtools::Base64Codec.

template<typename I, typename E, typename S>
virtual std::codecvt_base::result std::codecvt< I, E, S >::do_unshift ( StateT ,
ExternT ,
ExternT ,
ExternT *&   
) const
protectedpure virtual
template<typename I, typename E, typename S>
int std::codecvt< I, E, S >::encoding ( ) const
inline
template<typename I, typename E, typename S>
codecvt_base::result std::codecvt< I, E, S >::in ( StateT state,
const ExternT from,
const ExternT from_end,
const ExternT *&  from_next,
InternT to,
InternT to_end,
InternT *&  to_next 
) const
inline
template<typename I, typename E, typename S>
int std::codecvt< I, E, S >::length ( StateT state,
const ExternT from,
const ExternT end,
size_t  max 
) const
inline
template<typename I, typename E, typename S>
int std::codecvt< I, E, S >::max_length ( ) const
inline
template<typename I, typename E, typename S>
codecvt_base::result std::codecvt< I, E, S >::out ( StateT state,
const InternT from,
const InternT from_end,
const InternT *&  from_next,
ExternT to,
ExternT to_end,
ExternT *&  to_next 
) const
inline
template<typename I, typename E, typename S>
codecvt_base::result std::codecvt< I, E, S >::unshift ( StateT state,
ExternT to,
ExternT to_end,
ExternT *&  to_next 
) const
inline

The documentation for this class was generated from the following file: