STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
locale::facet Class Reference
Inheritance diagram for locale::facet:
_Facet_base _Crt_new_delete codecvt_base collate< _Elem > collate< char > collate< wchar_t > ctype_base locale::_Locimp messages_base money_base money_get< _Elem, _InIt > money_put< _Elem, _OutIt > num_get< _Elem, _InIt > num_put< _Elem, _OutIt > numpunct< _Elem > time_base time_put< _Elem, _OutIt > time_put< wchar_t, _OutIt >

Public Member Functions

virtual void __CLR_OR_THIS_CALL _Incref ()
 
virtual _Facet_base *__CLR_OR_THIS_CALL _Decref ()
 
__CLR_OR_THIS_CALL facet (const facet &)=delete
 
facet &__CLR_OR_THIS_CALL operator= (const facet &)=delete
 
- Public Member Functions inherited from _Facet_base
virtual __CLR_OR_THIS_CALL ~_Facet_base () _NOEXCEPT
 

Static Public Member Functions

static size_t __CLRCALL_OR_CDECL _Getcat (const facet **=0, const locale *=0)
 

Protected Member Functions

__CLR_OR_THIS_CALL facet (size_t _Initrefs=0)
 
virtual __CLR_OR_THIS_CALL ~facet () _NOEXCEPT
 

Private Attributes

_Atomic_counter_t _Myrefs
 

Constructor & Destructor Documentation

__CLR_OR_THIS_CALL locale::facet::facet ( size_t  _Initrefs = 0)
inlineexplicitprotected
166  { // construct with initial reference count
168  }
void _Init_atomic_counter(_Atomic_counter_t &_Counter, _Atomic_integral_t _Value)
Definition: xatomic0.h:60
_Atomic_counter_t _Myrefs
Definition: xlocale:162
_Uint4_t _Atomic_integral_t
Definition: xatomic0.h:25
virtual __CLR_OR_THIS_CALL locale::facet::~facet ( )
inlineprotectedvirtual
171  { // ensure that derived classes can be destroyed properly
172  }
__CLR_OR_THIS_CALL locale::facet::facet ( const facet )
delete

Member Function Documentation

virtual _Facet_base* __CLR_OR_THIS_CALL locale::facet::_Decref ( )
inlinevirtual

Implements _Facet_base.

154  { // decrement use count
155  if (_MT_DECR(_Myrefs) == 0)
156  return (this);
157  else
158  return (0);
159  }
_Atomic_counter_t _Myrefs
Definition: xlocale:162
#define _MT_DECR(x)
Definition: xmemory0:1163
static size_t __CLRCALL_OR_CDECL locale::facet::_Getcat ( const facet **  = 0,
const locale = 0 
)
inlinestatic
144  { // get category value, or -1 if no corresponding C category
145  return ((size_t)(-1));
146  }
virtual void __CLR_OR_THIS_CALL locale::facet::_Incref ( )
inlinevirtual

Implements _Facet_base.

149  { // increment use count
150  _MT_INCR(_Myrefs);
151  }
#define _MT_INCR(x)
Definition: xmemory0:1161
_Atomic_counter_t _Myrefs
Definition: xlocale:162
facet& __CLR_OR_THIS_CALL locale::facet::operator= ( const facet )
delete

Member Data Documentation

_Atomic_counter_t locale::facet::_Myrefs
private

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