zeep::http::parameter_map
// In header: </home/maarten/projects/libzeep/zeep/http/webapp.hpp> class parameter_map { public: // public member functions void add(const std::string &); void add(std::string, std::string); void replace(std::string, std::string); template<typename T> const parameter_value & get(const std::string &, T); template<> const parameter_value & get(const std::string &, const char *); template<> const parameter_value & get(const std::string &, bool); };
parameter_map is used to pass parameters from forms. The parameters can have 'any' type. Works a bit like the program_options code in boost.
parameter_map
public member functionsvoid add(const std::string & param);add a name/value pair as a string formatted as 'name=value'
void add(std::string name, std::string value);
void replace(std::string name, std::string value);
template<typename T> const parameter_value & get(const std::string & name, T defaultValue);
template<> const parameter_value & get(const std::string & name, const char * defaultValue);
template<> const parameter_value & get(const std::string & name, bool defaultValue);