TTKMusicPlayer
4.2.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the optional module. More...
#include <ttkoptional.h>
Public Member Functions | |
TTKOptional () | |
TTKOptional (const TTKOptional< T > &other, typename std::enable_if< std::is_copy_constructible< T >::value, int >::type=0) | |
TTKOptional (const T &other) | |
TTKOptional (TTKOptional &&other) | |
TTKOptional & | operator= (TTKOptional &&other) |
void | operator= (const TTKOptional< T > &other) |
bool | operator< (const TTKOptional< T > &other) const |
bool | operator<= (const TTKOptional< T > &other) const |
bool | operator> (const TTKOptional< T > &other) const |
bool | operator>= (const TTKOptional< T > &other) const |
template<typename... Args> | |
void | emplace (Args &&...args) |
void | reset () |
bool | has_value () const |
const T & | value () const |
operator bool () const | |
T * | operator-> () |
const T * | operator-> () const |
const T & | operator* () const |
T & | operator* () |
bool | operator== (const TTKOptional &other) const |
bool | operator!= (const TTKOptional &other) const |
Static Public Member Functions | |
template<typename... Args> | |
static TTKOptional< T > | make_optional (Args &&...args) |
Private Attributes | |
std::unique_ptr< T > | m_value |
The class of the optional module.
Definition at line 28 of file ttkoptional.h.
|
inline |
Definition at line 30 of file ttkoptional.h.
|
inline |
Definition at line 44 of file ttkoptional.h.
References TTKOptional< T >::m_value.
|
inline |
Definition at line 53 of file ttkoptional.h.
|
inline |
Definition at line 59 of file ttkoptional.h.
References TTKOptional< T >::m_value.
|
inline |
Definition at line 103 of file ttkoptional.h.
References TTKOptional< T >::m_value.
Referenced by TTKOptional< T >::make_optional().
|
inline |
Definition at line 109 of file ttkoptional.h.
References TTKOptional< T >::m_value.
Referenced by operator==().
|
inlinestatic |
Definition at line 37 of file ttkoptional.h.
References TTKOptional< T >::emplace().
|
inline |
Definition at line 112 of file ttkoptional.h.
References TTKOptional< T >::m_value.
|
inline |
Definition at line 136 of file ttkoptional.h.
References TTKOptional< T >::operator==().
|
inline |
Definition at line 116 of file ttkoptional.h.
References TTKOptional< T >::m_value.
|
inline |
Definition at line 121 of file ttkoptional.h.
References TTKOptional< T >::m_value.
|
inline |
Definition at line 113 of file ttkoptional.h.
References TTKOptional< T >::m_value.
|
inline |
Definition at line 114 of file ttkoptional.h.
References TTKOptional< T >::m_value.
|
inline |
Definition at line 82 of file ttkoptional.h.
References TTKOptional< T >::m_value.
|
inline |
Definition at line 87 of file ttkoptional.h.
References TTKOptional< T >::m_value.
|
inline |
Definition at line 64 of file ttkoptional.h.
References TTKOptional< T >::m_value.
|
inline |
Definition at line 70 of file ttkoptional.h.
References TTKOptional< T >::m_value.
|
inline |
Definition at line 126 of file ttkoptional.h.
References TTKOptional< T >::m_value.
Referenced by TTKOptional< T >::operator!=().
|
inline |
Definition at line 92 of file ttkoptional.h.
References TTKOptional< T >::m_value.
|
inline |
Definition at line 97 of file ttkoptional.h.
References TTKOptional< T >::m_value.
|
inline |
Definition at line 108 of file ttkoptional.h.
References TTKOptional< T >::m_value.
|
inline |
Definition at line 110 of file ttkoptional.h.
References TTKOptional< T >::m_value.
|
private |
Definition at line 139 of file ttkoptional.h.
Referenced by TTKOptional< T >::emplace(), TTKOptional< T >::has_value(), TTKOptional< T >::operator bool(), TTKOptional< T >::operator*(), TTKOptional< T >::operator->(), TTKOptional< T >::operator<(), TTKOptional< T >::operator<=(), TTKOptional< T >::operator=(), TTKOptional< T >::operator==(), TTKOptional< T >::operator>(), TTKOptional< T >::operator>=(), TTKOptional< T >::reset(), TTKOptional< T >::TTKOptional(), and TTKOptional< T >::value().