![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
Boost.Locale: boost/locale/message.hpp Source FileBoost , ,
message.hpp 78 virtual char_type const *get(int domain_id,char_type const *context,char_type const *id) const = 0;
92 virtual char_type const *get(int domain_id,char_type const *context,char_type const *single_id,int n) const = 0;
234 explicit basic_message(char_type const *context,char_type const *single,char_type const *plural,int n) :
288 explicit basic_message(string_type const &context,string_type const &single,string_type const &plural,int number) :
516 std::basic_ostream<CharType> &operator<<(std::basic_ostream<CharType> &out,basic_message<CharType> const &msg)
764 std::basic_ostream<CharType> &operator<<(std::basic_ostream<CharType> &out, set_domain const &dom)
std::basic_string< CharType > ngettext(CharType const *s, CharType const *p, int n, std::locale const &loc=std::locale()) Definition: message.hpp:626 message_format(size_t refs=0) Definition: message.hpp:63 basic_message(char_type const *context, char_type const *id) Definition: message.hpp:220 void write(std::basic_ostream< char_type > &out) const Definition: message.hpp:410 basic_message(string_type const &id) Definition: message.hpp:246 CharType char_type The character this message object is used with. Definition: message.hpp:174 basic_message(string_type const &context, string_type const &id) Definition: message.hpp:273 std::basic_string< char_type > string_type The string type this object can be used with. Definition: message.hpp:175 string_type str(std::string const &domain_id) const Definition: message.hpp:381 basic_message(char_type const *id) Definition: message.hpp:193 This class represents a message that can be converted to a specific locale message. Definition: message.hpp:171 std::basic_string< CharType > npgettext(CharType const *context, CharType const *s, CharType const *p, int n, std::locale const &loc=std::locale()) Definition: message.hpp:670 basic_message const & operator=(basic_message const &other) Definition: message.hpp:316 This facet provides message formatting abilities. Definition: message.hpp:47 std::basic_string< CharType > dnpgettext(char const *domain, CharType const *context, CharType const *s, CharType const *p, int n, std::locale const &loc=std::locale()) Definition: message.hpp:693 string_type str(std::locale const &locale, std::string const &domain_id) const Definition: message.hpp:370 basic_message(string_type const &single, string_type const &plural, int number) Definition: message.hpp:260 string_type str(std::locale const &locale) const Definition: message.hpp:362 static ios_info & get(std::ios_base &ios) std::basic_string< CharType > dgettext(char const *domain, CharType const *id, std::locale const &loc=std::locale()) Definition: message.hpp:637 basic_message< CharType > translate(CharType const *msg) Translate a message, msg is not copied. Definition: message.hpp:530 std::basic_string< CharType > pgettext(CharType const *context, CharType const *id, std::locale const &loc=std::locale()) Definition: message.hpp:660 basic_message(string_type const &context, string_type const &single, string_type const &plural, int number) Definition: message.hpp:288 std::basic_string< CharType > dpgettext(char const *domain, CharType const *context, CharType const *id, std::locale const &loc=std::locale()) Definition: message.hpp:682 virtual int domain(std::string const &domain) const =0 void domain_id(int) std::basic_string< CharType > gettext(CharType const *id, std::locale const &loc=std::locale()) Definition: message.hpp:617 basic_message(char_type const *single, char_type const *plural, int n) Definition: message.hpp:207 basic_message(char_type const *context, char_type const *single, char_type const *plural, int n) Definition: message.hpp:234 std::basic_string< CharType > string_type Definition: message.hpp:58 message_format< char_type > facet_type The type of the facet the messages are fetched with. Definition: message.hpp:176 std::basic_string< CharType > dngettext(char const *domain, CharType const *s, CharType const *p, int n, std::locale const &loc=std::locale()) Definition: message.hpp:648 string_type str(std::locale const &loc, int id) const Definition: message.hpp:394 virtual char_type const * convert(char_type const *msg, string_type &buffer) const =0 basic_message(basic_message const &other) Definition: message.hpp:302 Статья Boost.Locale: boost/locale/message.hpp Source File раздела может быть полезна для разработчиков на c++ и boost. Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта. :: Главная :: ::
|
||||||
©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007 |