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
QV4::WriteBarrier::HeapObjectWrapperCommon< HeapType > Struct Template Reference

#include <qv4writebarrier_p.h>

+ Inheritance diagram for QV4::WriteBarrier::HeapObjectWrapperCommon< HeapType >:
+ Collaboration diagram for QV4::WriteBarrier::HeapObjectWrapperCommon< HeapType >:

Public Member Functions

HeapType * get () const
 
 operator HeapType * () const
 
HeapType * operator-> () const
 
template<typename ConvertibleToHeapType >
void set (QV4::EngineBase *engine, ConvertibleToHeapType *heapObject)
 
- Public Member Functions inherited from QV4::WriteBarrier::HeapObjectWrapperBase
void clear ()
 

Additional Inherited Members

- Public Types inherited from QV4::WriteBarrier::HeapObjectWrapperBase
enum class  PointerWrapper : quintptr
 
- Public Attributes inherited from QV4::WriteBarrier::HeapObjectWrapperBase
PointerWrapper wrapped
 

Detailed Description

template<typename HeapType>
struct QV4::WriteBarrier::HeapObjectWrapperCommon< HeapType >

Definition at line 71 of file qv4writebarrier_p.h.

Member Function Documentation

◆ get()

template<typename HeapType >
HeapType * QV4::WriteBarrier::HeapObjectWrapperCommon< HeapType >::get ( ) const
inline

Definition at line 73 of file qv4writebarrier_p.h.

References QV4::WriteBarrier::HeapObjectWrapperBase::wrapped.

Referenced by QV4::WriteBarrier::HeapObjectWrapperCommon< Heap::Object >::operator Heap::Object *(), and QV4::WriteBarrier::HeapObjectWrapperCommon< HeapType >::operator->().

+ Here is the caller graph for this function:

◆ operator HeapType *()

template<typename HeapType >
QV4::WriteBarrier::HeapObjectWrapperCommon< HeapType >::operator HeapType * ( ) const
inline

Definition at line 74 of file qv4writebarrier_p.h.

◆ operator->()

template<typename HeapType >
HeapType * QV4::WriteBarrier::HeapObjectWrapperCommon< HeapType >::operator-> ( ) const
inline

Definition at line 75 of file qv4writebarrier_p.h.

References QV4::WriteBarrier::HeapObjectWrapperCommon< HeapType >::get().

+ Here is the call graph for this function:

◆ set()

template<typename HeapType >
template<typename ConvertibleToHeapType >
void QV4::WriteBarrier::HeapObjectWrapperCommon< HeapType >::set ( QV4::EngineBase * engine,
ConvertibleToHeapType * heapObject )
inline

Definition at line 78 of file qv4writebarrier_p.h.

References engine, QV4::WriteBarrier::markCustom(), and QV4::WriteBarrier::HeapObjectWrapperBase::wrapped.

+ Here is the call graph for this function:

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