Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Readable_Command_Processor.h
Go to the documentation of this file.
1#ifndef joedb_Readable_Command_Processor_declared
2#define joedb_Readable_Command_Processor_declared
3
6
7namespace joedb
8{
9 class Readable;
10
11 /// @ingroup ui
13 {
14 protected:
16
18 (
19 std::ostream &out,
20 Table_Id table_id,
21 Record_Id record_id,
22 Field_Id field_id
23 )
24 {
25 joedb::write_value(out, readable, table_id, record_id, field_id);
26 }
27
29 (
30 const std::string &command,
31 std::istream &parameters,
32 std::istream &in,
33 std::ostream &out
34 ) override;
35
36 public:
37 static Table_Id parse_table(std::istream &in, const Readable &readable);
38
42 };
43}
44
45#endif
static Table_Id parse_table(std::istream &in, const Readable &readable)
Status process_command(const std::string &command, std::istream &parameters, std::istream &in, std::ostream &out) override
void write_value(std::ostream &out, Table_Id table_id, Record_Id record_id, Field_Id field_id)
Readable_Command_Processor(const Readable &readable)
void write_value(std::ostream &out, const Readable &readable, Table_Id table_id, Record_Id record_id, Field_Id field_id)
Definition Blob.h:7