Function necsim::getConfigFileFromCmdArgs

Function Documentation

const string &necsim::getConfigFileFromCmdArgs(const vector<string> &com_args)

Gets the [2] element from the vector (which should contain the config file from command-line arguments.

Return
the string at the [2] position containing the path to the config file
Parameters
  • com_args: the vector of command-line arguments