sisi4s
Loading...
Searching...
No Matches
CLI::detail::AppFriend Struct Reference

This class is simply to allow tests access to App's protected functions. More...

#include <CLI11.hpp>

Collaboration diagram for CLI::detail::AppFriend:

Static Public Member Functions

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 Appget_fallthrough_parent (App *app)
 Wrap the fallthrough parent function to make sure that is working correctly.
 

Detailed Description

This class is simply to allow tests access to App's protected functions.

Member Function Documentation

◆ get_fallthrough_parent()

static App * CLI::detail::AppFriend::get_fallthrough_parent ( App app)
inlinestatic

Wrap the fallthrough parent function to make sure that is working correctly.

Here is the call graph for this function:

◆ 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

Wrap _parse_short, perfectly forward arguments and return.

Here is the call graph for this function:

◆ 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

Wrap _parse_subcommand, perfectly forward arguments and return.

Here is the call graph for this function:

The documentation for this struct was generated from the following file: