MySQL 9.1.0
Source Code Documentation
mysql::collation::Name Class Reference

Normalizes character set/collation names. More...

#include <collations.h>

Public Member Functions

 Name (const char *name)
 Constructor. More...
 
 Name (const char *name, size_t size)
 Constructor. More...
 
 Name (const Name &)
 Constructor. More...
 
 Name (Name &&) noexcept
 
 ~Name ()
 
Nameoperator= (const Name &)
 
Nameoperator= (Name &&) noexcept
 
std::string operator() () const
 Returns normalized name as std::string. More...
 

Private Attributes

const char * m_normalized {nullptr}
 

Detailed Description

Normalizes character set/collation names.

Constructor & Destructor Documentation

◆ Name() [1/4]

mysql::collation::Name::Name ( const char *  name)
explicit

Constructor.

Note
throws std::bad_alloc

◆ Name() [2/4]

mysql::collation::Name::Name ( const char *  name,
size_t  size 
)

Constructor.

Note
throws std::bad_alloc

◆ Name() [3/4]

mysql::collation::Name::Name ( const Name name)

Constructor.

Note
throws std::bad_alloc

◆ Name() [4/4]

mysql::collation::Name::Name ( Name &&  name)
noexcept

◆ ~Name()

mysql::collation::Name::~Name ( )

Member Function Documentation

◆ operator()()

std::string mysql::collation::Name::operator() ( ) const
inline

Returns normalized name as std::string.

◆ operator=() [1/2]

Name & mysql::collation::Name::operator= ( const Name )

◆ operator=() [2/2]

Name & mysql::collation::Name::operator= ( Name &&  )
noexcept

Member Data Documentation

◆ m_normalized

const char* mysql::collation::Name::m_normalized {nullptr}
private

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