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

#include <joedb/ui/Data_Manipulation_Command_Processor.h>

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

Public Member Functions

 Data_Manipulation_Command_Processor (const Readable &readable, Writable &writable, size_t max_record_id)
 
- Public Member Functions inherited from joedb::Readable_Command_Processor
 Readable_Command_Processor (const Readable &readable)
 
- Public Member Functions inherited from joedb::Command_Processor
virtual ~Command_Processor ()
 

Protected Member Functions

Status process_command (const std::string &command, std::istream &parameters, std::istream &in, std::ostream &out) override
 
- Protected Member Functions inherited from joedb::Readable_Command_Processor
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

Writablewritable
 
size_t max_record_id
 
- Protected Attributes inherited from joedb::Readable_Command_Processor
const Readablereadable
 

Additional Inherited Members

- Public Types inherited from joedb::Command_Processor
enum class  Status {
  ok , done , quit , abort ,
  not_found
}
 
- Static Public Member Functions inherited from joedb::Readable_Command_Processor
static Table_Id parse_table (std::istream &in, const Readable &readable)
 

Detailed Description

Definition at line 11 of file Data_Manipulation_Command_Processor.h.

Constructor & Destructor Documentation

◆ Data_Manipulation_Command_Processor()

joedb::Data_Manipulation_Command_Processor::Data_Manipulation_Command_Processor ( const Readable readable,
Writable writable,
size_t  max_record_id 
)
inline

Definition at line 35 of file Data_Manipulation_Command_Processor.h.

Member Function Documentation

◆ process_command()

Command_Processor::Status joedb::Data_Manipulation_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 38 of file Data_Manipulation_Command_Processor.cpp.

Member Data Documentation

◆ max_record_id

size_t joedb::Data_Manipulation_Command_Processor::max_record_id
protected

Definition at line 32 of file Data_Manipulation_Command_Processor.h.

◆ writable

Writable& joedb::Data_Manipulation_Command_Processor::writable
protected

Definition at line 31 of file Data_Manipulation_Command_Processor.h.


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