![]() |
Boost.Locale
|
This type represents GNU Gettext domain name for the messages. More...
#include <boost/locale/gnu_gettext.hpp>
Public Member Functions | |
domain (std::string const &n) | |
bool | operator== (domain const &other) const |
bool | operator!= (domain const &other) const |
Public Attributes | |
std::string | name |
The name of the domain. | |
std::string | encoding |
The character encoding for the domain. |
This type represents GNU Gettext domain name for the messages.
It consists of two parameters:
boost::locale::gnu_gettext::messages_info::domain::domain | ( | std::string const & | n | ) | [inline] |
Create a domain object from the name that can hold an encoding after symbol "/" such that if n is "hello/cp1255" then the name would be "hello" and "encoding" would be "cp1255" and if n is "hello" then the name would be the same but encoding would be "UTF-8"
bool boost::locale::gnu_gettext::messages_info::domain::operator!= | ( | domain const & | other | ) | const [inline] |
Check whether two objects are distinct, only names are compared, encoding is ignored
bool boost::locale::gnu_gettext::messages_info::domain::operator== | ( | domain const & | other | ) | const [inline] |
Check whether two objects are equivalent, only names are compared, encoding is ignored