CppCMS
|
set gettext domain id withing specific scope More...
#include <cppcms/filters.h>
Public Member Functions | |
translation_domain_scope (std::ostream &output, int domain_id) | |
translation_domain_scope (std::ostream &output, std::string const &domain) | |
~translation_domain_scope () | |
Static Public Member Functions | |
static int | domain_id (std::ostream &out, std::string const &domain) |
set gettext domain id withing specific scope
cppcms::translation_domain_scope::translation_domain_scope | ( | std::ostream & | output, |
int | domain_id | ||
) |
Set domain id on the stream and save previous one to restore in the destructor
cppcms::translation_domain_scope::translation_domain_scope | ( | std::ostream & | output, |
std::string const & | domain | ||
) |
Set domain on the stream and save previous one to restore in the destructor
cppcms::translation_domain_scope::~translation_domain_scope | ( | ) |
Restrore domain
|
static |
Get numeric id for the domain