|
AGX Dynamics
2.37.3.2
|
Help class for handling arguments. More...
#include <ArgumentParser.h>
Public Member Functions | |
| Argument () | |
| Constructs an empty argument. More... | |
| Argument (const std::string &argumentName) | |
| Constructs and argument given its name. More... | |
| bool | getHandled () const |
| Has the argument been handled? More... | |
| std::string | getName () const |
| Gets the name of the argument. More... | |
| bool | isOption () const |
| Is the argument an option (starting with "--")? More... | |
| void | setHandled (bool handled) |
| Set if the argument has been handled. More... | |
Help class for handling arguments.
Contains the argument name and a bool indicating if the argument has been handled.
Definition at line 46 of file ArgumentParser.h.
| agxIO::ArgumentParser::Argument::Argument | ( | ) |
Constructs an empty argument.
| agxIO::ArgumentParser::Argument::Argument | ( | const std::string & | argumentName | ) |
Constructs and argument given its name.
| bool agxIO::ArgumentParser::Argument::getHandled | ( | ) | const |
Has the argument been handled?
| std::string agxIO::ArgumentParser::Argument::getName | ( | ) | const |
Gets the name of the argument.
| bool agxIO::ArgumentParser::Argument::isOption | ( | ) | const |
Is the argument an option (starting with "--")?
| void agxIO::ArgumentParser::Argument::setHandled | ( | bool | handled | ) |
Set if the argument has been handled.