Add a parser accessor to check if a given param long name has beer asked
This commit is contained in:
parent
cb97ce47cc
commit
e34eb842f1
1 changed files with 11 additions and 1 deletions
|
|
@ -162,8 +162,18 @@ public:
|
|||
Checks if _param has been actually entered by the user
|
||||
*/
|
||||
virtual bool isItThere(eoParam& _param) const
|
||||
{ return getValue(_param).first; }
|
||||
{
|
||||
return getValue(_param).first;
|
||||
}
|
||||
|
||||
/** Has param been entered by user?
|
||||
|
||||
Checks if a given param has been actually entered by the user
|
||||
*/
|
||||
virtual bool isItThere( const std::string& name ) const
|
||||
{
|
||||
return isItThere(*getParamWithLongName(name));
|
||||
}
|
||||
|
||||
std::string get( const std::string & name) const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue