Alias (alternative tags) for another declared program parameter. More...
#include <eagine/program_args.hpp>
Public Member Functions | |
program_parameter_alias (string_view short_tag, string_view long_tag, program_parameter< T > &that) noexcept | |
Construction from alternative short and long tags and parameter reference. | |
auto | ref () noexcept -> auto & |
Returns a reference to the value in the aliased program parameter. | |
auto | value () const noexcept -> auto & |
Returns the value in the aliased program parameter. | |
operator const T & () const noexcept | |
Returns the value in the aliased program parameter. More... | |
![]() | |
constexpr auto | short_tag () const noexcept -> string_view |
Get the short tag string for this parameter. | |
constexpr auto | long_tag () const noexcept -> string_view |
Get the long tag string for this parameter. | |
constexpr auto | description () const noexcept -> string_view |
Returns a human-readable description for this program parameter. | |
constexpr auto | description (string_view help_str) noexcept -> auto & |
Specifies a human-readable description for this program parameter. | |
Alias (alternative tags) for another declared program parameter.
|
inlinenoexcept |
Returns the value in the aliased program parameter.