This class is simply to allow tests access to App's protected functions.
More...
#include <CLI11.hpp>
|
template<typename... Args> |
static auto | parse_arg (App *app, Args &&... args) -> typename std::result_of< decltype(&App::_parse_arg)(App, Args...)>::type |
| Wrap _parse_short, perfectly forward arguments and return.
|
|
template<typename... Args> |
static auto | parse_subcommand (App *app, Args &&... args) -> typename std::result_of< decltype(&App::_parse_subcommand)(App, Args...)>::type |
| Wrap _parse_subcommand, perfectly forward arguments and return.
|
|
static App * | get_fallthrough_parent (App *app) |
| Wrap the fallthrough parent function to make sure that is working correctly.
|
|
Definition at line 7603 of file CLI11.hpp.
◆ get_fallthrough_parent()
static App * CLI::detail::AppFriend::get_fallthrough_parent |
( |
App * | app | ) |
|
|
inlinestatic |
Definition at line 7619 of file CLI11.hpp.
7619{
return app->_get_fallthrough_parent(); }
◆ parse_arg()
template<typename... Args>
static auto CLI::detail::AppFriend::parse_arg |
( |
App * | app, |
|
|
Args &&... | args ) -> typename std::result_of<decltype (&App::_parse_arg)(App, Args...)>::type |
|
inlinestatic |
Definition at line 7607 of file CLI11.hpp.
7608 {
7609 return app->_parse_arg(std::forward<Args>(args)...);
7610 }
◆ parse_subcommand()
template<typename... Args>
static auto CLI::detail::AppFriend::parse_subcommand |
( |
App * | app, |
|
|
Args &&... | args ) -> typename std::result_of<decltype (&App::_parse_subcommand)(App, Args...)>::type |
|
inlinestatic |
Definition at line 7614 of file CLI11.hpp.
7615 {
7616 return app->_parse_subcommand(std::forward<Args>(args)...);
7617 }
The documentation for this struct was generated from the following file: