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

#include <joedb/ui/Readable_Command_Processor.h>

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

Public Member Functions

 Readable_Command_Processor (const Readable &readable)
 
- Public Member Functions inherited from joedb::Command_Processor
virtual ~Command_Processor ()
 

Static Public Member Functions

static Table_Id parse_table (std::istream &in, const Readable &readable)
 

Protected Member Functions

void write_value (std::ostream &out, Table_Id table_id, Record_Id record_id, Field_Id field_id)
 
Status process_command (const std::string &command, std::istream &parameters, std::istream &in, std::ostream &out) override
 

Protected Attributes

const Readablereadable
 

Additional Inherited Members

- Public Types inherited from joedb::Command_Processor
enum class  Status {
  ok , done , quit , abort ,
  not_found
}
 

Detailed Description

Definition at line 12 of file Readable_Command_Processor.h.

Constructor & Destructor Documentation

◆ Readable_Command_Processor()

joedb::Readable_Command_Processor::Readable_Command_Processor ( const Readable readable)
inline

Definition at line 39 of file Readable_Command_Processor.h.

Member Function Documentation

◆ parse_table()

Table_Id joedb::Readable_Command_Processor::parse_table ( std::istream &  in,
const Readable readable 
)
static

Definition at line 16 of file Readable_Command_Processor.cpp.

◆ process_command()

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

Implements joedb::Command_Processor.

Definition at line 32 of file Readable_Command_Processor.cpp.

◆ write_value()

void joedb::Readable_Command_Processor::write_value ( std::ostream &  out,
Table_Id  table_id,
Record_Id  record_id,
Field_Id  field_id 
)
inlineprotected

Definition at line 17 of file Readable_Command_Processor.h.

Member Data Documentation

◆ readable

const Readable& joedb::Readable_Command_Processor::readable
protected

Definition at line 15 of file Readable_Command_Processor.h.


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