QtBase  v6.3.1
Public Member Functions | Friends | List of all members
QtPrivate::QExplicitlySharedDataPointerV2< T > Class Template Reference

#include <qshareddata_impl.h>

Public Member Functions

constexpr QExplicitlySharedDataPointerV2 () noexcept
 
 QExplicitlySharedDataPointerV2 (T *t) noexcept
 
 QExplicitlySharedDataPointerV2 (T *t, QAdoptSharedDataTag) noexcept
 
 QExplicitlySharedDataPointerV2 (const QExplicitlySharedDataPointerV2 &other) noexcept
 
QExplicitlySharedDataPointerV2operator= (const QExplicitlySharedDataPointerV2 &other) noexcept
 
 QExplicitlySharedDataPointerV2 (QExplicitlySharedDataPointerV2 &&other) noexcept
 
QExplicitlySharedDataPointerV2operator= (QExplicitlySharedDataPointerV2 &&other) noexcept
 
 ~QExplicitlySharedDataPointerV2 ()
 
void detach ()
 
void reset (T *t=nullptr) noexcept
 
constexpr Ttake () noexcept
 
bool isShared () const noexcept
 
constexpr void swap (QExplicitlySharedDataPointerV2 &other) noexcept
 
constexpr Toperator* ()
 
constexpr Toperator-> ()
 
constexpr const Toperator* () const
 
constexpr const Toperator-> () const
 
constexpr Tdata () noexcept
 
constexpr const Tdata () const noexcept
 
constexpr operator bool () const noexcept
 

Friends

constexpr friend bool operator== (const QExplicitlySharedDataPointerV2 &lhs, const QExplicitlySharedDataPointerV2 &rhs) noexcept
 
constexpr friend bool operator!= (const QExplicitlySharedDataPointerV2 &lhs, const QExplicitlySharedDataPointerV2 &rhs) noexcept
 

Detailed Description

template<typename T>
class QtPrivate::QExplicitlySharedDataPointerV2< T >

Definition at line 56 of file qshareddata_impl.h.

Constructor & Destructor Documentation

◆ QExplicitlySharedDataPointerV2() [1/5]

template<typename T >
constexpr QtPrivate::QExplicitlySharedDataPointerV2< T >::QExplicitlySharedDataPointerV2 ( )
inlineconstexprnoexcept

Definition at line 61 of file qshareddata_impl.h.

◆ QExplicitlySharedDataPointerV2() [2/5]

template<typename T >
QtPrivate::QExplicitlySharedDataPointerV2< T >::QExplicitlySharedDataPointerV2 ( T t)
inlineexplicitnoexcept

Definition at line 63 of file qshareddata_impl.h.

◆ QExplicitlySharedDataPointerV2() [3/5]

template<typename T >
QtPrivate::QExplicitlySharedDataPointerV2< T >::QExplicitlySharedDataPointerV2 ( T t,
QAdoptSharedDataTag   
)
inlinenoexcept

Definition at line 70 of file qshareddata_impl.h.

◆ QExplicitlySharedDataPointerV2() [4/5]

Definition at line 75 of file qshareddata_impl.h.

◆ QExplicitlySharedDataPointerV2() [5/5]

Definition at line 89 of file qshareddata_impl.h.

◆ ~QExplicitlySharedDataPointerV2()

Definition at line 101 of file qshareddata_impl.h.

Member Function Documentation

◆ data() [1/2]

template<typename T >
constexpr const T* QtPrivate::QExplicitlySharedDataPointerV2< T >::data ( ) const
inlineconstexprnoexcept

Definition at line 151 of file qshareddata_impl.h.

Here is the caller graph for this function:

◆ data() [2/2]

template<typename T >
constexpr T* QtPrivate::QExplicitlySharedDataPointerV2< T >::data ( )
inlineconstexprnoexcept

Definition at line 150 of file qshareddata_impl.h.

Here is the caller graph for this function:

◆ detach()

template<typename T >
void QtPrivate::QExplicitlySharedDataPointerV2< T >::detach ( )
inline

Definition at line 107 of file qshareddata_impl.h.

◆ isShared()

template<typename T >
bool QtPrivate::QExplicitlySharedDataPointerV2< T >::isShared ( ) const
inlinenoexcept

Definition at line 134 of file qshareddata_impl.h.

◆ operator bool()

template<typename T >
constexpr QtPrivate::QExplicitlySharedDataPointerV2< T >::operator bool ( ) const
inlineexplicitconstexprnoexcept

Definition at line 153 of file qshareddata_impl.h.

◆ operator*() [1/2]

template<typename T >
constexpr T& QtPrivate::QExplicitlySharedDataPointerV2< T >::operator* ( )
inlineconstexpr

Definition at line 145 of file qshareddata_impl.h.

◆ operator*() [2/2]

template<typename T >
constexpr const T& QtPrivate::QExplicitlySharedDataPointerV2< T >::operator* ( ) const
inlineconstexpr

Definition at line 147 of file qshareddata_impl.h.

◆ operator->() [1/2]

template<typename T >
constexpr T* QtPrivate::QExplicitlySharedDataPointerV2< T >::operator-> ( )
inlineconstexpr

Definition at line 146 of file qshareddata_impl.h.

◆ operator->() [2/2]

template<typename T >
constexpr const T* QtPrivate::QExplicitlySharedDataPointerV2< T >::operator-> ( ) const
inlineconstexpr

Definition at line 148 of file qshareddata_impl.h.

◆ operator=() [1/2]

template<typename T >
QExplicitlySharedDataPointerV2& QtPrivate::QExplicitlySharedDataPointerV2< T >::operator= ( const QExplicitlySharedDataPointerV2< T > &  other)
inlinenoexcept

Definition at line 82 of file qshareddata_impl.h.

◆ operator=() [2/2]

template<typename T >
QExplicitlySharedDataPointerV2& QtPrivate::QExplicitlySharedDataPointerV2< T >::operator= ( QExplicitlySharedDataPointerV2< T > &&  other)
inlinenoexcept

Definition at line 94 of file qshareddata_impl.h.

Here is the call graph for this function:

◆ reset()

template<typename T >
void QtPrivate::QExplicitlySharedDataPointerV2< T >::reset ( T t = nullptr)
inlinenoexcept

Definition at line 120 of file qshareddata_impl.h.

◆ swap()

template<typename T >
constexpr void QtPrivate::QExplicitlySharedDataPointerV2< T >::swap ( QExplicitlySharedDataPointerV2< T > &  other)
inlineconstexprnoexcept

Definition at line 139 of file qshareddata_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ take()

template<typename T >
constexpr T* QtPrivate::QExplicitlySharedDataPointerV2< T >::take ( )
inlineconstexprnoexcept

Definition at line 129 of file qshareddata_impl.h.

Friends And Related Function Documentation

◆ operator!=

template<typename T >
constexpr friend bool operator!= ( const QExplicitlySharedDataPointerV2< T > &  lhs,
const QExplicitlySharedDataPointerV2< T > &  rhs 
)
friend

Definition at line 161 of file qshareddata_impl.h.

◆ operator==

template<typename T >
constexpr friend bool operator== ( const QExplicitlySharedDataPointerV2< T > &  lhs,
const QExplicitlySharedDataPointerV2< T > &  rhs 
)
friend

Definition at line 155 of file qshareddata_impl.h.


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