shortcut to get a param value
This commit is contained in:
parent
1c4cdae663
commit
ae919bc712
2 changed files with 10 additions and 0 deletions
|
|
@ -112,6 +112,12 @@ eoParser::eoParser ( unsigned _argc, char **_argv , string _programDescription,
|
|||
}
|
||||
|
||||
|
||||
std::string eoParser::get( const std::string & name) const
|
||||
{
|
||||
return getParamWithLongName( name )->getValue();
|
||||
}
|
||||
|
||||
|
||||
eoParam * eoParser::getParamWithLongName(const std::string& _name) const
|
||||
{
|
||||
typedef std::multimap<std::string, eoParam*> MultiMapType;
|
||||
|
|
|
|||
Reference in a new issue