Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QDirectFBPointer< T > Class Template Reference

#include <qdirectfbconvenience.h>

+ Inheritance diagram for QDirectFBPointer< T >:
+ Collaboration diagram for QDirectFBPointer< T >:

Public Member Functions

Q_NODISCARD_CTOR QDirectFBPointer (T *t=nullptr)
 
T ** outPtr ()
 
- Public Member Functions inherited from QScopedPointer< T, QDirectFBInterfaceCleanupHandler< T > >
Q_NODISCARD_CTOR QScopedPointer (T *p=nullptr) noexcept
 Constructs this QScopedPointer instance and sets its pointer to p.
 
 ~QScopedPointer ()
 Destroys this QScopedPointer object.
 
T & operator* () const
 Provides access to the scoped pointer's object.
 
T * operator-> () const noexcept
 Provides access to the scoped pointer's object.
 
bool operator! () const noexcept
 Returns true if this object refers to \nullptr.
 
 operator bool () const
 Returns true if the contained pointer is not \nullptr.
 
T * data () const noexcept
 Returns the value of the pointer referenced by this object.
 
T * get () const noexcept
 
bool isNull () const noexcept
 Returns true if this object refers to \nullptr.
 
void reset (T *other=nullptr) noexcept(noexcept(Cleanup::cleanup(std::declval< T * >())))
 Deletes the existing object it is pointing to (if any), and sets its pointer to other.
 

Additional Inherited Members

- Public Types inherited from QScopedPointer< T, QDirectFBInterfaceCleanupHandler< T > >
typedef T * pointer
 
- Protected Attributes inherited from QScopedPointer< T, QDirectFBInterfaceCleanupHandler< T > >
T * d
 

Detailed Description

template<typename T>
class QDirectFBPointer< T >

Definition at line 62 of file qdirectfbconvenience.h.

Constructor & Destructor Documentation

◆ QDirectFBPointer()

template<typename T >
Q_NODISCARD_CTOR QDirectFBPointer< T >::QDirectFBPointer ( T * t = nullptr)
inline

Definition at line 65 of file qdirectfbconvenience.h.

Member Function Documentation

◆ outPtr()

template<typename T >
T ** QDirectFBPointer< T >::outPtr ( )
inline

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