utils/include/arguments_extra
-
namespace feasst
Functions
-
std::string str(const std::string &key, const argtype &args)
Read an argument, but do not remove it. WARNING: This should typically only be used for error checking.
-
std::pair<std::string, argtype> parse_line(const std::string line, argtype *variables, bool *assign_to_list)
Parse a text interface line. These typically begin with an object Name, then space-separated arguments. First, look for set_variable, to generate a list of variables to use for name substitution. Finally, replace any value beginnig with /feasst with the install_dir().
-
std::vector<arglist> parse_mcs(std::istream &is, argtype variables = argtype())
Parse MonteCarlo arguments from a stream.
-
std::string str(const std::string &key, const argtype &args)