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::StrongReference Class Reference

#include <btraii_p.h>

Inheritance diagram for DarwinBluetooth::StrongReference:
Collaboration diagram for DarwinBluetooth::StrongReference:

Public Member Functions

 StrongReference ()=default
 StrongReference (void *object, RetainPolicy policy)
 StrongReference (const StrongReference &other)
 StrongReference (StrongReference &&other)
 ~StrongReference ()
StrongReferenceoperator= (const StrongReference &other) noexcept
StrongReferenceoperator= (StrongReference &&other) noexcept
void swap (StrongReference &other) noexcept
voidrelease ()
void reset ()
void reset (void *newInstance, RetainPolicy policy)
template<class ObjCType>
ObjCType * getAs () const
 operator bool () const

Detailed Description

Definition at line 43 of file btraii_p.h.

Constructor & Destructor Documentation

◆ StrongReference() [1/4]

DarwinBluetooth::StrongReference::StrongReference ( )
default

◆ StrongReference() [2/4]

DarwinBluetooth::StrongReference::StrongReference ( void * object,
RetainPolicy policy )

Definition at line 16 of file btraii.mm.

Referenced by DarwinBluetooth::ScopedPointer::ScopedPointer().

Here is the caller graph for this function:

◆ StrongReference() [3/4]

DarwinBluetooth::StrongReference::StrongReference ( const StrongReference & other)

Definition at line 23 of file btraii.mm.

◆ StrongReference() [4/4]

DarwinBluetooth::StrongReference::StrongReference ( StrongReference && other)

Definition at line 29 of file btraii.mm.

◆ ~StrongReference()

DarwinBluetooth::StrongReference::~StrongReference ( )

Definition at line 34 of file btraii.mm.

Member Function Documentation

◆ getAs()

template<class ObjCType>
ObjCType * DarwinBluetooth::StrongReference::getAs ( ) const
inline

Definition at line 67 of file btraii_p.h.

◆ operator bool()

DarwinBluetooth::StrongReference::operator bool ( ) const
inline

Definition at line 72 of file btraii_p.h.

◆ operator=() [1/2]

StrongReference & DarwinBluetooth::StrongReference::operator= ( const StrongReference & other)
noexcept

Definition at line 39 of file btraii.mm.

◆ operator=() [2/2]

StrongReference & DarwinBluetooth::StrongReference::operator= ( StrongReference && other)
noexcept

Definition at line 49 of file btraii.mm.

References swap().

Here is the call graph for this function:

◆ release()

void * DarwinBluetooth::StrongReference::release ( )

Definition at line 56 of file btraii.mm.

◆ reset() [1/2]

void DarwinBluetooth::StrongReference::reset ( )

Definition at line 64 of file btraii.mm.

◆ reset() [2/2]

void DarwinBluetooth::StrongReference::reset ( void * newInstance,
RetainPolicy policy )

Definition at line 70 of file btraii.mm.

◆ swap()

void DarwinBluetooth::StrongReference::swap ( StrongReference & other)
inlinenoexcept

Definition at line 56 of file btraii_p.h.

Referenced by operator=().

Here is the caller graph for this function:

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