-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathapp_argument.cpp
More file actions
36 lines (26 loc) · 853 Bytes
/
app_argument.cpp
File metadata and controls
36 lines (26 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#include "application/tools/app_argument.hpp"
//------------------------------------------------------------------------------
namespace application {
//------------------------------------------------------------------------------
Argument::Argument(
const std::string & _fullName,
const std::string & _description,
ValueOpt _defaultValue
)
: m_fullName{ _fullName }
, m_description{ _description }
, m_defaultValue{ _defaultValue }
{
}
//------------------------------------------------------------------------------
const std::string & Argument::getFullName() const
{
return m_fullName;
}
//------------------------------------------------------------------------------
const std::string & Argument::getDescription() const
{
return m_description;
}
//------------------------------------------------------------------------------
}