#include <localefwd.h>
Collaboration diagram for std::locale::_Impl:
Public Types | |
typedef vector< facet *, allocator< facet * > > | __vec_facet |
Private Methods | |
void | _M_add_reference () throw () |
void | _M_remove_reference () throw () |
_Impl (const _Impl &, size_t) | |
_Impl (string __name, size_t) | |
~_Impl () throw () | |
bool | _M_check_same_name () |
void | _M_replace_categories (const _Impl *, category) |
void | _M_replace_category (const _Impl *, const locale::id *const *) |
void | _M_replace_facet (const _Impl *, const locale::id *) |
void | _M_install_facet (const locale::id *, facet *) |
template<typename _Facet> void | _M_init_facet (_Facet *__facet) |
Private Attributes | |
size_t | _M_references |
__vec_facet * | _M_facets |
string | _M_names [_S_num_categories] |
__c_locale | _M_c_locale |
Static Private Attributes | |
const locale::id *const | _S_id_ctype [] |
const locale::id *const | _S_id_numeric [] |
const locale::id *const | _S_id_collate [] |
const locale::id *const | _S_id_time [] |
const locale::id *const | _S_id_monetary [] |
const locale::id *const | _S_id_messages [] |
const locale::id *const *const | _S_facet_categories [] |
Friends | |
class | locale |
class | locale::facet |
template<typename _Facet> const _Facet & | use_facet (const locale &) |
template<typename _Facet> bool | has_facet (const locale &) throw () |
|
Definition at line 294 of file localefwd.h. Referenced by _Impl(). |
|
Definition at line 49 of file localename.cc. References __throw_exception_again, __vec_facet, _M_facets, and _M_names. |
|
Definition at line 71 of file localename.cc. References __throw_exception_again, __vec_facet, _M_c_locale, _M_facets, _M_init_facet(), _M_names, and std::string. |
|
Definition at line 37 of file localename.cc. |
|
Definition at line 323 of file localefwd.h. Referenced by std::locale::global(). |
|
Definition at line 343 of file localefwd.h. References std::locale::_S_num_categories. Referenced by std::locale::global(), and std::locale::name(). |
|
Definition at line 364 of file localefwd.h. Referenced by _Impl(). |
|
Definition at line 170 of file localename.cc. References std::locale::facet::_M_add_reference(), _M_facets, std::locale::id::_M_index, and std::locale::facet::_M_remove_reference(). Referenced by _M_replace_facet(), and std::locale::locale(). |
|
Definition at line 327 of file localefwd.h. Referenced by std::locale::_M_coalesce(), std::locale::classic(), and std::locale::global(). |
|
Definition at line 129 of file localename.cc. References _M_names, _M_replace_category(), _S_facet_categories, std::locale::category, and std::string. Referenced by std::locale::_M_coalesce(). |
|
Definition at line 149 of file localename.cc. References _M_replace_facet(). Referenced by _M_replace_categories(). |
|
Definition at line 157 of file localename.cc. References std::__throw_runtime_error(), _M_facets, std::locale::id::_M_index, and _M_install_facet(). Referenced by _M_replace_category(), and std::locale::combine(). |
|
Definition at line 83 of file locale_facets.tcc. |
|
Definition at line 297 of file localefwd.h. |
|
Definition at line 298 of file localefwd.h. |
|
Definition at line 70 of file locale_facets.tcc. |
|
Definition at line 313 of file localefwd.h. Referenced by _Impl(). |
|
Definition at line 311 of file localefwd.h. Referenced by _Impl(), _M_install_facet(), and _M_replace_facet(). |
|
Definition at line 312 of file localefwd.h. Referenced by _Impl(), _M_replace_categories(), std::locale::global(), std::locale::locale(), and std::locale::name(). |
|
Definition at line 310 of file localefwd.h. |
|
Initial value: { locale::_Impl::_S_id_ctype, locale::_Impl::_S_id_numeric, locale::_Impl::_S_id_collate, locale::_Impl::_S_id_time, locale::_Impl::_S_id_monetary, locale::_Impl::_S_id_messages, 0 } Definition at line 149 of file locale.cc. Referenced by _M_replace_categories(). |
|
Initial value: { &std::collate<char>::id, 0 } |
|
Initial value: { &std::ctype<char>::id, &codecvt<char, char, mbstate_t>::id, 0 } |
|
Initial value: { &std::messages<char>::id, 0 } |
|
Initial value: { &money_get<char>::id, &money_put<char>::id, &moneypunct<char, false>::id, &moneypunct<char, true >::id, 0 } |
|
Initial value: { &num_get<char>::id, &num_put<char>::id, &numpunct<char>::id, 0 } |
|
Initial value: { &time_get<char>::id, &time_put<char>::id, 0 } |