Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::locale::message_format< CharType > Class Template Referenceabstract

This facet provides message formatting abilities. More...

#include <message.hpp>

Inheritance diagram for boost::locale::message_format< CharType >:
Collaboration diagram for boost::locale::message_format< CharType >:

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 ()
 

Detailed Description

template<typename CharType>
class boost::locale::message_format< CharType >

This facet provides message formatting abilities.


The documentation for this class was generated from the following file: