#include <parameter_proxy.h>
|
std::vector< T > | operator() (std::string const &val) |
|
template<class T>
struct parameters::conversion::get_< std::vector< T > >
Definition at line 65 of file parameter_proxy.h.
Definition at line 67 of file parameter_proxy.h.
69 std::string raw = val;
70 boost::trim_if(raw, boost::is_any_of(
"\"'"));
73 typedef boost::tokenizer<boost::char_separator<char> > tokenizer;
74 boost::char_separator<char> sep(
",");
75 tokenizer tokens(raw, sep);
76 BOOST_FOREACH(std::string t, tokens) {
77 ret.push_back(boost::lexical_cast<T, std::string>(t));
The documentation for this struct was generated from the following file: