|
Arkanjo 0.2
A tool for find code duplicated functions in codebases
|
Typedefs | |
| using | CommandFactory = std::function<std::unique_ptr<ICommand>()> |
Functions | |
| std::unordered_map< std::string, CommandFactory > | build_command_map (const std::vector< std::pair< std::vector< std::string >, CommandFactory > > &commands) |
| std::unique_ptr< ICommand > | get_command (const std::string &name, const std::vector< std::pair< std::vector< std::string >, CommandFactory > > &commands) |
| using CommandsRegistry::CommandFactory = std::function<std::unique_ptr<ICommand>()> |
Definition at line 9 of file commands_registry.hpp.
| std::unordered_map< std::string, CommandFactory > CommandsRegistry::build_command_map | ( | const std::vector< std::pair< std::vector< std::string >, CommandFactory > > & | commands | ) |
Definition at line 11 of file commands_registry.hpp.
| std::unique_ptr< ICommand > CommandsRegistry::get_command | ( | const std::string & | name, |
| const std::vector< std::pair< std::vector< std::string >, CommandFactory > > & | commands ) |
Definition at line 23 of file commands_registry.hpp.