Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
util.hpp File Reference
#include <locale>
#include <typeinfo>
#include <boost/cstdint.hpp>
#include <boost/locale/utf.hpp>
#include <boost/locale/generator.hpp>
#include <boost/assert.hpp>
#include <vector>
Include dependency graph for util.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  boost::locale::util::base_converter
 This class represent a simple stateless converter from UCS-4 and to UCS-4 for each single code point. More...
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::locale
 This is the main namespace that encloses all localization classes.
 
 boost::locale::util
 This namespace provides various utility function useful for Boost.Locale backends implementations.
 

Functions

BOOST_LOCALE_DECL std::string boost::locale::util::get_system_locale (bool use_utf8_on_windows=false)
 Return default system locale name in POSIX format. More...
 
BOOST_LOCALE_DECL std::locale boost::locale::util::create_info (std::locale const &in, std::string const &name)
 Installs information facet to locale in based on locale name name. More...
 
BOOST_LOCALE_DECL
std::auto_ptr< base_converter > 
boost::locale::util::create_utf8_converter ()
 This function creates a base_converter that can be used for conversion between UTF-8 and unicode code points. More...
 
BOOST_LOCALE_DECL
std::auto_ptr< base_converter > 
boost::locale::util::create_simple_converter (std::string const &encoding)
 This function creates a base_converter that can be used for conversion between single byte character encodings like ISO-8859-1, koi8-r, windows-1255 and Unicode code points,. More...
 
BOOST_LOCALE_DECL std::locale boost::locale::util::create_codecvt (std::locale const &in, std::auto_ptr< base_converter > cvt, character_facet_type type)
 Install codecvt facet into locale in and return new locale that is based on in and uses new facet. More...