argon
0.12.0
Command line argument parser
Loading...
Searching...
No Matches
Position.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
argon/Argument.hpp
>
4
5
namespace
argon {
6
8
11
class
ARGON_EXPORT
Position
final :
public
Argument
{
12
std::string m_name;
13
14
public
:
15
Position
(std::string name,
const
std::string& description);
16
17
[[nodiscard]]
auto
format()
const
-> std::string
override
;
18
[[nodiscard]]
auto
name()
const
-> std::string {
return
m_name; }
19
};
20
21
}
Argument.hpp
argon::Argument
Base type of all arguments.
Definition
Argument.hpp:14
argon::Position
Positional argument.
Definition
Position.hpp:11
argon
Position.hpp
Generated by
1.9.8