27 #ifndef Tools_client_fsbroker_CommandInterpreter_h
28 #define Tools_client_fsbroker_CommandInterpreter_h
38 #include <unordered_map>
60 : m_client(client), m_nowait(nowait) {
64 int execute_line(
const String &line)
override;
72 std::vector<std::string>
args;
79 void parse_line(
const String &line, ParseResult &result)
const;
83 void load_help_text();
89 void display_help_text(
const std::string &command)
const;
95 void display_usage(
const std::string &command)
const;
97 void parse_error(
const std::string &command)
const;
116 #endif // Tools_client_fsbroker_CommandInterpreter_h
std::string String
A String is simply a typedef to std::string.
std::shared_ptr< Client > ClientPtr
Smart pointer to Client.
std::shared_ptr< CommandInterpreter > CommandInterpreterPtr