ReactOS  0.4.14-dev-358-gbef841c
messages_byname< wchar_t > Class Reference

#include <_messages_facets.h>

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

Public Types

typedef messages_base::catalog catalog
 
typedef wstring string_type
 
- Public Types inherited from messages< wchar_t >
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_byname (const char *__name, size_t __refs=0)
 
- Public Member Functions inherited from messages< wchar_t >
 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
 

Protected Member Functions

 ~messages_byname ()
 
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 messages< wchar_t >
 ~messages ()
 
- 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 ()
 

Private Types

typedef messages_byname< wchar_t_Self
 

Private Member Functions

 messages_byname (_Locale_messages *)
 
 messages_byname (_Self const &)
 
_Selfoperator= (_Self const &)
 

Private Attributes

_STLP_PRIV _Messages_M_impl
 

Friends

class _Locale_impl
 

Additional Inherited Members

- Static Public Attributes inherited from messages< wchar_t >
static _STLP_STATIC_DECLSPEC locale::id id = { 20 }
 

Detailed Description

Definition at line 151 of file _messages_facets.h.

Member Typedef Documentation

◆ _Self

Definition at line 169 of file _messages_facets.h.

◆ catalog

◆ string_type

typedef wstring messages_byname< wchar_t >::string_type

Definition at line 155 of file _messages_facets.h.

Constructor & Destructor Documentation

◆ messages_byname() [1/3]

messages_byname< wchar_t >::messages_byname ( const char __name,
size_t  __refs = 0 
)
explicit

Definition at line 220 of file messages.cpp.

221  : messages<wchar_t>(refs), _M_impl(new _STLP_PRIV _Messages(true, name)) {}
_STLP_PRIV _Messages * _M_impl
#define _STLP_PRIV
Definition: _dm.h:70
Definition: name.c:36

◆ ~messages_byname()

Definition at line 226 of file messages.cpp.

227 { delete _M_impl; }
_STLP_PRIV _Messages * _M_impl

◆ messages_byname() [2/3]

messages_byname< wchar_t >::messages_byname ( _Locale_messages *  msg)
private

Definition at line 223 of file messages.cpp.

224  : messages<wchar_t>(0), _M_impl(new _STLP_PRIV _Messages(true, msg)) {}
_STLP_PRIV _Messages * _M_impl
#define _STLP_PRIV
Definition: _dm.h:70
#define msg(x)
Definition: auth_time.c:54

◆ messages_byname() [3/3]

Member Function Documentation

◆ do_close()

void messages_byname< wchar_t >::do_close ( catalog  __c) const
protectedvirtual

Reimplemented from messages< wchar_t >.

Definition at line 238 of file messages.cpp.

239 { _M_impl->do_close(cat); }
void do_close(catalog __c) const
Definition: messages.cpp:177
_STLP_PRIV _Messages * _M_impl

◆ do_get()

wstring messages_byname< wchar_t >::do_get ( catalog  __c,
int  __set,
int  __msgid,
const string_type __dfault 
) const
protectedvirtual

Reimplemented from messages< wchar_t >.

Definition at line 234 of file messages.cpp.

236 { return _M_impl->do_get(thecat, set, p_id, dfault); }
_STLP_PRIV _Messages * _M_impl
string do_get(catalog __c, int __set, int __msgid, const string &__dfault) const
Definition: messages.cpp:138
Definition: _set.h:46

◆ do_open()

messages_byname< wchar_t >::catalog messages_byname< wchar_t >::do_open ( const string __fn,
const locale __loc 
) const
protectedvirtual

Reimplemented from messages< wchar_t >.

Definition at line 230 of file messages.cpp.

231 { return _M_impl->do_open(filename, L); }
_STLP_PRIV _Messages * _M_impl
const char * filename
Definition: ioapi.h:135
static const WCHAR L[]
Definition: oid.c:1250
catalog do_open(const string &__fn, const locale &__loc) const
Definition: messages.cpp:124

◆ operator=()

Friends And Related Function Documentation

◆ _Locale_impl

friend class _Locale_impl
friend

Definition at line 152 of file _messages_facets.h.

Member Data Documentation

◆ _M_impl

Definition at line 174 of file _messages_facets.h.


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