Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
TypeOption.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <ast/Option.h>
10
11namespace cli {
12
13class TypeOption final : public Option {
14 std::string m_type;
15
16public:
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
Definition: Option.h:10
Definition: TypeOption.h:13
const std::string & getType() const
Definition: TypeOption.h:20
TypeOption(std::string type)
Definition: TypeOption.h:17
Definition: Arg.h:11
Definition: FordFulkerson.hpp:16