1#ifndef joedb_Parsed_Client_declared
2#define joedb_Parsed_Client_declared
24#ifdef PERSISTENCE_TEST
36 std::unique_ptr<Client> client;
48 bool has_file()
const {
return file_parser.get_file() !=
nullptr;}
52 file_parser.print_help(out);
53 connection_parser.print_help(out);
Class for conveniently parsing command-line arguments.
Handle concurrent access to a file with a joedb::Connection.
Create an instance of a Connection by parsing command-line arguments.
Create an instance of a Abstract_File by parsing command-line arguments.
void print_help(std::ostream &out) const
Parsed_Client(Logger &logger, Open_Mode default_open_mode, DB_Type default_db_type, Arguments &arguments)
void dump(const Readable &db, Writable &writable, bool schema_only)