Result of ArgParser::parse(), true when the arguments are valid.
More...
#include <RST/parser/ParseResult.hpp>
|
| | operator bool () const noexcept |
| |
| int | exitCode () const noexcept |
| | Exit code for main: 2 for errors, 0 otherwise.
|
| |
| void | print () const |
| | Prints the message, to stderr for errors and stdout otherwise.
|
| |
Result of ArgParser::parse(), true when the arguments are valid.
◆ operator bool()
| RST::Parser::ParseResult::operator bool |
( |
| ) |
const |
|
inlineexplicitnoexcept |
◆ exitCode()
| int RST::Parser::ParseResult::exitCode |
( |
| ) |
const |
|
inlinenoexcept |
Exit code for main: 2 for errors, 0 otherwise.
◆ print()
| void RST::Parser::ParseResult::print |
( |
| ) |
const |
Prints the message, to stderr for errors and stdout otherwise.
◆ status
◆ message
| std::string RST::Parser::ParseResult::message |
Text to print for help, version and errors.
The documentation for this struct was generated from the following file: