ReactOS  0.4.14-dev-833-g5f692ed
messages< wchar_t > Class Reference

#include <_messages_facets.h>

Inheritance diagram for messages< wchar_t >:
Collaboration diagram for messages< wchar_t >:

Public Types

typedef messages_base::catalog catalog
 
typedef wchar_t char_type
 
typedef wstring string_type
 
- Public Types inherited from messages_base
typedef int catalog
 

Public Member Functions

 messages (size_t __refs=0)
 
catalog open (const string &__fn, const locale &__loc) const
 
string_type get (catalog __c, int __set, int __msgid, const string_type &__dfault) const
 
void close (catalog __c) const
 

Static Public Attributes

static _STLP_STATIC_DECLSPEC locale::id id = { 20 }
 

Protected Member Functions

 ~messages ()
 
virtual catalog do_open (const string &__fn, const locale &__loc) const
 
virtual string_type do_get (catalog __c, int __set, int __msgid, const string_type &__dfault) const
 
virtual void do_close (catalog __c) const
 
- Protected Member Functions inherited from locale::facet
 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 ()
 

Detailed Description

Definition at line 88 of file _messages_facets.h.

Member Typedef Documentation

◆ catalog

Definition at line 90 of file _messages_facets.h.

◆ char_type

Definition at line 91 of file _messages_facets.h.

◆ string_type

typedef wstring messages< wchar_t >::string_type

Definition at line 92 of file _messages_facets.h.

Constructor & Destructor Documentation

◆ messages()

messages< wchar_t >::messages ( size_t  __refs = 0)
explicit

Definition at line 217 of file messages.cpp.

218  : locale::facet(refs) {}

◆ ~messages()

messages< wchar_t >::~messages ( )
inlineprotected

Definition at line 107 of file _messages_facets.h.

107 {}

Member Function Documentation

◆ close()

void messages< wchar_t >::close ( catalog  __c) const
inline

Definition at line 101 of file _messages_facets.h.

102  { do_close(__c); }
virtual void do_close(catalog __c) const
#define __c
Definition: schilyio.h:209

◆ do_close()

virtual void messages< wchar_t >::do_close ( catalog  __c) const
inlineprotectedvirtual

Reimplemented in messages_byname< wchar_t >.

Definition at line 114 of file _messages_facets.h.

115  {}

◆ do_get()

virtual string_type messages< wchar_t >::do_get ( catalog  __c,
int  __set,
int  __msgid,
const string_type __dfault 
) const
inlineprotectedvirtual

Reimplemented in messages_byname< wchar_t >.

Definition at line 111 of file _messages_facets.h.

113  { return __dfault; }

◆ do_open()

virtual catalog messages< wchar_t >::do_open ( const string __fn,
const locale __loc 
) const
inlineprotectedvirtual

Reimplemented in messages_byname< wchar_t >.

Definition at line 109 of file _messages_facets.h.

110  { return -1; }

◆ get()

string_type messages< wchar_t >::get ( catalog  __c,
int  __set,
int  __msgid,
const string_type __dfault 
) const
inline

Definition at line 98 of file _messages_facets.h.

100  { return do_get(__c, __set, __msgid, __dfault); }
#define __c
Definition: schilyio.h:209
virtual string_type do_get(catalog __c, int __set, int __msgid, const string_type &__dfault) const

◆ open()

catalog messages< wchar_t >::open ( const string __fn,
const locale __loc 
) const
inline

Definition at line 96 of file _messages_facets.h.

97  { return do_open(__fn, __loc); }
virtual catalog do_open(const string &__fn, const locale &__loc) const

Member Data Documentation

◆ id

locale::id messages< wchar_t >::id = { 20 }
static

Definition at line 104 of file _messages_facets.h.


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