Joedb 10.4.6
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
joedb::Interpreter Class Reference

#include <joedb/ui/Interpreter.h>

Inheritance diagram for joedb::Interpreter:
Collaboration diagram for joedb::Interpreter:

Public Member Functions

 Interpreter (const Readable &readable, Writable &writable, Record_Id max_record_id)
Public Member Functions inherited from joedb::Command_Interpreter
 Command_Interpreter ()
void add_processor (Command_Processor &processor)
void set_parent (const Command_Interpreter *new_parent)
void set_prompt_string (std::string s)
virtual void write_prompt (std::ostream &out) const
void write_whole_prompt (std::ostream &out) const
void set_echo (bool new_echo)
void set_rethrow (bool new_rethrow)
void set_prompt (bool new_prompt)
void main_loop (std::istream &in, std::ostream &out)
bool is_last_line_empty () const
Public Member Functions inherited from joedb::Command_Processor
virtual ~Command_Processor ()

Additional Inherited Members

Public Types inherited from joedb::Command_Processor
enum class  Status {
  ok , done , quit , abort ,
  not_found
}
Protected Member Functions inherited from joedb::Command_Interpreter
Status process_command (std::string_view command, std::istream &parameters, std::istream &in, std::ostream &out) override

Detailed Description

Definition at line 40 of file Interpreter.h.

Constructor & Destructor Documentation

◆ Interpreter()

joedb::Interpreter::Interpreter ( const Readable & readable,
Writable & writable,
Record_Id max_record_id )
inline

Definition at line 47 of file Interpreter.h.


The documentation for this class was generated from the following file: