|
JASSv2
|
A single command line parameter. More...
Public Member Functions | |
| command (const std::string &shortname, const std::string &longname, const std::string &description, TYPE ¶meter) | |
| Build an object that represents a possible command line parameter. More... | |
Public Attributes | |
| std::string | shortname |
| The short name to match e.g. "-m". | |
| std::string | longname |
| The long name to mathc e.g. "-mood". | |
| std::string | description |
| The descriptrion to show when the user asks for help e.g. "The users' mood". | |
| TYPE & | parameter |
| A reference to the external variable to set based on the command line. | |
A single command line parameter.
|
inline |
Build an object that represents a possible command line parameter.
| shortname | [in] The short name to match e.g. "-m". |
| longname | [in] The long name to mathc e.g. "-mood". |
| description | [in] The descriptrion to show when the user asks for help e.g. "The users' mood". |
| parameter | [out] A reference to the external variable to set based on the command line. |
1.8.13