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
QV4::QV4QPointer< T > Struct Template Reference

#include <qv4heap_p.h>

Collaboration diagram for QV4::QV4QPointer< T >:

Public Member Functions

void init ()
void init (T *o)
void destroy ()
T * data () const
 operator T* () const
T * operator-> () const
QV4QPointeroperator= (T *o)
bool isNull () const noexcept
bool isValid () const noexcept

Detailed Description

template<class T>
struct QV4::QV4QPointer< T >

Definition at line 168 of file qv4heap_p.h.

Member Function Documentation

◆ data()

template<class T>
T * QV4::QV4QPointer< T >::data ( ) const
inline

Definition at line 193 of file qv4heap_p.h.

Referenced by QV4::QV4QPointer< QObject >::operator QObject *(), and operator->().

Here is the caller graph for this function:

◆ destroy()

template<class T>
void QV4::QV4QPointer< T >::destroy ( )
inline

Definition at line 185 of file qv4heap_p.h.

Referenced by operator=().

Here is the caller graph for this function:

◆ init() [1/2]

template<class T>
void QV4::QV4QPointer< T >::init ( )
inline

Definition at line 169 of file qv4heap_p.h.

◆ init() [2/2]

template<class T>
void QV4::QV4QPointer< T >::init ( T * o)
inline

Definition at line 175 of file qv4heap_p.h.

◆ isNull()

template<class T>
bool QV4::QV4QPointer< T >::isNull ( ) const
inlinenoexcept

Definition at line 206 of file qv4heap_p.h.

◆ isValid()

template<class T>
bool QV4::QV4QPointer< T >::isValid ( ) const
inlinenoexcept

Definition at line 211 of file qv4heap_p.h.

◆ operator T*()

template<class T>
QV4::QV4QPointer< T >::operator T* ( ) const
inline

Definition at line 196 of file qv4heap_p.h.

◆ operator->()

template<class T>
T * QV4::QV4QPointer< T >::operator-> ( ) const
inline

Definition at line 197 of file qv4heap_p.h.

References data().

Here is the call graph for this function:

◆ operator=()

template<class T>
QV4QPointer & QV4::QV4QPointer< T >::operator= ( T * o)
inline

Definition at line 198 of file qv4heap_p.h.

References destroy().

Here is the call graph for this function:

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