#include <console_handler.h>
|
| typedef boost::function< bool(const std::vector< std::string > &)> | callback |
| typedef boost::function< bool(void)> | empty_callback |
| typedef std::map< std::string, std::pair< callback, std::pair< std::string, std::string > > > | lookup |
◆ callback
◆ empty_callback
◆ lookup
◆ command_handler()
| epee::command_handler::command_handler |
( |
| ) |
|
|
inline |
◆ get_command_list()
| std::vector< std::string > epee::command_handler::get_command_list |
( |
const std::vector< std::string > & | keywords = std::vector<std::string>() | ) |
|
|
inline |
◆ get_documentation()
| std::pair< std::string, std::string > epee::command_handler::get_documentation |
( |
const std::vector< std::string > & | cmd | ) |
|
|
inline |
◆ get_usage()
| std::string epee::command_handler::get_usage |
( |
| ) |
|
|
inline |
◆ process_command_str()
| bool epee::command_handler::process_command_str |
( |
const boost::optional< std::string > & | cmd | ) |
|
|
inline |
◆ process_command_vec()
| bool epee::command_handler::process_command_vec |
( |
const std::vector< std::string > & | cmd | ) |
|
|
inline |
◆ set_cancel_handler()
◆ set_empty_command_handler()
◆ set_handler()
| void epee::command_handler::set_handler |
( |
const std::string & | cmd, |
|
|
const callback & | hndlr, |
|
|
const std::string & | usage = "", |
|
|
const std::string & | description = "" ) |
|
inline |
◆ set_unknown_command_handler()
| void epee::command_handler::set_unknown_command_handler |
( |
const callback & | hndlr | ) |
|
|
inline |
◆ m_cancel_handler
◆ m_command_handlers
| lookup epee::command_handler::m_command_handlers |
|
private |
◆ m_empty_command_handler
◆ m_unknown_command_handler
| callback epee::command_handler::m_unknown_command_handler |
|
private |
The documentation for this class was generated from the following file: