Qt 6.x
The Qt SDK
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.

Member Function Documentation

◆ get()

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

Definition at line 67 of file btutility_p.h.

References DarwinBluetooth::StrongReference::getAs().

+ Here is the call graph for this function:

◆ 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.

References DarwinBluetooth::StrongReference::reset().

+ Here is the call graph for this function:

◆ 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.

References policy, ptr(), and DarwinBluetooth::StrongReference::reset().

+ Here is the call graph for this function:

◆ swap()

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

Definition at line 51 of file btutility_p.h.

References other(), and DarwinBluetooth::StrongReference::swap().

+ Here is the call graph for this function:

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