messages Class
The template class describes an object that can serve as a locale facet to retrieve localized messages from a catalog of internationalized messages for a given locale.
Currently, while the messages class is implemented, there are no messages.
template <class CharType>
class messages : public messages_base;
Parameters
- CharType
The type used within a program to encode characters in a locale.
Remarks
As with any locale facet, the static object ID has an initial stored value of zero. The first attempt to access its stored value stores a unique positive value in id.
This facet basically opens a catalog of messages defined in the base class messages_base, retrieves the information required, and closes the catalog.
Constructors
The message facet constructor function. |
Typedefs
A character type that is used display messages. |
|
A type that describes a string of type basic_string containing characters of type CharType. |
Member Functions
Closes the message catalog. |
|
A virtual function called to lose the message catalog. |
|
A virtual function called to retrieve the message catalog. |
|
A virtual function called to open the message catalog. |
|
Retrieves the message catalog. |
|
Opens the message catalog. |
Requirements
Header: <locale>
Namespace: std