#include <codecvt_specializations.h>
Public Types | |
typedef iconv_t | descriptor_type |
Public Member Functions | |
encoding_state () | |
encoding_state (const char *__int, const char *__ext, int __ibom=0, int __ebom=0, int __bytes=1) | |
encoding_state (const encoding_state &__obj) | |
encoding_state & | operator= (const encoding_state &__obj) |
~encoding_state () | |
bool | good () const throw () |
int | character_ratio () const |
const std::string | internal_encoding () const |
int | internal_bom () const |
const std::string | external_encoding () const |
int | external_bom () const |
const descriptor_type & | in_descriptor () const |
const descriptor_type & | out_descriptor () const |
Protected Member Functions | |
void | init () |
void | construct (const encoding_state &__obj) |
void | destroy () throw () |
Protected Attributes | |
std::string | _M_int_enc |
std::string | _M_ext_enc |
descriptor_type | _M_in_desc |
descriptor_type | _M_out_desc |
int | _M_ext_bom |
int | _M_int_bom |
int | _M_bytes |
Definition at line 51 of file codecvt_specializations.h.
typedef iconv_t __gnu_cxx::encoding_state::descriptor_type |
Definition at line 57 of file codecvt_specializations.h.
__gnu_cxx::encoding_state::encoding_state | ( | ) | [inline, explicit] |
Definition at line 85 of file codecvt_specializations.h.
__gnu_cxx::encoding_state::encoding_state | ( | const char * | __int, | |
const char * | __ext, | |||
int | __ibom = 0 , |
|||
int | __ebom = 0 , |
|||
int | __bytes = 1 | |||
) | [inline, explicit] |
__gnu_cxx::encoding_state::encoding_state | ( | const encoding_state & | __obj | ) | [inline] |
__gnu_cxx::encoding_state::~encoding_state | ( | ) | [inline] |
int __gnu_cxx::encoding_state::character_ratio | ( | ) | const [inline] |
void __gnu_cxx::encoding_state::construct | ( | const encoding_state & | __obj | ) | [inline, protected] |
Definition at line 178 of file codecvt_specializations.h.
References _M_bytes, _M_ext_bom, _M_ext_enc, _M_int_bom, _M_int_enc, destroy(), and init().
Referenced by encoding_state(), and operator=().
void __gnu_cxx::encoding_state::destroy | ( | ) | throw () [inline, protected] |
Definition at line 190 of file codecvt_specializations.h.
References _M_in_desc, and _M_out_desc.
Referenced by construct(), and ~encoding_state().
int __gnu_cxx::encoding_state::external_bom | ( | ) | const [inline] |
Definition at line 144 of file codecvt_specializations.h.
References _M_ext_bom.
Referenced by std::codecvt< _InternT, _ExternT, encoding_state >::do_in().
const std::string __gnu_cxx::encoding_state::external_encoding | ( | ) | const [inline] |
bool __gnu_cxx::encoding_state::good | ( | ) | const throw () [inline] |
Definition at line 119 of file codecvt_specializations.h.
References _M_in_desc, and _M_out_desc.
Referenced by std::codecvt< _InternT, _ExternT, encoding_state >::do_in(), std::codecvt< _InternT, _ExternT, encoding_state >::do_out(), and std::codecvt< _InternT, _ExternT, encoding_state >::do_unshift().
const descriptor_type& __gnu_cxx::encoding_state::in_descriptor | ( | ) | const [inline] |
Definition at line 148 of file codecvt_specializations.h.
References _M_in_desc.
Referenced by std::codecvt< _InternT, _ExternT, encoding_state >::do_in(), and std::codecvt< _InternT, _ExternT, encoding_state >::do_unshift().
void __gnu_cxx::encoding_state::init | ( | ) | [inline, protected] |
Definition at line 157 of file codecvt_specializations.h.
References __N, std::__throw_runtime_error(), _M_ext_enc, _M_in_desc, _M_int_enc, _M_out_desc, std::basic_string< _CharT, _Traits, _Alloc >::c_str(), and std::basic_string< _CharT, _Traits, _Alloc >::size().
Referenced by construct(), and encoding_state().
int __gnu_cxx::encoding_state::internal_bom | ( | ) | const [inline] |
Definition at line 136 of file codecvt_specializations.h.
References _M_int_bom.
Referenced by std::codecvt< _InternT, _ExternT, encoding_state >::do_out().
const std::string __gnu_cxx::encoding_state::internal_encoding | ( | ) | const [inline] |
encoding_state& __gnu_cxx::encoding_state::operator= | ( | const encoding_state & | __obj | ) | [inline] |
const descriptor_type& __gnu_cxx::encoding_state::out_descriptor | ( | ) | const [inline] |
Definition at line 152 of file codecvt_specializations.h.
References _M_out_desc.
Referenced by std::codecvt< _InternT, _ExternT, encoding_state >::do_out().
int __gnu_cxx::encoding_state::_M_bytes [protected] |
Definition at line 81 of file codecvt_specializations.h.
Referenced by character_ratio(), and construct().
int __gnu_cxx::encoding_state::_M_ext_bom [protected] |
Definition at line 73 of file codecvt_specializations.h.
Referenced by construct(), and external_bom().
std::string __gnu_cxx::encoding_state::_M_ext_enc [protected] |
Definition at line 64 of file codecvt_specializations.h.
Referenced by construct(), external_encoding(), and init().
descriptor_type __gnu_cxx::encoding_state::_M_in_desc [protected] |
Definition at line 67 of file codecvt_specializations.h.
Referenced by destroy(), good(), in_descriptor(), and init().
int __gnu_cxx::encoding_state::_M_int_bom [protected] |
Definition at line 76 of file codecvt_specializations.h.
Referenced by construct(), and internal_bom().
std::string __gnu_cxx::encoding_state::_M_int_enc [protected] |
Definition at line 61 of file codecvt_specializations.h.
Referenced by construct(), init(), and internal_encoding().
Definition at line 70 of file codecvt_specializations.h.
Referenced by destroy(), good(), init(), and out_descriptor().