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
DarwinBluetooth::ObjCScopedPointer< T > Class Template Reference

#include <btutility_p.h>

Collaboration diagram for DarwinBluetooth::ObjCScopedPointer< T >:

Public Member Functions

 ObjCScopedPointer ()=default
 ObjCScopedPointer (T *ptr, RetainPolicy policy)
void swap (ObjCScopedPointer &other)
void reset ()
void reset (T *ptr, RetainPolicy policy)
 operator T* () const
T * get () const

Detailed Description

template<class T>
class DarwinBluetooth::ObjCScopedPointer< T >

Definition at line 43 of file btutility_p.h.

Constructor & Destructor Documentation

◆ ObjCScopedPointer() [1/2]

template<class T>
DarwinBluetooth::ObjCScopedPointer< T >::ObjCScopedPointer ( )
default

◆ ObjCScopedPointer() [2/2]

template<class T>
DarwinBluetooth::ObjCScopedPointer< T >::ObjCScopedPointer ( T * ptr,
RetainPolicy policy )
inline

Definition at line 47 of file btutility_p.h.

Referenced by DarwinBluetooth::ObjCScopedPointer< IOBluetoothHostController >::ObjCScopedPointer.

Here is the caller graph for this function:

Member Function Documentation

◆ get()

template<class T>
T * DarwinBluetooth::ObjCScopedPointer< T >::get ( ) const
inline

Definition at line 67 of file btutility_p.h.

◆ operator T*()

template<class T>
DarwinBluetooth::ObjCScopedPointer< T >::operator T* ( ) const
inline

Definition at line 63 of file btutility_p.h.

◆ reset() [1/2]

template<class T>
void DarwinBluetooth::ObjCScopedPointer< T >::reset ( )
inline

Definition at line 55 of file btutility_p.h.

◆ reset() [2/2]

template<class T>
void DarwinBluetooth::ObjCScopedPointer< T >::reset ( T * ptr,
RetainPolicy policy )
inline

Definition at line 59 of file btutility_p.h.

◆ swap()

template<class T>
void DarwinBluetooth::ObjCScopedPointer< T >::swap ( ObjCScopedPointer< T > & other)
inline

Definition at line 51 of file btutility_p.h.


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