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::Heap::Pointer< T, o > Struct Template Reference

#include <qv4heap_p.h>

+ Collaboration diagram for QV4::Heap::Pointer< T, o >:

Public Member Functions

operator-> () const
 
 operator T () const
 
Basebase ()
 
void set (EngineBase *e, T newVal)
 
get () const
 
template<typename Type >
Typecast ()
 
BaseheapObject () const
 

Static Public Attributes

static constexpr size_t offset = o
 

Detailed Description

template<typename T, size_t o>
struct QV4::Heap::Pointer< T, o >

Definition at line 34 of file qv4heap_p.h.

Member Function Documentation

◆ base()

template<typename T , size_t o>
Base * QV4::Heap::Pointer< T, o >::base ( )

Definition at line 154 of file qv4heap_p.h.

References base, and Q_ASSERT.

Referenced by QV4::Heap::Pointer< T, o >::set().

+ Here is the caller graph for this function:

◆ cast()

template<typename T , size_t o>
template<typename Type >
Type * QV4::Heap::Pointer< T, o >::cast ( )
inline

Definition at line 48 of file qv4heap_p.h.

◆ get()

template<typename T , size_t o>
T QV4::Heap::Pointer< T, o >::get ( ) const
inline

Definition at line 45 of file qv4heap_p.h.

Referenced by QV4::Heap::Pointer< QV4::Heap::InternalClass *, 0 >::operator QV4::Heap::InternalClass *(), and QV4::Heap::Pointer< T, o >::operator->().

+ Here is the caller graph for this function:

◆ heapObject()

template<typename T , size_t o>
Base * QV4::Heap::Pointer< T, o >::heapObject ( ) const
inline

Definition at line 50 of file qv4heap_p.h.

◆ operator T()

template<typename T , size_t o>
QV4::Heap::Pointer< T, o >::operator T ( ) const
inline

Definition at line 37 of file qv4heap_p.h.

◆ operator->()

template<typename T , size_t o>
T QV4::Heap::Pointer< T, o >::operator-> ( ) const
inline

Definition at line 36 of file qv4heap_p.h.

References QV4::Heap::Pointer< T, o >::get().

+ Here is the call graph for this function:

◆ set()

template<typename T , size_t o>
void QV4::Heap::Pointer< T, o >::set ( EngineBase * e,
T newVal )
inline

Definition at line 41 of file qv4heap_p.h.

References QV4::Heap::Pointer< T, o >::base(), and QV4::WriteBarrier::write().

+ Here is the call graph for this function:

Member Data Documentation

◆ offset

template<typename T , size_t o>
constexpr size_t QV4::Heap::Pointer< T, o >::offset = o
staticconstexpr

Definition at line 35 of file qv4heap_p.h.


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