MySQL 8.0.40
Source Code Documentation
RestClientFrontend Class Reference

Public Member Functions

 RestClientFrontend (const std::vector< std::string > &arguments)
 
bool is_print_and_exit () const noexcept
 
std::string get_version_line () const noexcept
 
std::string get_help () const
 
int run ()
 run app according to commandline optiions. More...
 

Private Member Functions

void prepare_command_options ()
 

Private Attributes

RestClientConfig config_
 
std::string program_name_
 
CmdArgHandler arg_handler_ {true}
 
bool do_print_and_exit_ {false}
 

Constructor & Destructor Documentation

◆ RestClientFrontend()

RestClientFrontend::RestClientFrontend ( const std::vector< std::string > &  arguments)
inline

Member Function Documentation

◆ get_help()

std::string RestClientFrontend::get_help ( ) const
inline

◆ get_version_line()

std::string RestClientFrontend::get_version_line ( ) const
inlinenoexcept

◆ is_print_and_exit()

bool RestClientFrontend::is_print_and_exit ( ) const
inlinenoexcept

◆ prepare_command_options()

void RestClientFrontend::prepare_command_options ( )
inlineprivate

◆ run()

int RestClientFrontend::run ( )

run app according to commandline optiions.

Returns
exit-code
Return values
EXIT_SUCESSsuccess
EXIT_FAILUREon error
Exceptions
FrontendError

Member Data Documentation

◆ arg_handler_

CmdArgHandler RestClientFrontend::arg_handler_ {true}
private

◆ config_

RestClientConfig RestClientFrontend::config_
private

◆ do_print_and_exit_

bool RestClientFrontend::do_print_and_exit_ {false}
private

◆ program_name_

std::string RestClientFrontend::program_name_
private

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