27 #ifndef Tools_client_thriftbroker_CommandInterpreter_h
28 #define Tools_client_thriftbroker_CommandInterpreter_h
38 #include <unordered_map>
42 namespace thriftbroker {
73 std::vector<std::string>
args;
80 void parse_line(
const String &line, ParseResult &result)
const;
84 void load_help_text();
90 void display_help_text(
const std::string &command)
const;
96 void display_usage(
const std::string &command)
const;
98 void parse_error(
const std::string &command)
const;
115 #endif // Tools_client_thriftbroker_CommandInterpreter_h
std::string String
A String is simply a typedef to std::string.
virtual int execute_line(const String &line)=0
std::shared_ptr< Client > ClientPtr
Smart pointer to client.