You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
418 B

#include <string>
void initCLParams(int argc, char *argv[]);
// USAGE: getCLParam("-example")
bool getCLParam(std::string const& param);
// 0 is the program name
std::string getCLParamByIndex(unsigned int i);
// USAGE: getRelativeCLParam("-example", 1) gives the param after -example
std::string getRelativeCLParam(std::string const& param, int i);