added a getParam method to the eoParser, that raise an exception if the parameter has not been declared
This commit is contained in:
parent
af0102a5d7
commit
7e7a47c9ba
2 changed files with 15 additions and 0 deletions
|
|
@ -176,6 +176,12 @@ public:
|
|||
eoParam * getParamWithLongName(const std::string& _name) const;
|
||||
|
||||
|
||||
/**
|
||||
* Get a handle on a param from its long name
|
||||
* If not found, raise an eoMissingParamException
|
||||
*/
|
||||
eoParam * getParam(const std::string& _name) const;
|
||||
|
||||
|
||||
/** Get or create parameter
|
||||
|
||||
|
|
|
|||
Reference in a new issue