-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathapp_argument.cpp
More file actions
33 lines (24 loc) · 873 Bytes
/
app_argument.cpp
File metadata and controls
33 lines (24 loc) · 873 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
#include "application/tools/app_argument.hpp"
//------------------------------------------------------------------------------
namespace application
{
//------------------------------------------------------------------------------
Argument::Argument(
std::string _fullName, std::string _description, ValueOpt _defaultValue )
: m_fullName{ std::move( _fullName ) }
, m_description{ std::move( _description ) }
, m_defaultValue{ std::move( _defaultValue ) }
{
}
//------------------------------------------------------------------------------
const std::string & Argument::getFullName() const
{
return m_fullName;
}
//------------------------------------------------------------------------------
const std::string & Argument::getDescription() const
{
return m_description;
}
//------------------------------------------------------------------------------
}