MySQL 9.1.0
Source Code Documentation
|
Version independent plugin data storage, defines conversion from existing versions and enables writing the data as a JSON text. More...
#include <plugin.h>
Public Member Functions | |
Plugin_info (const Plugin_v1 &plugin) | |
Constructor. More... | |
Static Public Member Functions | |
static std::string | get_abi_version_str (uint32_t ver) |
converts ABI version integer to string representation More... | |
static std::string | get_plugin_version_str (uint32_t ver) |
converts plugin version integer to string representation More... | |
Private Member Functions | |
void | print_as_json (std::ostream &out_stream) const |
Static Private Member Functions | |
static void | copy_to_list (std::list< std::string > &out_list, const char **in_list, size_t in_list_size) |
Private Attributes | |
uint32_t | abi_version |
std::string | arch_descriptor |
std::string | brief |
uint32_t | plugin_version |
std::list< std::string > | requires_plugins |
std::list< std::string > | conflicts |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const Plugin_info &plugin_info) |
prints the JSON representation of the Plugin_info object to the selected output stream More... | |
Version independent plugin data storage, defines conversion from existing versions and enables writing the data as a JSON text.
Application class, enables testing of the application through the selecting input parameters and regular and error outputs.
|
explicit |
Constructor.
plugin | constructor from v1 of Plugin struct |
|
staticprivate |
|
static |
converts ABI version integer to string representation
ver | integer representation to convert |
|
static |
converts plugin version integer to string representation
ver | integer representation to convert |
|
private |
|
friend |
prints the JSON representation of the Plugin_info object to the selected output stream
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |