#include <utils/CommandLineParser.hpp>
◆ CommandLineArg()
openfluid::utils::CommandLineArg::CommandLineArg |
( |
const std::string & |
Name, |
|
|
bool |
Required = true |
|
) |
| |
|
inline |
Instanciates an argument with the given parameters
- Parameters
-
[in] | Name | The long name of the option |
[in] | Required | True if the argument is required (true is default) |
◆ getName()
std::string openfluid::utils::CommandLineArg::getName |
( |
| ) |
const |
|
inline |
Returns the name of the arg
- Returns
- The name
◆ isRequired()
bool openfluid::utils::CommandLineArg::isRequired |
( |
| ) |
const |
|
inline |
Returns if the arg is required
- Returns
- the required predicate
The documentation for this class was generated from the following file: