#include <locale_facets.h>
Inheritance diagram for std::messages< CharT >:
Public Types | |
typedef CharT | char_type |
Public typedefs. | |
Public Member Functions | |
messages (size_t __refs=0) | |
Constructor performs initialization. | |
messages (c_locale cloc, const char *s, size_t __refs=0) | |
Internal constructor. Not for general use. | |
Static Public Attributes | |
static locale::id | id |
Numpunct facet id. | |
Protected Member Functions | |
virtual | ~messages () |
Destructor. |
This facet encapsulates the code to retrieve messages from message catalogs. The only thing defined by the standard for this facet is the interface. All underlying functionality is implementation-defined.
This library currently implements 3 versions of the message facet. The first version (gnu) is a wrapper around gettext, provided by libintl. The second version (ieee) is a wrapper around catgets. The final version (default) does no actual translation. These implementations are only provided for char and wchar_t instantiations.
The messages template uses protected virtual functions to provide the actual results. The public accessors forward the call to the virtual functions. These virtual functions are hooks for developers to implement the behavior they require from the messages facet.
Definition at line 4251 of file locale_facets.h.
|
Public typedefs.
Definition at line 4257 of file locale_facets.h. |
|
Constructor performs initialization. This is the constructor provided by the standard.
|
|
Internal constructor. Not for general use. This is a constructor for use by the library itself to set up new locales.
|
|
Destructor.
|
|
Numpunct facet id.
Definition at line 4453 of file locale_facets.h. |