|
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 |
|
template<class _Facet >
locale::locale |
( |
const locale & |
_Loc, |
|
|
const _Facet * |
_Facptr |
|
) |
| |
|
inline |
288 if (_Facet::_Getcat() != (
size_t)(-1))
_Locimp * _Ptr
Definition: xlocale:519
void __CLR_OR_THIS_CALL _Addfac(facet *_Pfacet, size_t _Id)
Definition: xlocale:217
category _Catmask
Definition: xlocale:238
static _MRTIMP2_PURE_NPURE _Locimp *__CLRCALL_PURE_OR_CDECL _New_Locimp(bool _Transparent=false)
_Yarn< char > _Name
Definition: xlocale:240
locale::locale |
( |
_Uninitialized |
| ) |
|
|
inline |
locale::locale |
( |
const locale & |
_Right | ) |
|
|
inline |
_Locimp * _Ptr
Definition: xlocale:519
virtual void __CLR_OR_THIS_CALL _Incref()
Definition: xlocale:143
_Locimp * _Ptr
Definition: xlocale:519
static _MRTIMP2_PURE _Locimp *__CLRCALL_PURE_OR_CDECL _Init(bool _Do_incref=false)
339 _Locimp::_Makeloc(_Lobj._Addcats(_Cat & _Other.
_Ptr->_Catmask,
#define _TRY_BEGIN
Definition: xstddef:60
#define _CATCH_END
Definition: xstddef:63
#define _DELETE_CRT(ptr)
Definition: xdebug:70
_Locimp * _Ptr
Definition: xlocale:519
const char * c_str() const
Definition: xlocale:460
const _Elem *__CLR_OR_THIS_CALL c_str() const
Definition: xutility:3396
#define _CATCH_ALL
Definition: xstddef:62
category _Catmask
Definition: xlocale:238
static _MRTIMP2_PURE_NPURE _Locimp *__CLRCALL_PURE_OR_CDECL _New_Locimp(bool _Transparent=false)
_Yarn< char > _Name
Definition: xlocale:240
#define _RERAISE
Definition: xstddef:74
locale::locale |
( |
const char * |
_Locname, |
|
|
category |
_Cat = all |
|
) |
| |
|
inlineexplicit |
407 _Xruntime_error(
"bad locale name");
_Locimp * _Ptr
Definition: xlocale:519
void _Construct(const string &_Str, category _Cat)
Definition: xlocale:349
static _MRTIMP2_PURE_NPURE _Locimp *__CLRCALL_PURE_OR_CDECL _New_Locimp(bool _Transparent=false)
locale::locale |
( |
const locale & |
_Loc, |
|
|
const char * |
_Locname, |
|
|
category |
_Cat |
|
) |
| |
|
inline |
418 _Xruntime_error(
"bad locale name");
_Locimp * _Ptr
Definition: xlocale:519
void _Construct(const string &_Str, category _Cat)
Definition: xlocale:349
static _MRTIMP2_PURE_NPURE _Locimp *__CLRCALL_PURE_OR_CDECL _New_Locimp(bool _Transparent=false)
_Locimp * _Ptr
Definition: xlocale:519
void _Construct(const string &_Str, category _Cat)
Definition: xlocale:349
static _MRTIMP2_PURE_NPURE _Locimp *__CLRCALL_PURE_OR_CDECL _New_Locimp(bool _Transparent=false)
_Locimp * _Ptr
Definition: xlocale:519
void _Construct(const string &_Str, category _Cat)
Definition: xlocale:349
static _MRTIMP2_PURE_NPURE _Locimp *__CLRCALL_PURE_OR_CDECL _New_Locimp(bool _Transparent=false)
#define _DELETE_CRT(ptr)
Definition: xdebug:70
_Locimp * _Ptr
Definition: xlocale:519
virtual _Facet_base *__CLR_OR_THIS_CALL _Decref()
Definition: xlocale:148
locale::locale |
( |
_Locimp * |
_Ptrimp | ) |
|
|
inlineprivate |
_Locimp * _Ptr
Definition: xlocale:519
const char *__CLR_OR_THIS_CALL _Getname() const
Definition: xlocinfo:105
#define _CSTD
Definition: yvals.h:559
355 _BEGIN_LOCINFO(_Lobj(_Cat, _Str.
c_str()))
359 _Locimp::_Makeloc(_Lobj, _Cat,
_Ptr, 0);
369 _Xruntime_error(
"bad locale name");
else
Definition: vccorlib.h:1721
#define _TRY_BEGIN
Definition: xstddef:60
#define _CATCH_END
Definition: xstddef:63
#define _DELETE_CRT(ptr)
Definition: xdebug:70
_Locimp * _Ptr
Definition: xlocale:519
const _Elem * c_str() const _NOEXCEPT
Definition: xstring:1737
bool _Badname(const _Locinfo &_Lobj)
Definition: xlocale:514
#define _CATCH_ALL
Definition: xstddef:62
if(__pUnknown!=*__ppTargetUnknown)
Definition: vccorlib.h:394
#define _RERAISE
Definition: xstddef:74
#define true
Definition: stdbool.h:12
static _MRTIMP2_PURE _Locimp *__CLRCALL_PURE_OR_CDECL _Init(bool _Do_incref=false)
380 _Lobj._Addcats(_Cat, _Str.
c_str());
385 _Locimp::_Makeloc(_Lobj, _Cat,
_Ptr, 0);
395 _Xruntime_error(
"bad locale name");
else
Definition: vccorlib.h:1721
#define _TRY_BEGIN
Definition: xstddef:60
#define _CATCH_END
Definition: xstddef:63
#define _DELETE_CRT(ptr)
Definition: xdebug:70
_Locimp * _Ptr
Definition: xlocale:519
const char * c_str() const
Definition: xlocale:460
const _Elem *__CLR_OR_THIS_CALL c_str() const
Definition: xutility:3396
#define bool
Definition: stdbool.h:10
bool _Badname(const _Locinfo &_Lobj)
Definition: xlocale:514
#define _CATCH_ALL
Definition: xstddef:62
category _Catmask
Definition: xlocale:238
if(__pUnknown!=*__ppTargetUnknown)
Definition: vccorlib.h:394
_Yarn< char > _Name
Definition: xlocale:240
#define _RERAISE
Definition: xstddef:74
#define true
Definition: stdbool.h:12
474 return (_Id < _Ptr->_Facetcount
_Locimp * _Ptr
Definition: xlocale:519
size_t _Facetcount
Definition: xlocale:237
bool _Xparent
Definition: xlocale:239
static _MRTIMP2_PURE _Locimp *__CLRCALL_PURE_OR_CDECL _Getgloballocale()
facet ** _Facetvec
Definition: xlocale:236
const char* locale::c_str |
( |
| ) |
const |
|
inline |
_Locimp * _Ptr
Definition: xlocale:519
const _Elem *__CLR_OR_THIS_CALL c_str() const
Definition: xutility:3396
_Yarn< char > _Name
Definition: xlocale:240
269 _Facptr = (_Facet *)&use_facet<_Facet>(_Loc);
271 _Xruntime_error(
"locale::combine facet missing");
275 _Newimp->_Addfac(_Facptr, _Facet::id);
276 _Newimp->_Catmask = 0;
277 _Newimp->_Name =
"*";
#define _TRY_BEGIN
Definition: xstddef:60
#define _CATCH_END
Definition: xstddef:63
_Locimp * _Ptr
Definition: xlocale:519
locale() _THROW0()
Definition: xlocale:327
#define _CATCH_ALL
Definition: xstddef:62
static _MRTIMP2_PURE_NPURE _Locimp *__CLRCALL_PURE_OR_CDECL _New_Locimp(bool _Transparent=false)
_Locimp * _Ptr
Definition: xlocale:519
const _Elem *__CLR_OR_THIS_CALL c_str() const
Definition: xutility:3396
_Yarn< char > _Name
Definition: xlocale:240
bool locale::operator!= |
( |
const locale & |
_Right | ) |
const |
|
inline |
489 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 |
257 use_facet<_STD collate<_Elem> >(*this);
259 return (_Coll_fac.compare(_Left.
c_str(), _Left.
c_str() + _Left.
size(),
const _Elem * c_str() const _NOEXCEPT
Definition: xstring:1737
size_type size() const _NOEXCEPT
Definition: xstring:1752
#define _DELETE_CRT(ptr)
Definition: xdebug:70
_Locimp * _Ptr
Definition: xlocale:519
virtual void __CLR_OR_THIS_CALL _Incref()
Definition: xlocale:143
virtual _Facet_base *__CLR_OR_THIS_CALL _Decref()
Definition: xlocale:148
bool locale::operator== |
( |
const locale & |
_Loc | ) |
const |
|
inline |
483 || (
name().compare(
"*") != 0
484 &&
name().compare(_Loc.
name()) == 0));
_Locimp * _Ptr
Definition: xlocale:519
string name() const
Definition: xlocale:455
The documentation for this class was generated from the following file: