39 #include <graphlab/options/options_map.hpp>
45 std::pair<std::string, options_map> ret;
47 if(!arguments.empty()) {
48 std::replace(arguments.begin(), arguments.end(),
',',
' ');
49 std::replace(arguments.begin(), arguments.end(),
';',
' ');
50 std::stringstream arg_strm(arguments);
53 logstream(
LOG_FATAL) <<
"Malformed option. Failed to parse \""
54 << arguments <<
"\"" << std::endl;
61 std::ostream& operator<<(std::ostream& out,
64 std::ios_base::fmtflags fmt = out.flags();
68 i = opts.options.begin();
69 while(i != opts.options.end()) {
71 out << std::setw(18) << std::left << i->first;
72 out << std::setw(2) <<
"= ";
74 out << i->second.strval;