Scroll to navigation

std::messages_byname< _CharT >(3cxx) std::messages_byname< _CharT >(3cxx)

NAME

std::messages_byname< _CharT > - class messages_byname [22.2.7.2].

SYNOPSIS

#include <locale>

Inherits std::messages< _CharT >.

Public Types


typedef int catalog
typedef _CharT char_type
typedef basic_string< _CharT > string_type

Public Member Functions


messages_byname (const char *__s, size_t __refs=0)
messages_byname (const string &__s, size_t __refs=0)
void close (catalog __c) const
string_type get (catalog __c, int __set, int __msgid, const string_type &__s) const
catalog open (const basic_string< char > &, const locale &, const char *) const
catalog open (const basic_string< char > &__s, const locale &__loc) const

Static Public Attributes


static locale::id id
Numpunct facet id.

Protected Member Functions


string_type _M_convert_from_char (char *) const
char * _M_convert_to_char (const string_type &__msg) const
virtual void do_close (catalog) const
void do_close (catalog) const
void do_close (catalog) const
string do_get (catalog, int, int, const string &) const
Specializations for required instantiations. virtual string_type do_get (catalog, int, int, const string_type &__dfault) const
wstring do_get (catalog, int, int, const wstring &) const
virtual catalog do_open (const basic_string< char > &, const locale &) const
messages< char >::catalog do_open (const basic_string< char > &, const locale &) const
messages< wchar_t >::catalog do_open (const basic_string< char > &, const locale &) const

Static Protected Member Functions


static __c_locale _S_clone_c_locale (__c_locale &__cloc) throw ()
static void _S_create_c_locale (__c_locale &__cloc, const char *__s, __c_locale __old=0)
static void _S_destroy_c_locale (__c_locale &__cloc)
static __c_locale _S_get_c_locale ()
static const char * _S_get_c_name () throw ()
static __c_locale _S_lc_ctype_c_locale (__c_locale __cloc, const char *__s)

Protected Attributes


__c_locale _M_c_locale_messages
const char * _M_name_messages

Detailed Description

template<typename _CharT>

class std::messages_byname< _CharT >"class messages_byname [22.2.7.2].

Definition at line 2037 of file locale.

Member Typedef Documentation

typedef int std::messages_base::catalog [inherited]

Definition at line 1826 of file locale.

template<typename _CharT > typedef _CharT std::messages_byname< _CharT >::char_type

Definition at line 2040 of file locale.

template<typename _CharT > typedef basic_string<_CharT> std::messages_byname< _CharT >::string_type

Definition at line 2041 of file locale.

Constructor & Destructor Documentation

template<typename _CharT > std::messages_byname< _CharT >::messages_byname (const char * __s, size_t __refs = 0) [explicit]

Definition at line 104 of file messages_members.h.

template<typename _CharT > std::messages_byname< _CharT >::messages_byname (const string & __s, size_t __refs = 0) [inline], [explicit]

Definition at line 2048 of file locale.

template<typename _CharT > virtual std::messages_byname< _CharT >::~messages_byname () [inline], [protected], [virtual]

Definition at line 2054 of file locale.

Member Function Documentation

template<typename _CharT > string_type std::messages< _CharT >::_M_convert_from_char (char *) const [inline], [protected], [inherited]

Definition at line 2014 of file locale.

template<typename _CharT > char * std::messages< _CharT >::_M_convert_to_char (const string_type & __msg) const [inline], [protected], [inherited]

Definition at line 2006 of file locale.

template<typename _CharT > void std::messages< _CharT >::close (catalog __c) const [inline], [inherited]

Definition at line 1955 of file locale.

template<typename _CharT > void std::messages< _CharT >::do_close (catalog) const [protected], [virtual], [inherited]

Definition at line 99 of file messages_members.h.

string std::messages< char >::do_get (catalog, int, int, const string &) const [protected], [inherited]

Specializations for required instantiations.

template<typename _CharT > messages< _CharT >::catalog std::messages< _CharT >::do_open (const basic_string< char > & __s, const locale &) const [protected], [virtual], [inherited]

Definition at line 88 of file messages_members.h.

template<typename _CharT > string_type std::messages< _CharT >::get (catalog __c, int __set, int __msgid, const string_type & __s) const [inline], [inherited]

Definition at line 1944 of file locale.

template<typename _CharT > messages< _CharT >::catalog std::messages< _CharT >::open (const basic_string< char > & __s, const locale & __loc, const char * __dir) const [inherited]

Definition at line 70 of file messages_members.h.

template<typename _CharT > catalog std::messages< _CharT >::open (const basic_string< char > & __s, const locale & __loc) const [inline], [inherited]

Definition at line 1908 of file locale.

Member Data Documentation

template<typename _CharT > __c_locale std::messages< _CharT >::_M_c_locale_messages [protected], [inherited]

Definition at line 1866 of file locale.

template<typename _CharT > const char* std::messages< _CharT >::_M_name_messages [protected], [inherited]

Definition at line 1867 of file locale.

template<typename _CharT > locale::id std::messages< _CharT >::id [static], [inherited]

Numpunct facet id.

Definition at line 1871 of file locale.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Sun Jan 8 2023 libstdc++