locale Class Reference

class locale

Nested Classes and Structures

Public Member Functions
locale()
locale(const locale &)
locale(const char *)
locale(const locale &, const char *, category)
locale(_Locale_impl *)
locale(_Locale_impl *, bool)
locale(const locale &, _Facet *)
locale(const locale &, const locale &, category)
~locale()
_STLP_DECLSPEC facet *_M_get_facet(const id &)
_STLP_DECLSPEC void _STLP_CALL_M_throw_runtime_error(const char *)
_STLP_DECLSPEC facet *_M_use_facet(const id &)
void _STLP_CALL_S_initialize()
void _STLP_CALL_S_uninitialize()
_STLP_DECLSPEC const locale &_STLP_CALLclassic()
locale combine(const locale &)
_STLP_DECLSPEC locale _STLP_CALLglobal(const locale &)
_STLP_DECLSPEC stringname()
_STLP_DECLSPEC booloperator!=(const locale &)
booloperator()(const basic_string< _CharT, _Traits, _Alloc > &, const basic_string< _CharT, _Traits, _Alloc > &)
_STLP_DECLSPEC const locale &operator=(const locale &)
_STLP_DECLSPEC booloperator==(const locale &)
Private Member Functions
_STLP_DECLSPEC void_M_insert(facet *, id &)
Public Member Type Definitions
typedefint category
Public Attributes
const categoryall
const categorycollate
const categoryctype
const categorymessages
const categorymonetary
const categorynone
const categorynumeric
const categorytime
Private Attributes
_Locale_impl *_M_impl

Constructor & Destructor Documentation

locale()

_STLP_DECLSPEClocale()

locale(const locale &)

_STLP_DECLSPEClocale(const locale &)

Parameters

const locale &

locale(const char *)

locale(const char *)[explicit]

Parameters

const char *

locale(const locale &, const char *, category)

locale(const locale &,
const char *,
category
)

Parameters

const locale &
const char *
category

locale(_Locale_impl *)

locale(_Locale_impl *)

Parameters

_Locale_impl *

locale(_Locale_impl *, bool)

locale(_Locale_impl *,
bool
)

Parameters

_Locale_impl *
bool

locale(const locale &, _Facet *)

locale(const locale &__loc,
_Facet *__f
)[inline]

Parameters

const locale & __loc
_Facet * __f

locale(const locale &, const locale &, category)

locale(const locale &,
const locale &,
category
)

Parameters

const locale &
const locale &
category

~locale()

_STLP_DECLSPEC~locale()

Member Functions Documentation

_M_get_facet(const id &)

_STLP_DECLSPEC facet *_M_get_facet(const id &)const

Parameters

const id &

_M_insert(facet *, id &)

_STLP_DECLSPEC void_M_insert(facet *__f,
id &__id
)[private]

Parameters

facet * __f
id & __id

_M_throw_runtime_error(const char *)

_STLP_DECLSPEC void _STLP_CALL_M_throw_runtime_error(const char * = 0)[static]

Parameters

const char *  = 0

_M_use_facet(const id &)

_STLP_DECLSPEC facet *_M_use_facet(const id &)const

Parameters

const id &

_S_initialize()

void _STLP_CALL_S_initialize()[static]

_S_uninitialize()

void _STLP_CALL_S_uninitialize()[static]

classic()

_STLP_DECLSPEC const locale &_STLP_CALLclassic()[static]

combine(const locale &)

locale combine(const locale &__loc)const [inline]

Parameters

const locale & __loc

global(const locale &)

_STLP_DECLSPEC locale _STLP_CALLglobal(const locale &)[static]

Parameters

const locale &

name()

_STLP_DECLSPEC stringname()const

operator!=(const locale &)

_STLP_DECLSPEC booloperator!=(const locale &)const

Parameters

const locale &

operator()(const basic_string< _CharT, _Traits, _Alloc > &, const basic_string< _CharT, _Traits, _Alloc > &)

booloperator()(const basic_string< _CharT, _Traits, _Alloc > &__x,
const basic_string< _CharT, _Traits, _Alloc > &__y
)const [inline]

Parameters

const basic_string< _CharT, _Traits, _Alloc > & __x
const basic_string< _CharT, _Traits, _Alloc > & __y

operator=(const locale &)

_STLP_DECLSPEC const locale &operator=(const locale &)

Parameters

const locale &

operator==(const locale &)

_STLP_DECLSPEC booloperator==(const locale &)const

Parameters

const locale &

Member Type Definitions Documentation

Typedef category

typedef intcategory

Member Data Documentation

_Locale_impl * _M_impl

_Locale_impl *_M_impl[private]

const category all

const categoryall[static]

const category collate

const categorycollate[static]

const category ctype

const categoryctype[static]

const category messages

const categorymessages[static]

const category monetary

const categorymonetary[static]

const category none

const categorynone[static]

const category numeric

const categorynumeric[static]

const category time

const categorytime[static]