Loading...
Searching...
No Matches
AppFriend Struct Reference

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

#include <CLI11.h>

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.

Definition at line 6887 of file CLI11.h.

Member Function Documentation

◆ get_fallthrough_parent()

static App * get_fallthrough_parent ( App app)
inlinestatic

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

Definition at line 6915 of file CLI11.h.

◆ parse_arg()

static auto 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.

Definition at line 6902 of file CLI11.h.

◆ parse_subcommand()

static auto 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.

Definition at line 6909 of file CLI11.h.


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