STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
locale::id Class Reference

Public Member Functions

__CLR_OR_THIS_CALL id (size_t _Val=0)
 
__CLR_OR_THIS_CALL operator size_t ()
 
__CLR_OR_THIS_CALL id (const id &)=delete
 
id &__CLR_OR_THIS_CALL operator= (const id &)=delete
 

Private Attributes

size_t _Id
 

Static Private Attributes

static __PURE_APPDOMAIN_GLOBAL int _Id_cnt
 

Constructor & Destructor Documentation

__CLR_OR_THIS_CALL locale::id::id ( size_t  _Val = 0)
inline
109  : _Id(_Val)
110  { // construct with specified stamp value
111  }
_In_ int _Val
Definition: vcruntime_string.h:62
size_t _Id
Definition: xlocale:126
__CLR_OR_THIS_CALL locale::id::id ( const id )
delete

Member Function Documentation

__CLR_OR_THIS_CALL locale::id::operator size_t ( )
inline
114  { // get stamp, with lazy allocation
115  if (_Id == 0)
116  { // still zero, allocate stamp
117  _BEGIN_LOCK(_LOCK_LOCALE)
118  if (_Id == 0)
119  _Id = ++_Id_cnt;
120  _END_LOCK()
121  }
122  return (_Id);
123  }
size_t _Id
Definition: xlocale:126
return(_PAIR_TYPE(_FwdIt)(_First, _First))
if(__pUnknown!=*__ppTargetUnknown)
Definition: vccorlib.h:399
#define _LOCK_LOCALE
Definition: yvals.h:604
static __PURE_APPDOMAIN_GLOBAL int _Id_cnt
Definition: xlocale:128
id& __CLR_OR_THIS_CALL locale::id::operator= ( const id )
delete

Member Data Documentation

size_t locale::id::_Id
private
__PURE_APPDOMAIN_GLOBAL int locale::id::_Id_cnt
staticprivate

The documentation for this class was generated from the following file: