Joedb 10.2.1
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Namespaces | Classes | Functions
tutorial Namespace Reference

Automatically generated by joedbc.

Namespaces

namespace  city_table
 
namespace  person_table
 
namespace  rpc
 

Classes

class  Client
 Handle concurrent access to a joedb::Abstract_File using a joedb::Connection. More...
 
class  Client_Lock
 For more flexibility than the transaction lambda. More...
 
class  container_of_city
 returned by Database::get_city_table More...
 
class  container_of_person
 returned by Database::get_person_table More...
 
class  Database
 Store all the tables of the database. More...
 
class  Database_Writable
 implement joedb::Writable in a Database More...
 
class  File_Client
 Shortcut to directly build a Client from a file name. More...
 
class  File_Database
 Shortcut to directly build a Writable_Database from a file name. More...
 
class  id_of_city
 Strongly-typed wrapper around an integer representing a row of the city table. More...
 
class  id_of_person
 Strongly-typed wrapper around an integer representing a row of the person table. More...
 
class  Interpreted_File_Database
 Open a .joedbi text file for reading or writing. More...
 
class  Memory_Database
 Shortcut to directly build a Writable_Database with a Memory_File. More...
 
class  Multiplexer
 Write simultaneously to the database and the file (ignore schema changes) More...
 
class  Procedure
 Class for all procedures based on this message schema. More...
 
class  range_of_person_by_name
 returned by Database::find_person_by_name More...
 
class  Readable
 Implement the joedb::Readable interface for a compiled database. More...
 
class  Readonly_Client
 Client for a read-only file (allows pulling, unlike Readonly_Database) More...
 
class  Readonly_Database
 Load a database from a read-only file. More...
 
class  Readonly_Interpreted_File_Database
 Readonly_Database for a .joedbi text file More...
 
class  Types
 All types defined for this database, listed in a class (for use as template parameter) More...
 
class  Writable_Database
 A Database that contains a joedb::Writable_Journal and keeps them in sync. More...
 

Functions

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)
 
void print_person_table (std::ostream &out, const Database &db, size_t max_column_width=0, Record_Id start=Record_Id::null, size_t length=0)
 

Function Documentation

◆ print_city_table()

void tutorial::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 
)
inline

Definition at line 20 of file print_table.h.

◆ print_person_table()

void tutorial::print_person_table ( std::ostream &  out,
const Database db,
size_t  max_column_width = 0,
Record_Id  start = Record_Id::null,
size_t  length = 0 
)
inline

Definition at line 41 of file print_table.h.