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

Create an instance of a Buffered_File by parsing command-line arguments. More...

#include <joedb/ui/File_Parser.h>

Public Member Functions

 File_Parser (Open_Mode default_open_mode=Open_Mode::write_existing_or_create_new, bool default_only=false, bool include_shared=true, bool include_server=false)
 
Buffered_Fileparse (std::ostream &out, int argc, char **argv, int &arg_index)
 
Buffered_Fileget_file () const
 
void print_help (std::ostream &out) const
 

Detailed Description

Definition at line 19 of file File_Parser.h.

Constructor & Destructor Documentation

◆ File_Parser()

joedb::File_Parser::File_Parser ( Open_Mode  default_open_mode = Open_Mode::write_existing_or_create_new,
bool  default_only = false,
bool  include_shared = true,
bool  include_server = false 
)
inline

Definition at line 34 of file File_Parser.h.

Member Function Documentation

◆ get_file()

Buffered_File * joedb::File_Parser::get_file ( ) const
inline

Definition at line 56 of file File_Parser.h.

◆ parse()

Buffered_File * joedb::File_Parser::parse ( std::ostream &  out,
int  argc,
char **  argv,
int &  arg_index 
)

Definition at line 81 of file File_Parser.cpp.

◆ print_help()

void joedb::File_Parser::print_help ( std::ostream &  out) const

Definition at line 29 of file File_Parser.cpp.


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