Joedb 10.2.1
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
print_table.h
Go to the documentation of this file.
1/////////////////////////////////////////////////////////////////////////////
2//
3// This code was automatically generated by the joedb compiler
4// https://www.joedb.org/
5//
6// Path to compiler: /home/rcoulom/repos/joedb/compcmake/gcc_debug/joedbc
7// Version: 10.2.1
8// joedbc compilation time: Sep 15 2025 20:22:33
9// Generation of this file: 2025-09-15 18:23:01 GMT
10//
11/////////////////////////////////////////////////////////////////////////////
12#ifndef tutorial_rpc_city_print_table_declared
13#define tutorial_rpc_city_print_table_declared
14
15#include "Readable.h"
17
18namespace tutorial::rpc::city
19{
20 inline void print_city_table
21 (
22 std::ostream &out,
23 const Database &db,
24 size_t max_column_width = 0,
26 size_t length = 0
27 )
28 {
29 Readable readable(db);
30 joedb::Readable_Command_Processor processor(readable);
31 processor.print_table
32 (
33 out,
34 city_table::id,
35 max_column_width,
36 start,
37 length
38 );
39 }
40}
41
42#endif
void print_table(std::ostream &out, Table_Id table_id, size_t max_column_width=0, Record_Id start=Record_Id::null, size_t length=0)
static const Record_Id null
Definition index_types.h:44
Store all the tables of the database.
Definition Database.h:63
Implement the joedb::Readable interface for a compiled database.
Definition Readable.h:27
Automatically generated by joedbc.
Definition Client.h:19
void print_city_table(std::ostream &out, const Database &db, size_t max_column_width=0, Record_Id start=Record_Id::null, size_t length=0)
Definition print_table.h:21