This facet provides message formatting abilities. More...
#include <message.hpp>


Public Types | |
| typedef CharType | char_type |
| Character type. More... | |
| typedef std::basic_string < CharType > | string_type |
| String type. More... | |
Public Member Functions | |
| message_format (size_t refs=0) | |
| Default constructor. More... | |
| virtual char_type const * | get (int domain_id, char_type const *context, char_type const *id) const =0 |
| This function returns a pointer to the string for a message defined by a context and identification string id. More... | |
| virtual char_type const * | get (int domain_id, char_type const *context, char_type const *single_id, int n) const =0 |
| This function returns a pointer to the string for a plural message defined by a context and identification string single_id. More... | |
| virtual int | domain (std::string const &domain) const =0 |
| Convert a string that defines domain to the integer id used by get functions. More... | |
| virtual char_type const * | convert (char_type const *msg, string_type &buffer) const =0 |
| Convert the string msg to target locale's encoding. More... | |
Protected Member Functions | |
| virtual | ~message_format () |
This facet provides message formatting abilities.