Command interpreter for ht_fsbroker.
More...
#include <CommandInterpreter.h>
Command interpreter for ht_fsbroker.
Definition at line 50 of file CommandInterpreter.h.
| Tools::client::fsbroker::CommandInterpreter::CommandInterpreter |
( |
FsBroker::Lib::ClientPtr & |
client, |
|
|
bool |
nowait = false |
|
) |
| |
|
inline |
| void fsbroker::CommandInterpreter::display_help_text |
( |
const std::string & |
command | ) |
const |
|
private |
Displays help text for command.
Searches m_help_text for help text for command and displays it if found.
- Parameters
-
| command | Command for which to display help text |
Definition at line 371 of file CommandInterpreter.cc.
| void fsbroker::CommandInterpreter::display_usage |
( |
const std::string & |
command | ) |
const |
|
private |
Displays usage for command.
Searches m_help_text for help text for command and displays the first line, which is the command usage.
- Parameters
-
| command | Command for which to display help text |
Definition at line 386 of file CommandInterpreter.cc.
| int fsbroker::CommandInterpreter::execute_line |
( |
const String & |
line | ) |
|
|
overridevirtual |
| void fsbroker::CommandInterpreter::load_help_text |
( |
| ) |
|
|
private |
| void fsbroker::CommandInterpreter::parse_error |
( |
const std::string & |
command | ) |
const |
|
private |
| void fsbroker::CommandInterpreter::parse_line |
( |
const String & |
line, |
|
|
ParseResult & |
result |
|
) |
| const |
|
private |
Parses a single command.
- Parameters
-
| line | String containing command to parse |
| result | Reference to variable to hold parse result |
Definition at line 165 of file CommandInterpreter.cc.
| std::unordered_map<std::string, const char **> Tools::client::fsbroker::CommandInterpreter::m_help_text |
|
private |
| bool Tools::client::fsbroker::CommandInterpreter::m_nowait |
|
private |
The documentation for this class was generated from the following files: