3.6.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 &&) | |
const fcppt::string & | name () const |
const Parser & | parser () const |
const fcppt::options::optional_help_text & | 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 && | |||
) |
const fcppt::options::optional_help_text& fcppt::options::sub_command< Tag, Parser >::help_text | ( | ) | const |
const fcppt::string& fcppt::options::sub_command< Tag, Parser >::name | ( | ) | const |
const Parser& fcppt::options::sub_command< Tag, Parser >::parser | ( | ) | const |