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

#include <qv4scopedvalue_p.h>

Collaboration diagram for QV4::Scoped< T >:

Public Types

enum  ConvertType { Convert }

Public Member Functions

QML_NEARLY_ALWAYS_INLINE Heap::Baseunderlying (const Managed *p)
QML_NEARLY_ALWAYS_INLINE void setPointer (const Managed *p)
QML_NEARLY_ALWAYS_INLINE Scoped (const Scope &scope)
QML_NEARLY_ALWAYS_INLINE Scoped (const Scope &scope, const Value &v)
QML_NEARLY_ALWAYS_INLINE Scoped (const Scope &scope, Heap::Base *o)
QML_NEARLY_ALWAYS_INLINE Scoped (const Scope &scope, const ScopedValue &v)
QML_NEARLY_ALWAYS_INLINE Scoped (const Scope &scope, const Value &v, ConvertType)
QML_NEARLY_ALWAYS_INLINE Scoped (const Scope &scope, const Value *v)
QML_NEARLY_ALWAYS_INLINE Scoped (const Scope &scope, T *t)
QML_NEARLY_ALWAYS_INLINE Scoped (const Scope &scope, const T *t)
QML_NEARLY_ALWAYS_INLINE Scoped (const Scope &scope, typename T::Data *t)
QML_NEARLY_ALWAYS_INLINE Scoped (const Scope &scope, const ReturnedValue &v)
QML_NEARLY_ALWAYS_INLINE Scoped (const Scope &scope, const ReturnedValue &v, ConvertType)
Scoped< T > & operator= (Heap::Base *o)
Scoped< T > & operator= (typename T::Data *t)
Scoped< T > & operator= (const Value &v)
Scoped< T > & operator= (Value *v)
Scoped< T > & operator= (const ReturnedValue &v)
Scoped< T > & operator= (T *t)
 operator T* ()
 operator const Value & () const
T * operator-> ()
const T * operator-> () const
 operator bool () const
T * getPointer ()
const T * getPointer () const
ValuegetRef ()
QML_NEARLY_ALWAYS_INLINE ReturnedValue asReturnedValue () const

Public Attributes

Valueptr

Detailed Description

template<typename T>
struct QV4::Scoped< T >

Definition at line 267 of file qv4scopedvalue_p.h.

Member Enumeration Documentation

◆ ConvertType

template<typename T>
enum QV4::Scoped::ConvertType
Enumerator
Convert 

Definition at line 269 of file qv4scopedvalue_p.h.

Constructor & Destructor Documentation

◆ Scoped() [1/11]

template<typename T>
QML_NEARLY_ALWAYS_INLINE QV4::Scoped< T >::Scoped ( const Scope & scope)
inline

Definition at line 279 of file qv4scopedvalue_p.h.

◆ Scoped() [2/11]

template<typename T>
QML_NEARLY_ALWAYS_INLINE QV4::Scoped< T >::Scoped ( const Scope & scope,
const Value & v )
inline

Definition at line 284 of file qv4scopedvalue_p.h.

◆ Scoped() [3/11]

template<typename T>
QML_NEARLY_ALWAYS_INLINE QV4::Scoped< T >::Scoped ( const Scope & scope,
Heap::Base * o )
inline

Definition at line 289 of file qv4scopedvalue_p.h.

◆ Scoped() [4/11]

template<typename T>
QML_NEARLY_ALWAYS_INLINE QV4::Scoped< T >::Scoped ( const Scope & scope,
const ScopedValue & v )
inline

Definition at line 295 of file qv4scopedvalue_p.h.

◆ Scoped() [5/11]

template<typename T>
QML_NEARLY_ALWAYS_INLINE QV4::Scoped< T >::Scoped ( const Scope & scope,
const Value & v,
ConvertType  )
inline

Definition at line 300 of file qv4scopedvalue_p.h.

◆ Scoped() [6/11]

template<typename T>
QML_NEARLY_ALWAYS_INLINE QV4::Scoped< T >::Scoped ( const Scope & scope,
const Value * v )
inline

Definition at line 305 of file qv4scopedvalue_p.h.

◆ Scoped() [7/11]

template<typename T>
QML_NEARLY_ALWAYS_INLINE QV4::Scoped< T >::Scoped ( const Scope & scope,
T * t )
inline

Definition at line 310 of file qv4scopedvalue_p.h.

◆ Scoped() [8/11]

template<typename T>
QML_NEARLY_ALWAYS_INLINE QV4::Scoped< T >::Scoped ( const Scope & scope,
const T * t )
inline

Definition at line 315 of file qv4scopedvalue_p.h.

◆ Scoped() [9/11]

template<typename T>
QML_NEARLY_ALWAYS_INLINE QV4::Scoped< T >::Scoped ( const Scope & scope,
typename T::Data * t )
inline

Definition at line 320 of file qv4scopedvalue_p.h.

◆ Scoped() [10/11]

template<typename T>
QML_NEARLY_ALWAYS_INLINE QV4::Scoped< T >::Scoped ( const Scope & scope,
const ReturnedValue & v )
inline

Definition at line 325 of file qv4scopedvalue_p.h.

◆ Scoped() [11/11]

template<typename T>
QML_NEARLY_ALWAYS_INLINE QV4::Scoped< T >::Scoped ( const Scope & scope,
const ReturnedValue & v,
ConvertType  )
inline

Definition at line 330 of file qv4scopedvalue_p.h.

Member Function Documentation

◆ asReturnedValue()

template<typename T>
QML_NEARLY_ALWAYS_INLINE ReturnedValue QV4::Scoped< T >::asReturnedValue ( ) const
inline

Definition at line 393 of file qv4scopedvalue_p.h.

◆ getPointer() [1/2]

template<typename T>
T * QV4::Scoped< T >::getPointer ( )
inline

Definition at line 381 of file qv4scopedvalue_p.h.

◆ getPointer() [2/2]

template<typename T>
const T * QV4::Scoped< T >::getPointer ( ) const
inline

Definition at line 385 of file qv4scopedvalue_p.h.

◆ getRef()

template<typename T>
Value * QV4::Scoped< T >::getRef ( )
inline

Definition at line 389 of file qv4scopedvalue_p.h.

◆ operator bool()

template<typename T>
QV4::Scoped< T >::operator bool ( ) const
inlineexplicit

Definition at line 377 of file qv4scopedvalue_p.h.

◆ operator const Value &()

template<typename T>
QV4::Scoped< T >::operator const Value & ( ) const
inline

Definition at line 365 of file qv4scopedvalue_p.h.

◆ operator T*()

template<typename T>
QV4::Scoped< T >::operator T* ( )
inline

Definition at line 362 of file qv4scopedvalue_p.h.

◆ operator->() [1/2]

template<typename T>
T * QV4::Scoped< T >::operator-> ( )
inline

Definition at line 369 of file qv4scopedvalue_p.h.

◆ operator->() [2/2]

template<typename T>
const T * QV4::Scoped< T >::operator-> ( ) const
inline

Definition at line 373 of file qv4scopedvalue_p.h.

◆ operator=() [1/6]

template<typename T>
Scoped< T > & QV4::Scoped< T >::operator= ( const ReturnedValue & v)
inline

Definition at line 352 of file qv4scopedvalue_p.h.

◆ operator=() [2/6]

template<typename T>
Scoped< T > & QV4::Scoped< T >::operator= ( const Value & v)
inline

Definition at line 343 of file qv4scopedvalue_p.h.

◆ operator=() [3/6]

template<typename T>
Scoped< T > & QV4::Scoped< T >::operator= ( Heap::Base * o)
inline

Definition at line 335 of file qv4scopedvalue_p.h.

◆ operator=() [4/6]

template<typename T>
Scoped< T > & QV4::Scoped< T >::operator= ( T * t)
inline

Definition at line 357 of file qv4scopedvalue_p.h.

◆ operator=() [5/6]

template<typename T>
Scoped< T > & QV4::Scoped< T >::operator= ( typename T::Data * t)
inline

Definition at line 339 of file qv4scopedvalue_p.h.

◆ operator=() [6/6]

template<typename T>
Scoped< T > & QV4::Scoped< T >::operator= ( Value * v)
inline

Definition at line 347 of file qv4scopedvalue_p.h.

◆ setPointer()

template<typename T>
QML_NEARLY_ALWAYS_INLINE void QV4::Scoped< T >::setPointer ( const Managed * p)
inline

Definition at line 275 of file qv4scopedvalue_p.h.

◆ underlying()

template<typename T>
QML_NEARLY_ALWAYS_INLINE Heap::Base * QV4::Scoped< T >::underlying ( const Managed * p)
inline

Definition at line 271 of file qv4scopedvalue_p.h.

Member Data Documentation

◆ ptr

template<typename T>
Value* QV4::Scoped< T >::ptr

Definition at line 397 of file qv4scopedvalue_p.h.


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