#include <localefwd.h>
Collaboration diagram for std::locale:

Public Types | |
| typedef unsigned int | category |
Public Methods | |
| locale () throw () | |
| locale (const locale &__other) throw () | |
| locale (const char *__std_name) | |
| locale (const locale &__base, const char *__s, category __cat) | |
| locale (const locale &__base, const locale &__add, category __cat) | |
| template<typename _Facet> | locale (const locale &__other, _Facet *__f) |
| ~locale () throw () | |
| const locale & | operator= (const locale &__other) throw () |
| template<typename _Facet> locale | combine (const locale &__other) |
| string | name () const |
| bool | operator== (const locale &__other) const throw () |
| bool | operator!= (const locale &__other) const throw () |
| template<typename _Char, typename _Traits, typename _Alloc> bool | operator() (const basic_string< _Char, _Traits, _Alloc > &__s1, const basic_string< _Char, _Traits, _Alloc > &__s2) const |
Static Public Methods | |
| locale | global (const locale &) |
| const locale & | classic () |
Static Public Attributes | |
| const category | none = 0 |
| const category | ctype = 1L << 0 |
| const category | numeric = 1L << 1 |
| const category | collate = 1L << 2 |
| const category | time = 1L << 3 |
| const category | monetary = 1L << 4 |
| const category | messages = 1L << 5 |
| const category | all |
Private Methods | |
| locale (_Impl *) throw () | |
| void | _M_coalesce (const locale &__base, const locale &__add, category __cat) |
Static Private Methods | |
| void | _S_initialize () |
| category | _S_normalize_category (category) |
Private Attributes | |
| _Impl * | _M_impl |
Static Private Attributes | |
| _Impl * | _S_classic |
| _Impl * | _S_global |
| const size_t | _S_num_categories = 6 |
| const size_t | _S_num_facets = _GLIBCPP_NUM_FACETS |
Friends | |
| class | facet |
| class | _Impl |
| template<typename _Facet> const _Facet & | use_facet (const locale &) |
| template<typename _Facet> bool | has_facet (const locale &) throw () |
|
|
Definition at line 184 of file localefwd.h. Referenced by std::locale::_Impl::_M_replace_categories(). |
|
|
Definition at line 356 of file locale.cc. Referenced by classic(). |
|
|
|
|
|
Definition at line 369 of file locale.cc. References std::__throw_runtime_error(), _Impl, _M_impl, and _S_classic. |
|
||||||||||||||||
|
Definition at line 382 of file locale.cc. References _M_coalesce(). |
|
||||||||||||||||
|
Definition at line 391 of file locale.cc. References _M_coalesce(). |
|
||||||||||||||||
|
Definition at line 369 of file localefwd.h. References _Impl, _M_impl, std::locale::_Impl::_M_install_facet(), std::locale::_Impl::_M_names, and _S_num_categories. |
|
|
|
|
|
|
|
||||||||||||||||
|
Definition at line 341 of file locale.cc. References __throw_exception_again, _Impl, _M_impl, std::locale::_Impl::_M_remove_reference(), std::locale::_Impl::_M_replace_categories(), and _S_normalize_category(). Referenced by locale(). |
|
|
Definition at line 278 of file localefwd.h. References classic(). Referenced by global(). |
|
|
Definition at line 478 of file locale.cc. References std::__throw_runtime_error(), all, monetary, none, numeric, and time. Referenced by _M_coalesce(). |
|
|
Definition at line 445 of file locale.cc. References __throw_exception_again, _Impl, std::locale::_Impl::_M_remove_reference(), _S_classic, _S_global, and locale(). Referenced by _S_initialize(). |
|
||||||||||
|
Definition at line 50 of file locale_facets.tcc. References std::__copy(), _M_impl, and std::locale::_Impl::_M_replace_facet(). |
|
|
Definition at line 412 of file locale.cc. References std::locale::_Impl::_M_add_reference(), std::locale::_Impl::_M_check_same_name(), _M_impl, std::locale::_Impl::_M_names, std::locale::_Impl::_M_remove_reference(), _S_global, _S_initialize(), and name(). |
|
|
Definition at line 426 of file locale.cc. References std::locale::_Impl::_M_check_same_name(), _M_impl, std::locale::_Impl::_M_names, _S_num_categories, and std::string. Referenced by global(). |
|
|
Definition at line 246 of file localefwd.h. References operator==(). |
|
||||||||||||||||
|
Definition at line 59 of file locale_facets.tcc. References std::basic_string< _CharT, _Traits, _Alloc >::data(), and std::basic_string< _CharT, _Traits, _Alloc >::length(). |
|
|
|
|
|
Definition at line 395 of file locale.cc. References std::string. Referenced by operator!=(). |
|
|
Definition at line 192 of file localefwd.h. Referenced by _M_coalesce(), classic(), and locale(). |
|
|
Definition at line 191 of file localefwd.h. |
|
||||||||||
|
Definition at line 83 of file locale_facets.tcc. |
|
||||||||||
|
Definition at line 70 of file locale_facets.tcc. |
|
|
Definition at line 263 of file localefwd.h. Referenced by _M_coalesce(), combine(), global(), locale(), name(), and std::use_facet(). |
|
|
|
|
|
|
|
|
Definition at line 58 of file locale.cc. Referenced by std::locale::_Impl::_M_check_same_name(), locale(), and name(). |
|
|
|
|
|
Initial value: Definition at line 54 of file locale.cc. Referenced by _S_normalize_category(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 52 of file locale.cc. Referenced by _S_normalize_category(). |
|
|
Definition at line 47 of file locale.cc. Referenced by _S_normalize_category(). |
|
|
Definition at line 49 of file locale.cc. Referenced by _S_normalize_category(). |
|
|
Definition at line 51 of file locale.cc. Referenced by _S_normalize_category(). |
1.2.15