MySQL 8.4.2
Source Code Documentation
Gms_listener_test_parameters Class Reference

#include <gms_listener_test.h>

Inheritance diagram for Gms_listener_test_parameters:
[legend]

Public Member Functions

 Gms_listener_test_parameters (const std::string &message)
 Gms_listener_test_parameters constructor. More...
 
virtual ~Gms_listener_test_parameters ()
 
int get_error ()
 Get value for class private member error. More...
 
void set_error (int error)
 Set value for class private member error. More...
 
const std::string & get_message ()
 Get message to add to the table. More...
 
- Public Member Functions inherited from Mysql_thread_body_parameters
void * operator new (size_t size, const std::nothrow_t &) noexcept
 
void operator delete (void *ptr, const std::nothrow_t &) noexcept
 
void * operator new (size_t size) noexcept
 Allocate memory on the heap with instrumented memory allocation, so that memory consumption can be tracked. More...
 
void operator delete (void *ptr) noexcept
 Deallocate memory on the heap with instrumented memory allocation, so that memory consumption can be tracked. More...
 
 Mysql_thread_body_parameters ()
 
virtual ~Mysql_thread_body_parameters ()
 

Private Attributes

const std::string m_message {""}
 
int m_error {1}
 

Constructor & Destructor Documentation

◆ Gms_listener_test_parameters()

Gms_listener_test_parameters::Gms_listener_test_parameters ( const std::string &  message)
inline

Gms_listener_test_parameters constructor.

Parameters
[in]messageMessage to add to the table

◆ ~Gms_listener_test_parameters()

virtual Gms_listener_test_parameters::~Gms_listener_test_parameters ( )
inlinevirtual

Member Function Documentation

◆ get_error()

int Gms_listener_test_parameters::get_error ( )

Get value for class private member error.

Returns
the error value returned
Return values
0OK
!=0Error

◆ get_message()

const std::string & Gms_listener_test_parameters::get_message ( )

Get message to add to the table.

Returns
the message

◆ set_error()

void Gms_listener_test_parameters::set_error ( int  error)

Set value for class private member error.

Parameters
[in]errorSet value of error

Member Data Documentation

◆ m_error

int Gms_listener_test_parameters::m_error {1}
private

◆ m_message

const std::string Gms_listener_test_parameters::m_message {""}
private

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