MySQL 8.0.39
Source Code Documentation
|
Wraps st_mysql_component_t component data conforming ABI into C++ object. More...
#include <mysql_component_imp.h>
Public Member Functions | |
mysql_component (mysql_component_t *component_data, my_string urn) | |
const char * | name_c_str () const |
Gets name of this component. More... | |
const char * | urn_c_str () const |
Gets original URN used to load this component. More... | |
const my_string & | get_urn () const |
Gets original URN used to load this component. More... | |
std::vector< const mysql_service_ref_t * > | get_provided_services () const |
Gets list of all service implementations provided by this component. More... | |
std::vector< mysql_service_placeholder_ref_t * > | get_required_services () const |
Gets list of services required by this component to work. More... | |
const mysql_component_t * | get_data () const |
Gets underlying component data structure. More... | |
Public Member Functions inherited from my_metadata | |
my_metadata () | |
my_metadata (my_metadata &other) | |
bool | set_value (const char *name, const char *value) |
Sets a value for the name specified. More... | |
bool | get_value (const char *name, const char **value) |
Gets value for the name specified. More... | |
const_iterator | create_iterator () |
Creates an iterator over the metadata. More... | |
Private Attributes | |
mysql_component_t * | m_component_data |
my_string | m_urn |
Additional Inherited Members | |
Static Public Member Functions inherited from my_metadata | |
static bool | release_iterator (const_iterator *iter) |
Frees an iterator over the metadata. More... | |
Protected Attributes inherited from my_metadata | |
my_unordered_string_to_string_map | data |
Wraps st_mysql_component_t component data conforming ABI into C++ object.
mysql_component::mysql_component | ( | mysql_component_t * | component_data, |
my_string | urn | ||
) |
const mysql_component_t * mysql_component::get_data | ( | ) | const |
Gets underlying component data structure.
std::vector< const mysql_service_ref_t * > mysql_component::get_provided_services | ( | ) | const |
Gets list of all service implementations provided by this component.
std::vector< mysql_service_placeholder_ref_t * > mysql_component::get_required_services | ( | ) | const |
Gets list of services required by this component to work.
const my_string & mysql_component::get_urn | ( | ) | const |
Gets original URN used to load this component.
const char * mysql_component::name_c_str | ( | ) | const |
Gets name of this component.
const char * mysql_component::urn_c_str | ( | ) | const |
Gets original URN used to load this component.
|
private |
|
private |