Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
alib2cli
src
ast
options
TypeOption.h
Go to the documentation of this file.
1
6
#pragma once
7
8
#include <
ast/Option.h
>
9
#include <
exception/CommonException.h
>
10
11
namespace
cli
{
12
13
class
TypeOption
final :
public
Option
{
14
std::string m_type;
15
16
public
:
17
TypeOption
( std::string type ) : m_type (
std
::move ( type ) ) {
18
}
19
20
const
std::string &
getType
( )
const
{
21
return
m_type;
22
}
23
};
24
25
}
/* namespace cli */
26
CommonException.h
Option.h
cli::Option
Definition:
Option.h:10
cli::TypeOption
Definition:
TypeOption.h:13
cli::TypeOption::getType
const std::string & getType() const
Definition:
TypeOption.h:20
cli::TypeOption::TypeOption
TypeOption(std::string type)
Definition:
TypeOption.h:17
cli
Definition:
Arg.h:11
std
Definition:
FordFulkerson.hpp:16
Generated on Mon Dec 27 2021 10:21:52 for Algorithms Library Toolkit by
1.9.2