Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
AlgorithmsIntrospectionCommand.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <ast/Arg.h>
9#include <ast/Command.h>
11
12namespace cli {
13
15 std::unique_ptr < cli::Arg > m_param;
16
17 static void printAlgos ( const ext::set < ext::pair < std::string, ext::vector < std::string > > > & algos );
18
19public:
20 AlgorithmsIntrospectionCommand ( std::unique_ptr < cli::Arg > param ) : m_param ( std::move ( param ) ) {
21 }
22
23 CommandResult run ( Environment & environment ) const override;
24};
25
26} /* namespace cli */
27
Definition: AlgorithmsIntrospectionCommand.h:14
CommandResult run(Environment &environment) const override
Definition: AlgorithmsIntrospectionCommand.cpp:25
AlgorithmsIntrospectionCommand(std::unique_ptr< cli::Arg > param)
Definition: AlgorithmsIntrospectionCommand.h:20
Definition: Command.h:14
Definition: Environment.h:29
Class extending the pair class from the standard library. Original reason is to allow printing of the...
Definition: pair.hpp:43
Definition: set.hpp:44
Class extending the vector class from the standard library. Original reason is to allow printing of t...
Definition: vector.hpp:45
Definition: Arg.h:11
CommandResult
Definition: CommandResult.h:10
Definition: FordFulkerson.hpp:16