MySQL 8.0.40
Source Code Documentation
anonymous_namespace{my_file.cc}::FileInfo Class Reference

Rule of 5 class. More...

Public Member Functions

 FileInfo ()=default
 
 FileInfo (const char *n, file_info::OpenType t)
 
 FileInfo (const FileInfo &)=delete
 
 FileInfo (FileInfo &&src) noexcept
 
 ~FileInfo ()
 
FileInfooperator= (const FileInfo &)=delete
 
FileInfooperator= (FileInfo &&src)
 
void Swap (FileInfo *src) noexcept
 
const char * name () const
 
file_info::OpenType type () const
 

Private Attributes

const char * m_name = nullptr
 
file_info::OpenType m_type = file_info::OpenType::UNOPEN
 

Detailed Description

Constructor & Destructor Documentation

◆ FileInfo() [1/4]

anonymous_namespace{my_file.cc}::FileInfo::FileInfo ( )
default

◆ FileInfo() [2/4]

anonymous_namespace{my_file.cc}::FileInfo::FileInfo ( const char *  n,
file_info::OpenType  t 
)
inline

◆ FileInfo() [3/4]

anonymous_namespace{my_file.cc}::FileInfo::FileInfo ( const FileInfo )
delete

◆ FileInfo() [4/4]

anonymous_namespace{my_file.cc}::FileInfo::FileInfo ( FileInfo &&  src)
inlinenoexcept

◆ ~FileInfo()

anonymous_namespace{my_file.cc}::FileInfo::~FileInfo ( )
inline

Member Function Documentation

◆ name()

const char * anonymous_namespace{my_file.cc}::FileInfo::name ( ) const
inline

◆ operator=() [1/2]

FileInfo & anonymous_namespace{my_file.cc}::FileInfo::operator= ( const FileInfo )
delete

◆ operator=() [2/2]

FileInfo & anonymous_namespace{my_file.cc}::FileInfo::operator= ( FileInfo &&  src)
inline

◆ Swap()

void anonymous_namespace{my_file.cc}::FileInfo::Swap ( FileInfo src)
inlinenoexcept

◆ type()

file_info::OpenType anonymous_namespace{my_file.cc}::FileInfo::type ( ) const
inline

Member Data Documentation

◆ m_name

const char* anonymous_namespace{my_file.cc}::FileInfo::m_name = nullptr
private

◆ m_type

file_info::OpenType anonymous_namespace{my_file.cc}::FileInfo::m_type = file_info::OpenType::UNOPEN
private

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