MySQL 9.3.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 ()=default
 
 Name (const Name &)=default
 
 Name (Name &&)=default
 
Nameoperator= (const Name &)=default
 
Nameoperator= (Name &&)=default
 
std::string_view to_string_view () const
 Returns normalized name as std::string_view. More...
 

Private Attributes

std::string m_normalized
 

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()

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

◆ Name() [3/4]

mysql::collation::Name::Name ( const Name )
default

◆ Name() [4/4]

mysql::collation::Name::Name ( Name &&  )
default

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ to_string_view()

std::string_view mysql::collation::Name::to_string_view ( ) const
inline

Returns normalized name as std::string_view.

Member Data Documentation

◆ m_normalized

std::string mysql::collation::Name::m_normalized
private

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