|
template<class _Elem , class _Traits , class _Alloc > |
bool | operator() (const basic_string< _Elem, _Traits, _Alloc > &_Left, const basic_string< _Elem, _Traits, _Alloc > &_Right) const |
|
template<class _Facet > |
locale | combine (const locale &_Loc) const |
|
template<class _Facet > |
| locale (const locale &_Loc, const _Facet *_Facptr) |
|
| locale (_Uninitialized) |
|
| locale (const locale &_Right) _THROW0() |
|
| locale () _THROW0() |
|
| locale (const locale &_Loc, const locale &_Other, category _Cat) |
|
| locale (const char *_Locname, category _Cat=all) |
|
| locale (const locale &_Loc, const char *_Locname, category _Cat) |
|
| locale (const string &_Str, category _Cat=all) |
|
| locale (const locale &_Loc, const string &_Str, category _Cat) |
|
| ~locale () _NOEXCEPT |
|
locale & | operator= (const locale &_Right) _THROW0() |
|
string | name () const |
|
const char * | c_str () const |
|
const facet * | _Getfacet (size_t _Id) const |
|
bool | operator== (const locale &_Loc) const |
|
bool | operator!= (const locale &_Right) const |
|
|
static _PGLOBAL const int | collate |
|
static _PGLOBAL const int | ctype |
|
static _PGLOBAL const int | monetary |
|
static _PGLOBAL const int | numeric |
|
static _PGLOBAL const int | time |
|
static _PGLOBAL const int | messages |
|
static _PGLOBAL const int | all |
|
static _PGLOBAL const int | none |
|
template<class _Facet >
locale::locale |
( |
const locale & |
_Loc, |
|
|
const _Facet * |
_Facptr |
|
) |
| |
|
inline |
static _PGLOBAL const int none
Definition: xlocale:34
_Locimp * _Ptr
Definition: xlocale:511
void __CLR_OR_THIS_CALL _Addfac(facet *_Pfacet, size_t _Id)
Definition: xlocale:222
category _Catmask
Definition: xlocale:243
static _MRTIMP2_PURE_NPURE _Locimp *__CLRCALL_PURE_OR_CDECL _New_Locimp(bool _Transparent=false)
_Yarn< char > _Name
Definition: xlocale:245
locale::locale |
( |
_Uninitialized |
| ) |
|
|
inline |
locale::locale |
( |
const locale & |
_Right | ) |
|
|
inline |
_Locimp * _Ptr
Definition: xlocale:511
virtual void __CLR_OR_THIS_CALL _Incref()
Definition: xlocale:148
_Locimp * _Ptr
Definition: xlocale:511
static _MRTIMP2_PURE _Locimp *__CLRCALL_PURE_OR_CDECL _Init(bool _Do_incref=false)
342 _BEGIN_LOCINFO(_Lobj)
343 _Locimp::_Makeloc(_Lobj, _Cat,
_Ptr, &_Other);
344 _Lobj._Addcats(_Loc._Ptr->_Catmask,
346 _Lobj._Addcats(_Other._Ptr->_Catmask,
347 _Other.
name().c_str());
348 _Ptr->_Catmask = _Loc._Ptr->_Catmask
349 | _Other._Ptr->_Catmask;
350 _Ptr->_Name = _Lobj._Getname();
353 delete _Ptr->_Decref();
#define _TRY_BEGIN
Definition: xstddef:60
static _PGLOBAL const int none
Definition: xlocale:34
#define _CATCH_END
Definition: xstddef:63
_Locimp * _Ptr
Definition: xlocale:511
const char * c_str() const
Definition: xlocale:452
#define _CATCH_ALL
Definition: xstddef:62
static _MRTIMP2_PURE_NPURE _Locimp *__CLRCALL_PURE_OR_CDECL _New_Locimp(bool _Transparent=false)
string name() const
Definition: xlocale:447
#define _RERAISE
Definition: xstddef:74
locale::locale |
( |
const char * |
_Locname, |
|
|
category |
_Cat = all |
|
) |
| |
|
inlineexplicit |
_Locimp * _Ptr
Definition: xlocale:511
void _Construct(const string &_Str, category _Cat)
Definition: xlocale:360
static _MRTIMP2_PURE_NPURE _Locimp *__CLRCALL_PURE_OR_CDECL _New_Locimp(bool _Transparent=false)
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xruntime_error(_In_z_ const char *)
locale::locale |
( |
const locale & |
_Loc, |
|
|
const char * |
_Locname, |
|
|
category |
_Cat |
|
) |
| |
|
inline |
_Locimp * _Ptr
Definition: xlocale:511
void _Construct(const string &_Str, category _Cat)
Definition: xlocale:360
static _MRTIMP2_PURE_NPURE _Locimp *__CLRCALL_PURE_OR_CDECL _New_Locimp(bool _Transparent=false)
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xruntime_error(_In_z_ const char *)
_Locimp * _Ptr
Definition: xlocale:511
void _Construct(const string &_Str, category _Cat)
Definition: xlocale:360
static _MRTIMP2_PURE_NPURE _Locimp *__CLRCALL_PURE_OR_CDECL _New_Locimp(bool _Transparent=false)
_Locimp * _Ptr
Definition: xlocale:511
void _Construct(const string &_Str, category _Cat)
Definition: xlocale:360
static _MRTIMP2_PURE_NPURE _Locimp *__CLRCALL_PURE_OR_CDECL _New_Locimp(bool _Transparent=false)
_Locimp * _Ptr
Definition: xlocale:511
virtual _Facet_base *__CLR_OR_THIS_CALL _Decref()
Definition: xlocale:153
locale::locale |
( |
_Locimp * |
_Ptrimp | ) |
|
|
inlineprivate |
_Locimp * _Ptr
Definition: xlocale:511
const char *__CLR_OR_THIS_CALL _Getname() const
Definition: xlocinfo:105
#define _CSTD
Definition: yvals.h:570
368 _BEGIN_LOCINFO(_Lobj(_Cat, _Str.
c_str()))
379 delete
_Ptr->_Decref();
else
Definition: vccorlib.h:1729
#define _TRY_BEGIN
Definition: xstddef:60
static _PGLOBAL const int none
Definition: xlocale:34
#define _CATCH_END
Definition: xstddef:63
_Locimp * _Ptr
Definition: xlocale:511
const _Elem * c_str() const _NOEXCEPT
Definition: xstring:1741
static _Locimp *__CLRCALL_OR_CDECL _Makeloc(const _Locinfo &, category, _Locimp *, const locale *)
bool _Badname(const _Locinfo &_Lobj)
Definition: xlocale:506
virtual _Facet_base *__CLR_OR_THIS_CALL _Decref()
Definition: xlocale:153
#define _CATCH_ALL
Definition: xstddef:62
category _Catmask
Definition: xlocale:243
if(__pUnknown!=*__ppTargetUnknown)
Definition: vccorlib.h:399
_Yarn< char > _Name
Definition: xlocale:245
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xruntime_error(_In_z_ const char *)
#define _RERAISE
Definition: xstddef:74
#define true
Definition: stdbool.h:17
static _MRTIMP2_PURE _Locimp *__CLRCALL_PURE_OR_CDECL _Init(bool _Do_incref=false)
466 return (_Id < _Ptr0->_Facetcount
_Locimp * _Ptr
Definition: xlocale:511
size_t _Facetcount
Definition: xlocale:242
bool _Xparent
Definition: xlocale:244
static _MRTIMP2_PURE _Locimp *__CLRCALL_PURE_OR_CDECL _Getgloballocale()
facet ** _Facetvec
Definition: xlocale:241
const char* locale::c_str |
( |
| ) |
const |
|
inline |
_Locimp * _Ptr
Definition: xlocale:511
const _Elem *__CLR_OR_THIS_CALL c_str() const
Definition: xutility:3779
_Yarn< char > _Name
Definition: xlocale:245
274 _Facptr = (_Facet *)&use_facet<_Facet>(_Loc);
280 _Newimp->_Addfac(_Facptr, _Facet::id);
281 _Newimp->_Catmask =
none;
282 _Newimp->_Name =
"*";
#define _TRY_BEGIN
Definition: xstddef:60
static _PGLOBAL const int none
Definition: xlocale:34
#define _CATCH_END
Definition: xstddef:63
_Locimp * _Ptr
Definition: xlocale:511
locale() _THROW0()
Definition: xlocale:329
#define _CATCH_ALL
Definition: xstddef:62
static _MRTIMP2_PURE_NPURE _Locimp *__CLRCALL_PURE_OR_CDECL _New_Locimp(bool _Transparent=false)
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xruntime_error(_In_z_ const char *)
_Locimp * _Ptr
Definition: xlocale:511
const _Elem *__CLR_OR_THIS_CALL c_str() const
Definition: xutility:3779
_Yarn< char > _Name
Definition: xlocale:245
bool locale::operator!= |
( |
const locale & |
_Right | ) |
const |
|
inline |
481 return (!(*
this == _Right));
template<class _Elem , class _Traits , class _Alloc >
bool locale::operator() |
( |
const basic_string< _Elem, _Traits, _Alloc > & |
_Left, |
|
|
const basic_string< _Elem, _Traits, _Alloc > & |
_Right |
|
) |
| const |
|
inline |
262 use_facet< _STD collate<_Elem> >(*this);
264 return (_Coll_fac.compare(_Left.
c_str(), _Left.
c_str() + _Left.
size(),
const _Elem * c_str() const _NOEXCEPT
Definition: xstring:1741
size_type size() const _NOEXCEPT
Definition: xstring:1763
_Locimp * _Ptr
Definition: xlocale:511
virtual void __CLR_OR_THIS_CALL _Incref()
Definition: xlocale:148
virtual _Facet_base *__CLR_OR_THIS_CALL _Decref()
Definition: xlocale:153
bool locale::operator== |
( |
const locale & |
_Loc | ) |
const |
|
inline |
475 || (
name().compare(
"*") != 0
476 &&
name().compare(_Loc.
name()) == 0));
_Locimp * _Ptr
Definition: xlocale:511
string name() const
Definition: xlocale:447
The documentation for this class was generated from the following file: