Base class for commands.
More...
#include <subcommand.h>
|
virtual constexpr | ~CommandsBase ()=default |
|
virtual constexpr const SubcommandBase * | find (std::string_view name) const =0 |
| Finds a subcommand by name.
|
|
virtual constexpr std::size_t | size () const =0 |
| Gets the number of subcommands.
|
|
◆ ~CommandsBase()
virtual constexpr koutil::argparser::CommandsBase::~CommandsBase |
( |
| ) |
|
|
constexprvirtualdefault |
◆ find()
virtual constexpr const SubcommandBase * koutil::argparser::CommandsBase::find |
( |
std::string_view | name | ) |
const |
|
nodiscardconstexprpure virtual |
◆ size()
virtual constexpr std::size_t koutil::argparser::CommandsBase::size |
( |
| ) |
const |
|
nodiscardconstexprpure virtual |
The documentation for this class was generated from the following file: