7 #ifndef BOOST_LOCALE_LOCALIZATION_BACKEND_HPP 8 #define BOOST_LOCALE_LOCALIZATION_BACKEND_HPP 10 #include <boost/locale/config.hpp> 11 #include <boost/locale/generator.hpp> 12 #include <boost/locale/hold_ptr.hpp> 19 # pragma warning(push) 20 # pragma warning(disable : 4275 4251 4231 4660) 23 namespace boost {
namespace locale {
54 virtual void set_option(
const std::string& name,
const std::string& value) = 0;
57 virtual void clear_options() = 0;
79 std::unique_ptr<localization_backend> get()
const;
81 BOOST_DEPRECATED(
"This function is deprecated, use 'get()' instead")
82 std::unique_ptr<localization_backend> get_unique_ptr()
const {
return get(); }
87 void add_backend(
const std::string& name, std::unique_ptr<localization_backend> backend);
99 void remove_all_backends();
102 std::vector<std::string> get_all_backends()
const;
125 # pragma warning(pop) Localization backend manager is a class that holds various backend and allows creation of their combi...
Definition: localization_backend.hpp:66
category_t
Definition: generator.hpp:64
char_facet_t
Definition: generator.hpp:34
this class represents a localization backend that can be used for localizing your application.
Definition: localization_backend.hpp:41
constexpr category_t all_categories
Generate all of them.
Definition: generator.hpp:90