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

#include <joedb/ui/Client_Command_Processor.h>

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

Public Member Functions

 Writable_Client_Command_Processor (Writable_Client &client)
 
Status process_command (const std::string &command, std::istream &parameters, std::istream &in, std::ostream &out) override
 
- Public Member Functions inherited from joedb::Client_Command_Processor
 Client_Command_Processor (Client &client)
 
void write_prompt (std::ostream &out) const override
 
- 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 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
}
 
- Static Protected Member Functions inherited from joedb::Client_Command_Processor
static void sleep (int seconds, std::ostream &out)
 
- Protected Attributes inherited from joedb::Client_Command_Processor
Clientclient
 

Detailed Description

Definition at line 41 of file Client_Command_Processor.h.

Constructor & Destructor Documentation

◆ Writable_Client_Command_Processor()

joedb::Writable_Client_Command_Processor::Writable_Client_Command_Processor ( Writable_Client client)
inline

Definition at line 52 of file Client_Command_Processor.h.

Member Function Documentation

◆ process_command()

Command_Processor::Status joedb::Writable_Client_Command_Processor::process_command ( const std::string &  command,
std::istream &  parameters,
std::istream &  in,
std::ostream &  out 
)
overridevirtual

Reimplemented from joedb::Client_Command_Processor.

Definition at line 165 of file Client_Command_Processor.cpp.


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