|
| boost::locale::message_format< CharType >::message_format (size_t refs=0) |
|
virtual char_type const * | boost::locale::message_format< CharType >::get (int domain_id, char_type const *context, char_type const *id) const =0 |
|
virtual char_type const * | boost::locale::message_format< CharType >::get (int domain_id, char_type const *context, char_type const *single_id, int n) const =0 |
|
virtual int | boost::locale::message_format< CharType >::domain (std::string const &domain) const =0 |
|
virtual char_type const * | boost::locale::message_format< CharType >::convert (char_type const *msg, string_type &buffer) const =0 |
|
| boost::locale::basic_message< CharType >::basic_message () |
|
| boost::locale::basic_message< CharType >::basic_message (char_type const *id) |
|
| boost::locale::basic_message< CharType >::basic_message (char_type const *single, char_type const *plural, int n) |
|
| boost::locale::basic_message< CharType >::basic_message (char_type const *context, char_type const *id) |
|
| boost::locale::basic_message< CharType >::basic_message (char_type const *context, char_type const *single, char_type const *plural, int n) |
|
| boost::locale::basic_message< CharType >::basic_message (string_type const &id) |
|
| boost::locale::basic_message< CharType >::basic_message (string_type const &single, string_type const &plural, int number) |
|
| boost::locale::basic_message< CharType >::basic_message (string_type const &context, string_type const &id) |
|
| boost::locale::basic_message< CharType >::basic_message (string_type const &context, string_type const &single, string_type const &plural, int number) |
|
| boost::locale::basic_message< CharType >::basic_message (basic_message const &other) |
|
basic_message const & | boost::locale::basic_message< CharType >::operator= (basic_message const &other) |
|
void | boost::locale::basic_message< CharType >::swap (basic_message &other) |
|
| boost::locale::basic_message< CharType >::operator string_type () const |
|
string_type | boost::locale::basic_message< CharType >::str () const |
|
string_type | boost::locale::basic_message< CharType >::str (std::locale const &locale) const |
|
string_type | boost::locale::basic_message< CharType >::str (std::locale const &locale, std::string const &domain_id) const |
|
string_type | boost::locale::basic_message< CharType >::str (std::string const &domain_id) const |
|
string_type | boost::locale::basic_message< CharType >::str (std::locale const &loc, int id) const |
|
void | boost::locale::basic_message< CharType >::write (std::basic_ostream< char_type > &out) const |
|
template<typename CharType > |
std::basic_ostream< CharType > & | boost::locale::operator<< (std::basic_ostream< CharType > &out, basic_message< CharType > const &msg) |
|
|
|
template<typename CharType > |
basic_message< CharType > | boost::locale::translate (CharType const *msg) |
| Translate a message, msg is not copied.
|
|
template<typename CharType > |
basic_message< CharType > | boost::locale::translate (CharType const *context, CharType const *msg) |
| Translate a message in context, msg and context are not copied.
|
|
template<typename CharType > |
basic_message< CharType > | boost::locale::translate (CharType const *single, CharType const *plural, int n) |
| Translate a plural message form, single and plural are not copied.
|
|
template<typename CharType > |
basic_message< CharType > | boost::locale::translate (CharType const *context, CharType const *single, CharType const *plural, int n) |
| Translate a plural message from in constext, context, single and plural are not copied.
|
|
template<typename CharType > |
basic_message< CharType > | boost::locale::translate (std::basic_string< CharType > const &msg) |
| Translate a message, msg is copied.
|
|
template<typename CharType > |
basic_message< CharType > | boost::locale::translate (std::basic_string< CharType > const &context, std::basic_string< CharType > const &msg) |
| Translate a message in context,context and msg is copied.
|
|
template<typename CharType > |
basic_message< CharType > | boost::locale::translate (std::basic_string< CharType > const &context, std::basic_string< CharType > const &single, std::basic_string< CharType > const &plural, int n) |
| Translate a plural message form in constext, context, single and plural are copied.
|
|
template<typename CharType > |
basic_message< CharType > | boost::locale::translate (std::basic_string< CharType > const &single, std::basic_string< CharType > const &plural, int n) |
| Translate a plural message form, single and plural are copied.
|
|
|
|
template<typename CharType > |
std::basic_string< CharType > | boost::locale::gettext (CharType const *id, std::locale const &loc=std::locale()) |
|
template<typename CharType > |
std::basic_string< CharType > | boost::locale::ngettext (CharType const *s, CharType const *p, int n, std::locale const &loc=std::locale()) |
|
template<typename CharType > |
std::basic_string< CharType > | boost::locale::dgettext (char const *domain, CharType const *id, std::locale const &loc=std::locale()) |
|
template<typename CharType > |
std::basic_string< CharType > | boost::locale::dngettext (char const *domain, CharType const *s, CharType const *p, int n, std::locale const &loc=std::locale()) |
|
template<typename CharType > |
std::basic_string< CharType > | boost::locale::pgettext (CharType const *context, CharType const *id, std::locale const &loc=std::locale()) |
|
template<typename CharType > |
std::basic_string< CharType > | boost::locale::npgettext (CharType const *context, CharType const *s, CharType const *p, int n, std::locale const &loc=std::locale()) |
|
template<typename CharType > |
std::basic_string< CharType > | boost::locale::dpgettext (char const *domain, CharType const *context, CharType const *id, std::locale const &loc=std::locale()) |
|
template<typename CharType > |
std::basic_string< CharType > | boost::locale::dnpgettext (char const *domain, CharType const *context, CharType const *s, CharType const *p, int n, std::locale const &loc=std::locale()) |
|
This module provides message translation functionality, i.e. allow your application to speak native language
template<typename CharType>
This function returns a pointer to the string for a message defined by a context and identification string id. Both create a single key for message lookup in a domain defined by domain_id.
If context is NULL it is not considered to be a part of the key
If a translated string is found, it is returned, otherwise NULL is returned
template<typename CharType>
This function returns a pointer to the string for a plural message defined by a context and identification string single_id.
If context is NULL it is not considered to be a part of the key
Both create a single key for message lookup in a domain defined domain_id. n is used to pick the correct translation string for a specific number.
If a translated string is found, it is returned, otherwise NULL is returned