#include <catch_amalgamated.hpp>
|
| template<typename LambdaT> |
| | Opt (LambdaT const &ref) |
| |
| | Opt (bool &ref) |
| |
| template<typename LambdaT, typename = typename std::enable_if_t< Detail::is_unary_function<LambdaT>::value>> |
| | Opt (LambdaT const &ref, StringRef hint) |
| |
| template<typename LambdaT> |
| | Opt (accept_many_t, LambdaT const &ref, StringRef hint) |
| |
| template<typename T, typename = typename std::enable_if_t< !Detail::is_unary_function<T>::value>> |
| | Opt (T &ref, StringRef hint) |
| |
| Opt & | operator[] (StringRef optName) & |
| |
| Opt && | operator[] (StringRef optName) && |
| |
| Detail::HelpColumns | getHelpColumns () const |
| |
| bool | isMatch (StringRef optToken) const |
| |
| Detail::InternalParseResult | parse (std::string const &, Detail::TokenStream tokens) const override |
| |
| Detail::Result | validate () const override |
| |
| | ParserRefImpl (accept_many_t, LambdaT const &ref, StringRef hint) |
| |
| | ParserRefImpl (T &ref, StringRef hint) |
| |
| | ParserRefImpl (LambdaT const &ref, StringRef hint) |
| |
| Opt & | operator() (StringRef description) & |
| |
| Opt && | operator() (StringRef description) && |
| |
| auto | optional () -> Opt & |
| |
| auto | required () -> Opt & |
| |
| auto | isOptional () const -> bool |
| |
| auto | cardinality () const -> size_t override |
| |
| StringRef | hint () const |
| |
| Parser | operator| (T const &other) const |
| |
| auto | operator| (T const &other) const -> Parser |
| |
| Parser | operator| (T const &other) const |
| |
| virtual | ~ParserBase ()=default |
| |
| InternalParseResult | parse (Args const &args) const |
| |
◆ Opt() [1/5]
template<typename LambdaT>
| Catch::Clara::Opt::Opt |
( |
LambdaT const & | ref | ) |
|
|
inlineexplicit |
◆ Opt() [2/5]
| Catch::Clara::Opt::Opt |
( |
bool & | ref | ) |
|
|
explicit |
◆ Opt() [3/5]
template<typename LambdaT, typename = typename std::enable_if_t< Detail::is_unary_function<LambdaT>::value>>
| Catch::Clara::Opt::Opt |
( |
LambdaT const & | ref, |
|
|
StringRef | hint ) |
|
inline |
◆ Opt() [4/5]
template<typename LambdaT>
◆ Opt() [5/5]
template<typename T, typename = typename std::enable_if_t< !Detail::is_unary_function<T>::value>>
| Catch::Clara::Opt::Opt |
( |
T & | ref, |
|
|
StringRef | hint ) |
|
inline |
◆ getHelpColumns()
◆ isMatch()
| bool Catch::Clara::Opt::isMatch |
( |
StringRef | optToken | ) |
const |
◆ operator[]() [1/2]
◆ operator[]() [2/2]
| Opt && Catch::Clara::Opt::operator[] |
( |
StringRef | optName | ) |
&& |
|
inline |
◆ parse()
◆ validate()
◆ m_optNames
| std::vector<StringRef> Catch::Clara::Opt::m_optNames |
|
protected |
The documentation for this class was generated from the following files: