ReactOS  0.4.14-dev-315-gbb6fece
messages< char > Class Reference

#include <_messages_facets.h>

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

Public Types

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 (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 = { 7 }
 

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 55 of file _messages_facets.h.

Member Typedef Documentation

◆ catalog

Definition at line 57 of file _messages_facets.h.

◆ char_type

typedef char messages< char >::char_type

Definition at line 58 of file _messages_facets.h.

◆ string_type

Definition at line 59 of file _messages_facets.h.

Constructor & Destructor Documentation

◆ messages()

Definition at line 188 of file messages.cpp.

189  : locale::facet(refs) {}

◆ ~messages()

messages< char >::~messages ( )
inlineprotected

Definition at line 74 of file _messages_facets.h.

74 {}

Member Function Documentation

◆ close()

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

Definition at line 68 of file _messages_facets.h.

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

◆ do_close()

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

Reimplemented in messages_byname< char >.

Definition at line 81 of file _messages_facets.h.

82  {}

◆ do_get()

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

Reimplemented in messages_byname< char >.

Definition at line 78 of file _messages_facets.h.

80  { return __dfault; }

◆ do_open()

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

Reimplemented in messages_byname< char >.

Definition at line 76 of file _messages_facets.h.

77  { return -1; }

◆ get()

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

Definition at line 65 of file _messages_facets.h.

67  { 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< char >::open ( const string __fn,
const locale __loc 
) const
inline

Definition at line 63 of file _messages_facets.h.

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

Member Data Documentation

◆ id

locale::id messages< char >::id = { 7 }
static

Definition at line 71 of file _messages_facets.h.


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