#include <codecvt.h>
Inheritance diagram for codecvt< _InternT, _ExternT, _StateT >:

Public Types | |
| typedef codecvt_base::result | result |
| typedef _InternT | intern_type |
| typedef _ExternT | extern_type |
| typedef _StateT | state_type |
Public Member Functions | |
| codecvt (size_t __refs=0) | |
| codecvt (__c_locale __cloc, size_t __refs=0) | |
Static Public Attributes | |
| static 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 () |
Protected Attributes | |
| __c_locale | _M_c_locale_codecvt |
Definition at line 271 of file codecvt.h.
| typedef _ExternT codecvt< _InternT, _ExternT, _StateT >::extern_type |
Reimplemented from __codecvt_abstract_base< _InternT, _ExternT, _StateT >.
| typedef _InternT codecvt< _InternT, _ExternT, _StateT >::intern_type |
Reimplemented from __codecvt_abstract_base< _InternT, _ExternT, _StateT >.
| typedef codecvt_base::result codecvt< _InternT, _ExternT, _StateT >::result |
Reimplemented from __codecvt_abstract_base< _InternT, _ExternT, _StateT >.
| typedef _StateT codecvt< _InternT, _ExternT, _StateT >::state_type |
Reimplemented from __codecvt_abstract_base< _InternT, _ExternT, _StateT >.
| codecvt< _InternT, _ExternT, _StateT >::codecvt | ( | __c_locale | __cloc, | |
| size_t | __refs = 0 | |||
| ) | [explicit] |
| virtual bool codecvt< _InternT, _ExternT, _StateT >::do_always_noconv | ( | ) | const throw () [protected, virtual] |
| virtual int codecvt< _InternT, _ExternT, _StateT >::do_encoding | ( | ) | const throw () [protected, virtual] |
| virtual result codecvt< _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, virtual] |
| virtual int codecvt< _InternT, _ExternT, _StateT >::do_length | ( | state_type & | , | |
| const extern_type * | __from, | |||
| const extern_type * | __end, | |||
| size_t | __max | |||
| ) | const [protected, virtual] |
| virtual int codecvt< _InternT, _ExternT, _StateT >::do_max_length | ( | ) | const throw () [protected, virtual] |
| virtual result codecvt< _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, 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.
Implements __codecvt_abstract_base< _InternT, _ExternT, _StateT >.
| virtual result codecvt< _InternT, _ExternT, _StateT >::do_unshift | ( | state_type & | __state, | |
| extern_type * | __to, | |||
| extern_type * | __to_end, | |||
| extern_type *& | __to_next | |||
| ) | const [protected, virtual] |
__c_locale codecvt< _InternT, _ExternT, _StateT >::_M_c_locale_codecvt [protected] |
1.4.7