4.4.0
|
|
Freundlich's C++ toolkit |
A sub command consists of a command name and a parser.
Public Types | |
using | tag = Tag |
using | parser_type = Parser |
using | result_type = fcppt::record::object< fcppt::record::element< Tag, fcppt::options::result_of< Parser > > > |
Public Member Functions | |
sub_command (fcppt::string &&, Parser &&, fcppt::options::optional_help_text &&) | |
fcppt::string const & | name () const |
Parser const & | parser () const |
fcppt::options::optional_help_text const & | help_text () const |
using fcppt::options::sub_command< Tag, Parser >::parser_type = Parser |
using fcppt::options::sub_command< Tag, Parser >::result_type = fcppt::record::object<fcppt::record::element<Tag, fcppt::options::result_of<Parser> >> |
using fcppt::options::sub_command< Tag, Parser >::tag = Tag |
fcppt::options::sub_command< Tag, Parser >::sub_command | ( | fcppt::string && | , |
Parser && | , | ||
fcppt::options::optional_help_text && | |||
) |
fcppt::options::optional_help_text const & fcppt::options::sub_command< Tag, Parser >::help_text | ( | ) | const |
fcppt::string const & fcppt::options::sub_command< Tag, Parser >::name | ( | ) | const |
Parser const & fcppt::options::sub_command< Tag, Parser >::parser | ( | ) | const |