MySQL 9.2.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
My_registry_query_string Class Reference

A registry query convenience class. More...

#include <my_registry_query.h>

Inheritance diagram for My_registry_query_string:
[legend]

Public Member Functions

bool init ()
 
 My_registry_query_string (const char *service_name, const mysql_service_registry_t *reg, const mysql_service_registry_query_t *reg_query=nullptr)
 
 My_registry_query_string (const My_registry_query_string &other)=delete
 
 My_registry_query_string (My_registry_query_string &&other)=delete
 
 ~My_registry_query_string ()
 

Private Attributes

const std::string m_service_name
 
const mysql_service_registry_tm_registry
 
const mysql_service_registry_query_tm_registry_query
 
my_h_service m_reg_query_handle {nullptr}
 

Detailed Description

A registry query convenience class.

Uses the registry query service to produce an unique set of service names that match the pattern supplied.

Typical use is:

My_registry_query_string string_list("foo", h_registry);
if (string_list.init()) error_out();
for (auto name : string_list) {
<do stuff with names>
}
A registry query convenience class.
Definition: my_registry_query.h:53
case opt name
Definition: sslopt-case.h:29
See also
My_registry_query_and_acquire

Constructor & Destructor Documentation

◆ My_registry_query_string() [1/3]

My_registry_query_string::My_registry_query_string ( const char *  service_name,
const mysql_service_registry_t reg,
const mysql_service_registry_query_t reg_query = nullptr 
)
inline

◆ My_registry_query_string() [2/3]

My_registry_query_string::My_registry_query_string ( const My_registry_query_string other)
delete

◆ My_registry_query_string() [3/3]

My_registry_query_string::My_registry_query_string ( My_registry_query_string &&  other)
delete

◆ ~My_registry_query_string()

My_registry_query_string::~My_registry_query_string ( )
inline

Member Function Documentation

◆ init()

bool My_registry_query_string::init ( )
inline

Member Data Documentation

◆ m_reg_query_handle

my_h_service My_registry_query_string::m_reg_query_handle {nullptr}
private

◆ m_registry

const mysql_service_registry_t* My_registry_query_string::m_registry
private

◆ m_registry_query

const mysql_service_registry_query_t* My_registry_query_string::m_registry_query
private

◆ m_service_name

const std::string My_registry_query_string::m_service_name
private

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