Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Public Member Functions | List of all members
joedb::Interpreter Class Reference

#include <joedb/ui/Interpreter.h>

Inheritance diagram for joedb::Interpreter:
Inheritance graph
[legend]
Collaboration diagram for joedb::Interpreter:
Collaboration graph
[legend]

Public Member Functions

 Interpreter (const Readable &readable, Writable &writable, const Buffered_File *blob_reader, Writable &blob_writer, size_t 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)
 
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)
 
- 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 (const std::string &command, std::istream &parameters, std::istream &in, std::ostream &out) override
 

Detailed Description

Definition at line 53 of file Interpreter.h.

Constructor & Destructor Documentation

◆ Interpreter()

joedb::Interpreter::Interpreter ( const Readable readable,
Writable writable,
const Buffered_File blob_reader,
Writable blob_writer,
size_t  max_record_id 
)
inline

Definition at line 61 of file Interpreter.h.


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