MySQL 26.10.0
Source Code Documentation
mysql_harness::ApplicationTypeManager Class Reference

#include <application_type_manager.h>

Public Member Functions

void set (std::string_view type)
 
const std::string & get () const
 
void reset ()
 

Static Public Member Functions

static ApplicationTypeManager & instance ()
 Returns the singleton instance of the manager. More...
 

Private Member Functions

 ApplicationTypeManager ()=default
 
 ~ApplicationTypeManager ()=default
 
 ApplicationTypeManager (const ApplicationTypeManager &)=delete
 
ApplicationTypeManager & operator= (const ApplicationTypeManager &)=delete
 
 ApplicationTypeManager (ApplicationTypeManager &&)=delete
 
ApplicationTypeManager & operator= (ApplicationTypeManager &&)=delete
 

Private Attributes

std::optional< std::string > m_app_type
 

Constructor & Destructor Documentation

◆ ApplicationTypeManager() [1/3]

mysql_harness::ApplicationTypeManager::ApplicationTypeManager ( )
privatedefault

◆ ~ApplicationTypeManager()

mysql_harness::ApplicationTypeManager::~ApplicationTypeManager ( )
privatedefault

◆ ApplicationTypeManager() [2/3]

mysql_harness::ApplicationTypeManager::ApplicationTypeManager ( const ApplicationTypeManager &  )
privatedelete

◆ ApplicationTypeManager() [3/3]

mysql_harness::ApplicationTypeManager::ApplicationTypeManager ( ApplicationTypeManager &&  )
privatedelete

Member Function Documentation

◆ get()

const std::string & mysql_harness::ApplicationTypeManager::get ( ) const

◆ instance()

ApplicationTypeManager & mysql_harness::ApplicationTypeManager::instance ( )
static

Returns the singleton instance of the manager.

◆ operator=() [1/2]

ApplicationTypeManager & mysql_harness::ApplicationTypeManager::operator= ( ApplicationTypeManager &&  )
privatedelete

◆ operator=() [2/2]

ApplicationTypeManager & mysql_harness::ApplicationTypeManager::operator= ( const ApplicationTypeManager &  )
privatedelete

◆ reset()

void mysql_harness::ApplicationTypeManager::reset ( )

◆ set()

void mysql_harness::ApplicationTypeManager::set ( std::string_view  type)

Member Data Documentation

◆ m_app_type

std::optional<std::string> mysql_harness::ApplicationTypeManager::m_app_type
private

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