Cardinal
|
Functions | |
void | checkUnusedParam (const InputParameters &p, const std::vector< std::string > &names, const std::string &explanation, const bool error) |
void | checkUnusedParam (const InputParameters &p, const std::string &name, const std::string &explanation, const bool error) |
void | checkRequiredParam (const InputParameters &p, const std::vector< std::string > &names, const std::string &explanation) |
void | checkRequiredParam (const InputParameters &p, const std::string &name, const std::string &explanation) |
void | checkJointParams (const InputParameters &p, const std::vector< std::string > &name, const std::string &explanation) |
void checkJointParams | ( | const InputParameters & | p, |
const std::vector< std::string > & | name, | ||
const std::string & | explanation | ||
) |
Checks whether a set of parameters are all jointly provided or jointly not provided
p | input parameters object |
name | name of the input parameter |
explanation | short explanation of the reason why parameter is required |
void checkRequiredParam | ( | const InputParameters & | p, |
const std::vector< std::string > & | names, | ||
const std::string & | explanation | ||
) |
Checks whether the user has specified an input parameter is set
p | input parameters object |
names | names of the input parameters |
explanation | short explanation of the reason why parameter is required |
void checkRequiredParam | ( | const InputParameters & | p, |
const std::string & | name, | ||
const std::string & | explanation | ||
) |
Checks whether the user has specified an input parameter is set
p | input parameters object |
name | name of the input parameter |
explanation | short explanation of the reason why parameter is required |
void checkUnusedParam | ( | const InputParameters & | p, |
const std::vector< std::string > & | names, | ||
const std::string & | explanation, | ||
const bool | error = false |
||
) |
Checks whether the user has specified an input parameter that will go un-used, printing an error message to help in the debugging process.
p | input parameters object |
names | names of the input parameters |
explanation | short explanation of the reason why parameter is unused |
void checkUnusedParam | ( | const InputParameters & | p, |
const std::string & | name, | ||
const std::string & | explanation, | ||
const bool | error = false |
||
) |
Checks whether the user has specified an input parameter that will go un-used, printing an error message to help in the debugging process.
p | input parameters object |
name | name of the input parameter |
explanation | short explanation of the reason why parameter is unused |