|
LibCppCmdLine v1.0
A cross-platform C++ library for parsing command line arguments
|
Defines a command line Param. More...
#include <Param.h>
Public Attributes | |
| std::string | name |
| Gets the name of the Param. | |
| std::string | description |
| Gets the description of the Param. | |
| bool | isMandatory = false |
| Determines if the Param is mandatory. | |
Defines a command line Param.
All classes that inherit from Param can use this struct (or a descendant of it) to construct a new Param.
| std::string CmdLine::Param::Definition::description |
Gets the description of the Param.
The description of the parameter is used for generating HelpInfo().
| bool CmdLine::Param::Definition::isMandatory = false |
Determines if the Param is mandatory.
| std::string CmdLine::Param::Definition::name |
Gets the name of the Param.
The name of the parameter is used for generating usage and HelpInfo().