|
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 |
|
_Ret_z_ const char * | c_str () const |
|
const facet * | _Getfacet (size_t _Id) const |
|
bool | operator== (const locale &_Loc) const |
|
bool | operator!= (const locale &_Right) const |
|
template<class _Facet >
locale::locale |
( |
const locale & |
_Loc, |
|
|
const _Facet * |
_Facptr |
|
) |
| |
|
inline |
static _PGLOBAL const int none
Definition: xlocale:33
_Locimp * _Ptr
Definition: xlocale:483
void __CLR_OR_THIS_CALL _Addfac(facet *_Pfacet, size_t _Id)
Definition: xlocale:218
category _Catmask
Definition: xlocale:239
static _MRTIMP2_PURE_NPURE _Locimp *__CLRCALL_PURE_OR_CDECL _New_Locimp(bool _Transparent=false)
_Yarn< char > _Name
Definition: xlocale:241
locale::locale |
( |
_Uninitialized |
| ) |
|
|
inline |
locale::locale |
( |
const locale & |
_Right | ) |
|
|
inline |
_Locimp * _Ptr
Definition: xlocale:483
virtual void __CLR_OR_THIS_CALL _Incref()
Definition: xlocale:147
_Locimp * _Ptr
Definition: xlocale:483
static _MRTIMP2_PURE _Locimp *__CLRCALL_PURE_OR_CDECL _Init(bool _Do_incref=false)
315 _BEGIN_LOCINFO(_Lobj)
316 _Locimp::_Makeloc(_Lobj, _Cat,
_Ptr, &_Other);
317 _Lobj._Addcats(_Loc._Ptr->_Catmask,
319 _Lobj._Addcats(_Other._Ptr->_Catmask,
320 _Other.
name().c_str());
321 _Ptr->_Catmask = _Loc._Ptr->_Catmask
322 | _Other._Ptr->_Catmask;
323 _Ptr->_Name = _Lobj._Getname();
326 delete _Ptr->_Decref();
#define _TRY_BEGIN
Definition: xstddef:26
static _PGLOBAL const int none
Definition: xlocale:33
#define _CATCH_END
Definition: xstddef:29
_Locimp * _Ptr
Definition: xlocale:483
_Ret_z_ const char * c_str() const
Definition: xlocale:424
#define _CATCH_ALL
Definition: xstddef:28
static _MRTIMP2_PURE_NPURE _Locimp *__CLRCALL_PURE_OR_CDECL _New_Locimp(bool _Transparent=false)
string name() const
Definition: xlocale:419
#define _RERAISE
Definition: xstddef:32
_Locimp * _Ptr
Definition: xlocale:483
void _Construct(const string &_Str, category _Cat)
Definition: xlocale:333
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:483
void _Construct(const string &_Str, category _Cat)
Definition: xlocale:333
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:483
void _Construct(const string &_Str, category _Cat)
Definition: xlocale:333
static _MRTIMP2_PURE_NPURE _Locimp *__CLRCALL_PURE_OR_CDECL _New_Locimp(bool _Transparent=false)
_Locimp * _Ptr
Definition: xlocale:483
void _Construct(const string &_Str, category _Cat)
Definition: xlocale:333
static _MRTIMP2_PURE_NPURE _Locimp *__CLRCALL_PURE_OR_CDECL _New_Locimp(bool _Transparent=false)
_Locimp * _Ptr
Definition: xlocale:483
virtual _Facet_base *__CLR_OR_THIS_CALL _Decref()
Definition: xlocale:152
locale::locale |
( |
_Locimp * |
_Ptrimp | ) |
|
|
inlineprivate |
_Locimp * _Ptr
Definition: xlocale:483
const char *__CLR_OR_THIS_CALL _Getname() const
Definition: xlocinfo:104
_In_z_ char const _Source _Check_return_ int __cdecl strcmp(_In_z_ char const *_Str1, _In_z_ char const *_Str2)
#define _CSTD
Definition: yvals.h:570
341 _BEGIN_LOCINFO(_Lobj(_Cat, _Str.
c_str()))
352 delete
_Ptr->_Decref();
_Ret_z_ const _Elem * c_str() const _NOEXCEPT
Definition: xstring:3001
#define _TRY_BEGIN
Definition: xstddef:26
static _PGLOBAL const int none
Definition: xlocale:33
#define _CATCH_END
Definition: xstddef:29
_Locimp * _Ptr
Definition: xlocale:483
if(_Source==NULL||_DestinationSize< _SourceSize)
Definition: corecrt_memcpy_s.h:48
else
Definition: variant:945
static _Locimp *__CLRCALL_OR_CDECL _Makeloc(const _Locinfo &, category, _Locimp *, const locale *)
bool _Badname(const _Locinfo &_Lobj)
Definition: xlocale:478
virtual _Facet_base *__CLR_OR_THIS_CALL _Decref()
Definition: xlocale:152
#define _CATCH_ALL
Definition: xstddef:28
category _Catmask
Definition: xlocale:239
_Yarn< char > _Name
Definition: xlocale:241
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Xruntime_error(_In_z_ const char *)
#define _RERAISE
Definition: xstddef:32
#define true
Definition: stdbool.h:17
static _MRTIMP2_PURE _Locimp *__CLRCALL_PURE_OR_CDECL _Init(bool _Do_incref=false)
438 return (_Id < _Ptr0->_Facetcount
_Locimp * _Ptr
Definition: xlocale:483
size_t _Facetcount
Definition: xlocale:238
bool _Xparent
Definition: xlocale:240
static _MRTIMP2_PURE _Locimp *__CLRCALL_PURE_OR_CDECL _Getgloballocale()
facet ** _Facetvec
Definition: xlocale:237
_Locimp * _Ptr
Definition: xlocale:483
_Ret_z_ const _Elem *__CLR_OR_THIS_CALL c_str() const
Definition: xutility:3662
_Yarn< char > _Name
Definition: xlocale:241
268 _Facptr = (_Facet *)&use_facet<_Facet>(_Loc);
274 _Newimp->_Addfac(_Facptr, _Facet::id);
275 _Newimp->_Catmask =
none;
276 _Newimp->_Name =
"*";
#define _TRY_BEGIN
Definition: xstddef:26
static _PGLOBAL const int none
Definition: xlocale:33
#define _CATCH_END
Definition: xstddef:29
_Locimp * _Ptr
Definition: xlocale:483
locale() _THROW0()
Definition: xlocale:302
#define _CATCH_ALL
Definition: xstddef:28
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:483
_Ret_z_ const _Elem *__CLR_OR_THIS_CALL c_str() const
Definition: xutility:3662
_Yarn< char > _Name
Definition: xlocale:241
bool locale::operator!= |
( |
const locale & |
_Right | ) |
const |
|
inline |
453 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 |
256 use_facet< _STD collate<_Elem> >(*this);
258 return (_Coll_fac.compare(_Left.
c_str(), _Left.
c_str() + _Left.
size(),
_Ret_z_ const _Elem * c_str() const _NOEXCEPT
Definition: xstring:3001
size_type size() const _NOEXCEPT
Definition: xstring:3023
_Locimp * _Ptr
Definition: xlocale:483
virtual void __CLR_OR_THIS_CALL _Incref()
Definition: xlocale:147
virtual _Facet_base *__CLR_OR_THIS_CALL _Decref()
Definition: xlocale:152
bool locale::operator== |
( |
const locale & |
_Loc | ) |
const |
|
inline |
447 || (
name().compare(
"*") != 0
448 &&
name().compare(_Loc.
name()) == 0));
_Locimp * _Ptr
Definition: xlocale:483
string name() const
Definition: xlocale:419
The documentation for this class was generated from the following file: