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_CALL classic ()
locale combine (const locale &)
_STLP_DECLSPEC locale _STLP_CALL global (const locale &)
_STLP_DECLSPEC string name ()
_STLP_DECLSPEC bool operator!= (const locale &)
bool operator() (const basic_string < _CharT, _Traits, _Alloc > &, const basic_string < _CharT, _Traits, _Alloc > &)
_STLP_DECLSPEC const locale & operator= (const locale &)
_STLP_DECLSPEC bool operator== (const locale &)
Private Member Functions
_STLP_DECLSPEC void _M_insert ( facet *, id &)
Public Member Type Definitions
typedef int category
Public Attributes
const category all
const category collate
const category ctype
const category messages
const category monetary
const category none
const category numeric
const category time
Private Attributes
_Locale_impl * _M_impl

Constructor & Destructor Documentation

locale()

_STLP_DECLSPEC locale ( )

locale(const locale &)

_STLP_DECLSPEC locale ( 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_CALL classic ( ) [static]

combine(const locale &)

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

Parameters

const locale & __loc

global(const locale &)

_STLP_DECLSPEC locale _STLP_CALL global ( const locale & ) [static]

Parameters

const locale &

name()

_STLP_DECLSPEC string name ( ) const

operator!=(const locale &)

_STLP_DECLSPEC bool operator!= ( const locale & ) const

Parameters

const locale &

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

bool operator() ( 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 bool operator== ( const locale & ) const

Parameters

const locale &

Member Type Definitions Documentation

Typedef category

typedef int category

Member Data Documentation

_Locale_impl * _M_impl

_Locale_impl * _M_impl [private]

const category all

const category all [static]

const category collate

const category collate [static]

const category ctype

const category ctype [static]

const category messages

const category messages [static]

const category monetary

const category monetary [static]

const category none

const category none [static]

const category numeric

const category numeric [static]

const category time

const category time [static]