ReactOS  0.4.14-dev-833-g5f692ed
messages_byname< char > Class Reference

#include <_messages_facets.h>

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

Public Types

typedef messages_base::catalog catalog
 
typedef string string_type
 
- Public Types inherited from messages< char >
typedef messages_base::catalog catalog
 
typedef char char_type
 
typedef string 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< char >
 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< char >
 ~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< char_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< char >
static _STLP_STATIC_DECLSPEC locale::id id = { 7 }
 

Detailed Description

Definition at line 123 of file _messages_facets.h.

Member Typedef Documentation

◆ _Self

Definition at line 141 of file _messages_facets.h.

◆ catalog

Definition at line 126 of file _messages_facets.h.

◆ string_type

Definition at line 127 of file _messages_facets.h.

Constructor & Destructor Documentation

◆ messages_byname() [1/3]

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

Definition at line 191 of file messages.cpp.

192  : messages<char>(refs), _M_impl(new _STLP_PRIV _Messages(false, name)) {}
#define _STLP_PRIV
Definition: _dm.h:70
_STLP_PRIV _Messages * _M_impl
Definition: name.c:38

◆ ~messages_byname()

messages_byname< char >::~messages_byname ( )
protected

Definition at line 197 of file messages.cpp.

198 { delete _M_impl; }
_STLP_PRIV _Messages * _M_impl

◆ messages_byname() [2/3]

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

Definition at line 194 of file messages.cpp.

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

◆ messages_byname() [3/3]

Member Function Documentation

◆ do_close()

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

Reimplemented from messages< char >.

Definition at line 209 of file messages.cpp.

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

◆ do_get()

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

Reimplemented from messages< char >.

Definition at line 205 of file messages.cpp.

207 { return _M_impl->do_get(cat, 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< char >::catalog messages_byname< char >::do_open ( const string __fn,
const locale __loc 
) const
protectedvirtual

Reimplemented from messages< char >.

Definition at line 201 of file messages.cpp.

202 { return _M_impl->do_open(filename, l); }
const char * filename
Definition: ioapi.h:135
r l[0]
Definition: byte_order.h:167
catalog do_open(const string &__fn, const locale &__loc) const
Definition: messages.cpp:124
_STLP_PRIV _Messages * _M_impl

◆ operator=()

_Self& messages_byname< char >::operator= ( _Self const )
private

Friends And Related Function Documentation

◆ _Locale_impl

friend class _Locale_impl
friend

Definition at line 124 of file _messages_facets.h.

Member Data Documentation

◆ _M_impl

_STLP_PRIV _Messages* messages_byname< char >::_M_impl
private

Definition at line 146 of file _messages_facets.h.


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