7 #ifndef BOOST_LOCALE_LOCALIZATION_BACKEND_HPP 8 #define BOOST_LOCALE_LOCALIZATION_BACKEND_HPP 10 #include <boost/locale/generator.hpp> 11 #include <boost/locale/hold_ptr.hpp> 18 # pragma warning(push) 19 # pragma warning(disable : 4275 4251 4231 4660) 22 namespace boost {
namespace locale {
53 virtual void set_option(
const std::string& name,
const std::string& value) = 0;
56 virtual void clear_options() = 0;
78 std::unique_ptr<localization_backend> get()
const;
80 BOOST_DEPRECATED(
"This function is deprecated, use 'get()' instead")
81 std::unique_ptr<localization_backend> get_unique_ptr()
const {
return get(); }
86 void add_backend(
const std::string& name, std::unique_ptr<localization_backend> backend);
98 void remove_all_backends();
101 std::vector<std::string> get_all_backends()
const;
124 # pragma warning(pop) Localization backend manager is a class that holds various backend and allows creation of their combi...
Definition: localization_backend.hpp:65
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:40
constexpr category_t all_categories
Generate all of them.
Definition: generator.hpp:90