|
Arkanjo 0.2
A tool for find code duplicated functions in codebases
|
#include <unordered_map>#include <functional>#include <memory>#include <arkanjo/commands/command.hpp>
Include dependency graph for commands_registry.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | CommandsRegistry |
Typedefs | |
| using | CommandsRegistry::CommandFactory = std::function<std::unique_ptr<ICommand>()> |
Functions | |
| std::unordered_map< std::string, CommandFactory > | CommandsRegistry::build_command_map (const std::vector< std::pair< std::vector< std::string >, CommandFactory > > &commands) |
| std::unique_ptr< ICommand > | CommandsRegistry::get_command (const std::string &name, const std::vector< std::pair< std::vector< std::string >, CommandFactory > > &commands) |