<locale>
template <class charT> class messages;
Facet to access message catalogs
|  |
messages |
|  |
|
The messages standard facet is used to read individual strings from a message catalog.
The specifics on how messages are organized in a catalog are dependent on the library implementation.
messages objects are prevented to be locally constructed by having a protected destructor. Only those installed in locale objects should be used through mechanisms such as use_facet.
This template class has one template parameter, representing the character type with which the facet works. This template parameter is referred in this entire reference as charT.
Public members
It includes the following public member functions:
open | Open message catalog (public member function) |
get | Get message from catalog (public member function) |
close | Closse message catalog (public member function) |
It also declares the following types:
char_type | Character type (public member type) |
And inherits the following type:
catalog | Catalog type (public member type) |
Virtual protected members
The class defines the virtual protected members in charge of implementing the expected behavior of their respective public member functions:
do_open | Open message catalog [virtual] (virtual protected member function) |
do_get | Get message from catalog [virtual] (virtual protected member function) |
do_close | Close message catalog (virtual protected member function) |
Along with the class destructor:
(destructor) | messagess destructor (protected member function) |
|