1#ifndef joedb_Command_Interpreter_declared
2#define joedb_Command_Interpreter_declared
17 std::vector<std::reference_wrapper<Command_Processor>> processors;
28 const std::string &line,
35 const std::string &command,
36 std::istream ¶meters,
47 void set_echo(
bool new_echo) {echo = new_echo;}
50 void main_loop(std::istream &in, std::ostream &out);
void set_parent(const Command_Interpreter *new_parent)
void main_loop(std::istream &in, std::ostream &out)
void set_echo(bool new_echo)
void set_prompt(bool new_prompt)
void write_whole_prompt(std::ostream &out) const
Status process_command(const std::string &command, std::istream ¶meters, std::istream &in, std::ostream &out) override
void add_processor(Command_Processor &processor)
virtual void write_prompt(std::ostream &out) const
void set_rethrow(bool new_rethrow)