8 #if !defined(h_3e645482_ae6a_43e5_8f81_abbc4200212d) 9 #define h_3e645482_ae6a_43e5_8f81_abbc4200212d 32 void assign(
const std::string& param_value, T& value)
const 38 void assign_impl(
const std::string& param_value, T& value)
const 45 void assign_impl(
const std::string& param_value, std::string& value)
const 53 s <<
"Property '" << param_name <<
"' required to configure " <<
tag_;
54 throw std::runtime_error(s.str());
63 typedef std::map<std::string, std::string>
storage_t;
70 const std::string& operator[](
const std::string& v)
const;
71 std::string&
operator[](
const std::string& v) {
return storage_[v]; }
73 const_iterator find(
const std::string& t)
const;
74 const_iterator
begin()
const {
return storage_.begin(); }
75 const_iterator
end()
const {
return storage_.end(); }
80 class optional_params_validator;
86 #if defined(_MSC_VER) && _MSC_VER < 1300 140 #if !(defined(_MSC_VER) && _MSC_VER < 1300) 158 #endif // h_3e645482_ae6a_43e5_8f81_abbc4200212d optional_params_validator optional(const char *param, T &value) const
std::map< std::string, std::string > storage_t
std::string & operator[](const std::string &v)
optional_params_validator(const char *tag, const FactoryParams *params)
required_params_validator required(const char *param, T &value) const
required_params_validator required(const char *param, T &value) const
storage_t::const_iterator const_iterator
const required_params_validator & operator()(const char *param, T &value) const
const optional_params_validator & operator()(const char *param, T &value) const
void assign_impl(const std::string ¶m_value, std::string &value) const
const_iterator begin() const
const_iterator end() const
base_validator_data(const char *tag, const FactoryParams *params)
parameter_validator(const char *tag, const FactoryParams *params)
void assign(const std::string ¶m_value, T &value) const
void throw_error(const char *param_name) const
const FactoryParams * params_
details::parameter_validator get_for(const char *tag) const
const_iterator find(const std::string &t) const
optional_params_validator optional(const char *param, T &value) const
required_params_validator(const char *tag, const FactoryParams *params)
void assign_impl(const std::string ¶m_value, T &value) const