OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::basic_program_parameter Class Reference

Base class for pre-declared program parameter. More...

#include <eagine/program_args.hpp>

Public Member Functions

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.
 

Detailed Description

Base class for pre-declared program parameter.

See also
program_parameter

This is a base class for application-specific program parameters that are typically parsed from the program command-line arguments list. A declared parameter has a short tag like "-h" and a long tag like "--help".


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

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).