|
|
Whole document tree
std::locale class Reference
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members
std::locale Class Reference#include <localefwd.h>
Collaboration diagram for std::locale:
[legend]List of all members.
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 () |
Member Typedef Documentation
typedef unsigned int std::locale::category
|
|
Constructor & Destructor Documentation
std::locale::locale |
( |
|
) |
throw () |
|
std::locale::locale |
( |
const locale & |
__other |
) |
throw () |
|
std::locale::locale |
( |
const char * |
__std_name |
) |
[explicit] |
|
std::locale::locale |
( |
const locale & |
__base, |
|
|
const char * |
__s, |
|
|
category |
__cat |
|
) |
|
|
std::locale::locale |
( |
const locale & |
__base, |
|
|
const locale & |
__add, |
|
|
category |
__cat |
|
) |
|
|
template<typename _Facet> |
std::locale::locale |
( |
const locale & |
__other, |
|
|
_Facet * |
__f |
|
) |
|
|
std::locale::~locale |
( |
|
) |
throw () |
|
std::locale::locale |
( |
_Impl * |
|
) |
throw () [explicit, private] |
|
Member Function Documentation
void std::locale::_M_coalesce |
( |
const locale & |
__base, |
|
|
const locale & |
__add, |
|
|
category |
__cat |
|
) |
[private] |
|
void std::locale::_S_initialize |
( |
|
) |
[inline, static, private] |
|
locale const & std::locale::classic |
( |
|
) |
[static] |
|
template<typename _Facet> |
locale std::locale::combine |
( |
const locale & |
__other |
) |
|
|
locale std::locale::global |
( |
const locale & |
|
) |
[static] |
|
string std::locale::name |
( |
|
) |
const |
|
bool std::locale::operator!= |
( |
const locale & |
__other |
) |
const throw () [inline] |
|
template<typename _CharT, typename _Traits, typename _Alloc> |
bool std::locale::operator() |
( |
const basic_string< _Char, _Traits, _Alloc > & |
__s1, |
|
|
const basic_string< _Char, _Traits, _Alloc > & |
__s2 |
|
) |
const |
|
const locale & std::locale::operator= |
( |
const locale & |
__other |
) |
throw () |
|
bool std::locale::operator== |
( |
const locale & |
__other |
) |
const throw () |
|
Friends And Related Function Documentation
friend class _Impl [friend]
|
|
friend class facet [friend]
|
|
template<typename _Facet> |
bool has_facet |
( |
const locale & |
|
) |
throw () [friend] |
|
template<typename _Facet> |
const _Facet& use_facet |
( |
const locale & |
|
) |
[friend] |
|
Member Data Documentation
_Impl* std::locale::_M_impl [private]
|
|
const size_t std::locale::_S_num_categories = 6 [static, private]
|
|
const size_t std::locale::_S_num_facets = _GLIBCPP_NUM_FACETS [static, private]
|
|
The documentation for this class was generated from the following files:
Generated on Mon Apr 8 03:18:58 2002 for libstdc++-v3 Source by
1.2.15
|