HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pxr_CLI::CLI::detail::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. More...
 
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. More...
 
static Appget_fallthrough_parent (App *app)
 Wrap the fallthrough parent function to make sure that is working correctly. More...
 

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

static App* pxr_CLI::CLI::detail::AppFriend::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.

template<typename... Args>
static auto pxr_CLI::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.

Definition at line 6902 of file CLI11.h.

template<typename... Args>
static auto pxr_CLI::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.

Definition at line 6909 of file CLI11.h.


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