|
| Program () |
|
| ~Program () override |
|
std::string | get_version () override |
| Returns string describing current version of this program. More...
|
|
int | get_first_release_year () override |
| Returns year of first release of this program. More...
|
|
std::string | get_description () override |
| Returns string describing shortly current program. More...
|
|
int | execute (const std::vector< std::string > &positional_options) override |
| Runs main program code. More...
|
|
void | create_options () override |
| Creates all options that will be provided. More...
|
|
void | error (const Mysql::Tools::Base::Message_data &message) override |
| Handles general errors. More...
|
|
void | short_usage () override |
| Prints program invocation message. More...
|
|
void | check_mutually_exclusive_options () |
|
int | get_total_connections () |
|
int | get_error_code () override |
| Return error code. More...
|
|
MYSQL * | create_connection () override |
| Provides new connection to MySQL database server based on option values. More...
|
|
CHARSET_INFO * | get_current_charset () const |
| Retrieves charset that will be used in new MySQL connections. More...
|
|
void | set_current_charset (CHARSET_INFO *charset) |
| Sets charset that will be used in new MySQL connections. More...
|
|
| ~Abstract_program () override |
|
const std::string | get_name () |
| Returns null-terminated string with name of current program. More...
|
|
my_option * | get_options_array () |
| Returns pointer to array of options for usage in handle_options. More...
|
|
void | run (int argc, char **argv) |
| Does all initialization and exit work, calls execute(). More...
|
|
void | add_providers (I_options_provider *first,...) |
| Adds new providers to list. More...
|
|
void | add_provider (I_options_provider *options_provider) |
| Adds new provider to list. More...
|
|
void | options_parsed () override |
| This callback is to be called after all options were parsed. More...
|
|
std::vector< my_option > | generate_options () override |
| Aggregates all options from itsself and all contained providers. More...
|
|
Simple_option * | create_new_option (std::string name, std::string description) |
| Creates and attach new simple option. More...
|
|
Disabled_option * | create_new_disabled_option (std::string name, std::string description) |
| Creates and attach new disabled option. More...
|
|
Char_array_option * | create_new_option (char **value, std::string name, std::string description) |
| Creates and attach new string option stored in char* type object. More...
|
|
Password_option * | create_new_password_option (std::optional< std::string > *value, std::string name, std::string description) |
| Creates and attach new password option. More...
|
|
String_option * | create_new_option (std::optional< std::string > *value, std::string name, std::string description) |
| Creates and attach new string option. More...
|
|
Number_option< int32 > * | create_new_option (int32 *value, std::string name, std::string description) |
| Creates and attach new 32-bit signed number option. More...
|
|
Number_option< uint32 > * | create_new_option (uint32 *value, std::string name, std::string description) |
| Creates and attach new 32-bit unsigned number option. More...
|
|
Number_option< int64 > * | create_new_option (int64 *value, std::string name, std::string description) |
| Creates and attach new 64-bit signed number option. More...
|
|
Number_option< uint64 > * | create_new_option (uint64 *value, std::string name, std::string description) |
| Creates and attach new 64-bit unsigned number option. More...
|
|
Number_option< double > * | create_new_option (double *value, std::string name, std::string description) |
| Creates and attach new floating-point number option. More...
|
|
Bool_option * | create_new_option (bool *value, std::string name, std::string description) |
| Creates and attach new boolean option with value received from argument. More...
|
|
template<typename T_type , typename T_typelib > |
Enum_option< T_type, T_typelib > * | create_new_enum_option (T_type *value, const T_typelib *type, std::string name, std::string description) |
|
virtual | ~I_option_changed_listener ()=default |
|
virtual | ~I_connection_factory ()=default |
|