cli11
Loading...
Searching...
No Matches
cli::detail::app_friend_t Struct Referenceexport
module cli11

Grants the test suite access to cli::app_t's protected members. More...

Static Public Member Functions

template<typename... args_t>
static auto parse_arg (app_t *app, args_t &&...args) -> decltype(auto)
 Calls cli::app_t::_parse_arg.
template<typename... args_t>
static auto parse_subcommand (app_t *app, args_t &&...args) -> decltype(auto)
 Calls cli::app_t::_parse_subcommand.
static auto get_fallthrough_parent (app_t *app) -> app_t *
 Calls cli::app_t::_get_fallthrough_parent.
static auto get_fallthrough_parent (const app_t *app) -> const app_t *
 Calls cli::app_t::_get_fallthrough_parent.

Detailed Description

Grants the test suite access to cli::app_t's protected members.

Member Function Documentation

◆ get_fallthrough_parent() [1/2]

auto cli::detail::app_friend_t::get_fallthrough_parent ( app_t * app) -> app_t *
inlinestatic

Calls cli::app_t::_get_fallthrough_parent.

Parameters
appThe application to call into.
Returns
The application to fall through to.

◆ get_fallthrough_parent() [2/2]

auto cli::detail::app_friend_t::get_fallthrough_parent ( const app_t * app) -> const app_t *
inlinestatic

Calls cli::app_t::_get_fallthrough_parent.

Parameters
appThe application to call into.
Returns
The application to fall through to.

◆ parse_arg()

template<typename... args_t>
auto cli::detail::app_friend_t::parse_arg ( app_t * app,
args_t &&... args ) -> decltype(auto)
inlinestatic

Calls cli::app_t::_parse_arg.

Parameters
appThe application to call into.
argsThe arguments to forward.
Returns
Whatever _parse_arg returns.

◆ parse_subcommand()

template<typename... args_t>
auto cli::detail::app_friend_t::parse_subcommand ( app_t * app,
args_t &&... args ) -> decltype(auto)
inlinestatic

Calls cli::app_t::_parse_subcommand.

Parameters
appThe application to call into.
argsThe arguments to forward.
Returns
Whatever _parse_subcommand returns.

The documentation for this struct was generated from the following file:
  • /home/mccakit/desktop/repositories/cli11/src/app.cpp