![]() |
Qt 6.x
The Qt SDK
|
#include <qglobalstatic.h>
Public Types | |
using | Type = typename Holder::Type |
Public Member Functions | |
bool | isDestroyed () const noexcept |
bool | exists () const noexcept |
operator Type * () | |
Type * | operator() () |
Type * | operator-> () |
Type & | operator* () |
Static Protected Member Functions | |
static Type * | instance () noexcept(Holder::ConstructionIsNoexcept) |
static QtGlobalStatic::GuardValues | guardValue () noexcept |
Definition at line 56 of file qglobalstatic.h.
using QGlobalStatic< Holder >::Type = typename Holder::Type |
Definition at line 58 of file qglobalstatic.h.
|
inlinenoexcept |
Definition at line 61 of file qglobalstatic.h.
References QGlobalStatic< Holder >::guardValue(), and QtGlobalStatic::Initialized.
|
inlinestaticprotectednoexcept |
Definition at line 93 of file qglobalstatic.h.
Referenced by QGlobalStatic< Holder >::exists(), and QGlobalStatic< Holder >::isDestroyed().
|
inlinestaticprotectednoexcept |
Definition at line 88 of file qglobalstatic.h.
Referenced by QGlobalStatic< Holder >::operator Type *(), QGlobalStatic< Holder >::operator()(), QGlobalStatic< Holder >::operator*(), and QGlobalStatic< Holder >::operator->().
|
inlinenoexcept |
Definition at line 60 of file qglobalstatic.h.
References QtGlobalStatic::Destroyed, and QGlobalStatic< Holder >::guardValue().
Referenced by QGlobalStatic< Holder >::operator Type *(), QGlobalStatic< Holder >::operator()(), QGlobalStatic< Holder >::operator*(), and QGlobalStatic< Holder >::operator->().
|
inline |
Definition at line 62 of file qglobalstatic.h.
References QGlobalStatic< Holder >::instance(), and QGlobalStatic< Holder >::isDestroyed().
|
inline |
Definition at line 68 of file qglobalstatic.h.
References QGlobalStatic< Holder >::instance(), and QGlobalStatic< Holder >::isDestroyed().
|
inline |
Definition at line 80 of file qglobalstatic.h.
References QGlobalStatic< Holder >::instance(), QGlobalStatic< Holder >::isDestroyed(), and Q_ASSERT_X.
|
inline |
Definition at line 74 of file qglobalstatic.h.
References QGlobalStatic< Holder >::instance(), QGlobalStatic< Holder >::isDestroyed(), and Q_ASSERT_X.