Lines Matching refs:string
42 dest_type& string_to(std::string const& s, dest_type& result) { in string_to()
46 throw std::invalid_argument("error converting string '" + std::string(s) + "'"); in string_to()
52 dest_type string_to(std::string const& s) { in string_to()
74 const std::string name;
75 const std::string description;
77 type_base(std::string a_name, std::string a_description) in type_base()
80 virtual void parse_and_store(const std::string& s) = 0;
81 virtual std::string value() const = 0;
98 type_impl(std::string a_name, in type_impl()
99 std::string a_description, in type_impl()
105 void parse_and_store(const std::string& s) /*override*/ { in parse_and_store()
139 std::string value() const /*override*/ { in value()
168 argument(std::string a_name, in argument()
169 std::string a_description, in argument()
174 std::string value() const { in value()
177 std::string name() const { in name()
180 std::string description() const { in description()
183 void parse_and_store(const std::string& s) { in parse_and_store()
194 typedef std::map<std::string, internal::argument> args_map_type;
195 typedef std::vector<std::string> args_display_order_type;
196 typedef std::vector<std::string> positional_arg_names_type;
202 std::set<std::string> bool_args_names;
218 std::string const& name, in arg()
219 std::string const& description, in arg()
233 std::string const& name, in positional_arg()
234 std::string const& description, in positional_arg()
250 std::string argument_value; in parse()
258 static void _(std::string const& location) { in parse()
259 throw std::invalid_argument(std::string("unknown parameter starting at:'") + in parse()
265 std::string name_found = std::string(begin, assign_sign); in parse()
270 argument_value = std::string(assign_sign + 1, end); in parse()
309 throw std::invalid_argument(std::string("several values specified for: '") + in parse()
316 std::string usage_string(const std::string& binary_name) const { in usage_string()
317 std::string command_line_params; in usage_string()
318 std::string summary_description; in usage_string()
337 std::string positional_arg_cl; in usage_string()
446 std::string(1, function_char)); in operator >>()
485 std::string s; in operator >>()
490 int operator()(const std::string& value) const { in operator >>()
497 if (colon == std::string::npos) { in operator >>()
504 low = string_to_number_of_threads(std::string(s, 0, colon)); //not copying the colon in operator >>()
506 std::string(s, colon + 1, second_colon - (colon + 1))); //not copying the colons in operator >>()
507 if (second_colon != std::string::npos) { in operator >>()
508 internal::string_to(std::string(s, second_colon + 1), range.step); in operator >>()