Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QCFType< T > Class Template Reference

#include <qcore_mac_p.h>

Inheritance diagram for QCFType< T >:
Collaboration diagram for QCFType< T >:

Public Member Functions

Q_NODISCARD_CTOR QCFType (CFTypeRef r)
template<typename X>
X as () const
Public Member Functions inherited from QAppleRefCounted< T, CFTypeRef, CFRetain, CFRelease >
Q_NODISCARD_CTOR QAppleRefCounted ()
Q_NODISCARD_CTOR QAppleRefCounted (const T &t)
Q_NODISCARD_CTOR QAppleRefCounted (T &&t) noexcept(std::is_nothrow_move_constructible< T >::value)
Q_NODISCARD_CTOR QAppleRefCounted (QAppleRefCounted &&other) noexcept(std::is_nothrow_move_assignable< T >::value &&std::is_nothrow_move_constructible< T >::value)
Q_NODISCARD_CTOR QAppleRefCounted (const QAppleRefCounted &other)
 ~QAppleRefCounted ()
 operator T () const
void swap (QAppleRefCounted &other) noexcept(noexcept(qSwap(value, other.value)))
QAppleRefCountedoperator= (const QAppleRefCounted &other)
QAppleRefCountedoperator= (QAppleRefCounted &&other) noexcept(std::is_nothrow_move_assignable< T >::value &&std::is_nothrow_move_constructible< T >::value)
T * operator& ()

Static Public Member Functions

static QCFType constructFromGet (const T &t)

Additional Inherited Members

Protected Attributes inherited from QAppleRefCounted< T, CFTypeRef, CFRetain, CFRelease >
value

Detailed Description

template<typename T>
class QCFType< T >

Definition at line 150 of file qcore_mac_p.h.

Constructor & Destructor Documentation

◆ QCFType()

template<typename T>
Q_NODISCARD_CTOR QCFType< T >::QCFType ( CFTypeRef r)
inlineexplicit

Definition at line 155 of file qcore_mac_p.h.

Member Function Documentation

◆ as()

template<typename T>
template<typename X>
X QCFType< T >::as ( ) const
inline

Definition at line 156 of file qcore_mac_p.h.

◆ constructFromGet()

template<typename T>
QCFType QCFType< T >::constructFromGet ( const T & t)
inlinestatic

Definition at line 157 of file qcore_mac_p.h.


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