#pragma once #include #include namespace usql { class Settings { public: static void set_setting(const std::string &name, const std::string &value); static std::string get_setting(const std::string &name); static long string_to_int(const std::string &intstr); static std::string int_to_string(long intval); static double string_to_double(const std::string &doublestr); static std::string double_to_string(double doubleval); static long string_to_date(const std::string &datestr); static std::string date_to_string(long dateval); static bool string_to_bool(const std::string &boolstr); static std::string bool_to_string(bool boolval); private: static std::vector> m_settings; }; } // namespace