Commit 5210414f authored by BRAMAS Berenger's avatar BRAMAS Berenger
Browse files

Add a function to test if a user parameter exist

parent a6a4c7ad
......@@ -79,6 +79,13 @@ namespace FParameters{
return NotFound;
/** To know if a parameter exist from user format char parameters
bool existParameter(const int argc, const char* const * const argv, const char* const inName, const bool caseSensible = false){
return NotFound != findParameter( argc, argv, inName, caseSensible);
/** To get a value like :
* getValue(argc,argv, "Toto", 0, false);
* will return 55 if the command contains : -Toto 55
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment