arg_router  1.4.0
C++ command line argument parsing and routing
arg_router::dependency Namespace Reference

Classes

class  alias_group_t
 
class  one_of_t
 

Functions

template<typename... Params>
constexpr auto alias_group (Params... params) noexcept
 
template<typename... Params>
constexpr auto one_of (Params... params) noexcept
 

Detailed Description

The dependency namespace carries nodes and policies that define dependency relationships between other nodes.

Function Documentation

◆ alias_group()

template<typename... Params>
constexpr auto arg_router::dependency::alias_group ( Params...  params)
constexprnoexcept

Constructs a alias_group_t with the given policies and children.

This is used for similarity with arg_t.

Template Parameters
ParamsPolicies and child node types for the mode
Parameters
paramsPack of policy and child node instances
Returns
Instance

Definition at line 137 of file alias_group.hpp.

◆ one_of()

template<typename... Params>
constexpr auto arg_router::dependency::one_of ( Params...  params)
constexprnoexcept

Constructs a one_of_t with the given policies and children.

This is used for similarity with arg_t.

Template Parameters
ParamsPolicies and child node types for the mode
Parameters
paramsPack of policy and child node instances
Returns
Instance

Definition at line 143 of file one_of.hpp.