koutil
Loading...
Searching...
No Matches
koutil::argparser::ArgumentsBase Class Referenceabstract

#include <arg.h>

Inheritance diagram for koutil::argparser::ArgumentsBase:
koutil::argparser::Arguments< Args... > koutil::argparser::Arguments< Args >

Public Member Functions

virtual constexpr ~ArgumentsBase ()=default
 
virtual constexpr std::size_t size () const =0
 
virtual constexpr std::size_t count_short_args () const =0
 
virtual constexpr std::size_t count_long_args () const =0
 
virtual constexpr const Argfind_short (char name) const =0
 
virtual constexpr const Argfind_long (std::string_view name) const =0
 
virtual constexpr std::span< const Argargs () const =0
 

Constructor & Destructor Documentation

◆ ~ArgumentsBase()

virtual constexpr koutil::argparser::ArgumentsBase::~ArgumentsBase ( )
constexprvirtualdefault

Member Function Documentation

◆ args()

virtual constexpr std::span< const Arg > koutil::argparser::ArgumentsBase::args ( ) const
nodiscardconstexprpure virtual

◆ count_long_args()

virtual constexpr std::size_t koutil::argparser::ArgumentsBase::count_long_args ( ) const
nodiscardconstexprpure virtual

◆ count_short_args()

virtual constexpr std::size_t koutil::argparser::ArgumentsBase::count_short_args ( ) const
nodiscardconstexprpure virtual

◆ find_long()

virtual constexpr const Arg * koutil::argparser::ArgumentsBase::find_long ( std::string_view name) const
nodiscardconstexprpure virtual

◆ find_short()

virtual constexpr const Arg * koutil::argparser::ArgumentsBase::find_short ( char name) const
nodiscardconstexprpure virtual

◆ size()

virtual constexpr std::size_t koutil::argparser::ArgumentsBase::size ( ) const
nodiscardconstexprpure virtual

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