#include <locale_classes.h>
Inheritance diagram for std::locale::facet:
Protected Member Functions | |
facet (size_t __refs=0) throw () | |
Facet constructor. | |
virtual | ~facet () |
Facet destructor. | |
Static Protected Member Functions | |
void | _S_create_c_locale (__c_locale &__cloc, const char *__s, __c_locale __old=0) |
__c_locale | _S_clone_c_locale (__c_locale &__cloc) |
void | _S_destroy_c_locale (__c_locale &__cloc) |
__c_locale | _S_get_c_locale () |
const char * | _S_get_c_name () |
Private Member Functions | |
void | _M_add_reference () const throw () |
void | _M_remove_reference () const throw () |
facet (const facet &) | |
facet & | operator= (const facet &) |
Static Private Member Functions | |
void | _S_initialize_once () |
Private Attributes | |
_Atomic_word | _M_refcount |
Static Private Attributes | |
__c_locale | _S_c_locale |
const char | _S_c_name [2] |
Friends | |
class | locale |
class | locale::_Impl |
The facet class is the base class for a localization feature, such as money, time, and number printing. It provides common support for facets and reference management.
Facets may not be copied or assigned.
Definition at line 343 of file locale_classes.h.
|
Facet constructor. This is the constructor provided by the standard. If refs is 0, the facet is destroyed when the last referencing locale is destroyed. Otherwise the facet will never be destroyed.
Definition at line 375 of file locale_classes.h. Referenced by std::moneypunct< _CharT, _Intl >::decimal_point(), and std::num_get< _CharT, _InIter >::get(). |
|
Facet destructor.
|
|
|
|
Definition at line 402 of file locale_classes.h. |
|
Definition at line 406 of file locale_classes.h. |
|
|
|
|
|
|
|
Referenced by std::money_get< _CharT, _InIter >::do_get(), std::num_get< _CharT, _InIter >::do_get(), std::money_put< _CharT, _OutIter >::do_put(), and std::num_get< _CharT, _InIter >::get(). |
|
|
|
|
|
|
|
Definition at line 346 of file locale_classes.h. |
|
Definition at line 347 of file locale_classes.h. |
|
Definition at line 349 of file locale_classes.h. |
|
Definition at line 352 of file locale_classes.h. |
|
Definition at line 355 of file locale_classes.h. |