![]() |
MolSSI Integral Reference Project
|
Functions for parsing the command line given to a program. More...
Namespaces | |
mirp | |
Functions | |
bool | mirp::cmdline_has_arg (const std::vector< std::string > &cmdline, const std::string &arg) |
Check to see if the given command line has an argument. More... | |
bool | mirp::cmdline_get_switch (std::vector< std::string > &cmdline, const std::string &arg) |
See if the command line has a switch. More... | |
std::string | mirp::cmdline_get_arg_str (std::vector< std::string > &cmdline, const std::string &arg) |
Obtain the value of an argument from the command line as a string. More... | |
std::string | mirp::cmdline_get_arg_str (std::vector< std::string > &cmdline, const std::string &arg, const std::string &def) |
Obtain the value of an argument from the command line as a string, with a default. More... | |
long | mirp::cmdline_get_arg_long (std::vector< std::string > &cmdline, const std::string &arg) |
Obtain the value of an argument from the command line as a long integer. More... | |
long | mirp::cmdline_get_arg_long (std::vector< std::string > &cmdline, const std::string &arg, long def) |
Obtain the value of an argument from the command line as a long integer, with a default. More... | |
std::vector< std::string > | mirp::convert_cmdline (int argc, char **argv) |
Convert the command line passed to a program into a vector of strings. More... | |
Functions for parsing the command line given to a program.