ReactOS  0.4.13-dev-563-g0561610
locale::facet Class Reference

#include <_locale.h>

Inheritance diagram for locale::facet:
Collaboration diagram for locale::facet:

Protected Member Functions

 facet (size_t __init_count=0)
 
virtual ~facet ()
 
- Protected Member Functions inherited from _Refcount_Base
 _Refcount_Base (__stl_atomic_t __n)
 
__stl_atomic_t _M_incr ()
 
__stl_atomic_t _M_decr ()
 

Private Member Functions

 facet (const facet &)
 
void operator= (const facet &)
 

Friends

class locale
 
class _Locale_impl
 
facet *_STLP_CALL _get_facet (facet *)
 
void _STLP_CALL _release_facet (facet *&)
 

Detailed Description

Definition at line 78 of file _locale.h.

Constructor & Destructor Documentation

◆ facet() [1/2]

locale::facet::facet ( size_t  __init_count = 0)
inlineexplicitprotected

Definition at line 84 of file _locale.h.

84 : _Refcount_Base( __init_count == 0 ? 0 : 1 ) {}
_Refcount_Base(__stl_atomic_t __n)
Definition: _threads.h:457

◆ ~facet()

locale::facet::~facet ( )
protectedvirtual

Definition at line 42 of file locale.cpp.

42 {}

◆ facet() [2/2]

locale::facet::facet ( const facet )
private

Member Function Documentation

◆ operator=()

Friends And Related Function Documentation

◆ _get_facet

facet* _STLP_CALL _get_facet ( locale::facet f)
friend

Definition at line 36 of file locale_impl.cpp.

37 {
38  if (f != 0)
39  f->_M_incr();
40  return f;
41 }
GLfloat f
Definition: glext.h:7540
#define f
Definition: ke_i.h:83

◆ _Locale_impl

friend class _Locale_impl
friend

Definition at line 87 of file _locale.h.

◆ _release_facet

void _STLP_CALL _release_facet ( locale::facet *&  f)
friend

Definition at line 43 of file locale_impl.cpp.

44 {
45  if ((f != 0) && (f->_M_decr() == 0)) {
46  delete f;
47  f = 0;
48  }
49 }
GLfloat f
Definition: glext.h:7540
#define f
Definition: ke_i.h:83

◆ locale

friend class locale
friend

Definition at line 86 of file _locale.h.


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