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::PersistentValue Class Reference

#include <qv4persistent_p.h>

Collaboration diagram for QV4::PersistentValue:

Public Member Functions

constexpr PersistentValue () noexcept=default
 PersistentValue (const PersistentValue &other)
PersistentValueoperator= (const PersistentValue &other)
 PersistentValue (PersistentValue &&other) noexcept
void swap (PersistentValue &other) noexcept
 ~PersistentValue ()
PersistentValueoperator= (const WeakValue &other)
PersistentValueoperator= (Object *object)
 PersistentValue (ExecutionEngine *engine, const Value &value)
 PersistentValue (ExecutionEngine *engine, ReturnedValue value)
 PersistentValue (ExecutionEngine *engine, Object *object)
void set (ExecutionEngine *engine, const Value &value)
void set (ExecutionEngine *engine, ReturnedValue value)
void set (ExecutionEngine *engine, Heap::Base *obj)
ReturnedValue value () const
ValuevalueRef () const
ManagedasManaged () const
template<typename T>
T * as () const
ExecutionEngineengine () const
bool isUndefined () const
bool isNullOrUndefined () const
void clear ()
bool isEmpty ()

Detailed Description

Definition at line 67 of file qv4persistent_p.h.

Constructor & Destructor Documentation

◆ PersistentValue() [1/6]

QV4::PersistentValue::PersistentValue ( )
constexprdefaultnoexcept

◆ PersistentValue() [2/6]

PersistentValue::PersistentValue ( const PersistentValue & other)

Definition at line 244 of file qv4persistent.cpp.

◆ PersistentValue() [3/6]

QV4::PersistentValue::PersistentValue ( PersistentValue && other)
inlinenoexcept

Definition at line 74 of file qv4persistent_p.h.

◆ ~PersistentValue()

QV4::PersistentValue::~PersistentValue ( )
inline

Definition at line 77 of file qv4persistent_p.h.

◆ PersistentValue() [4/6]

PersistentValue::PersistentValue ( ExecutionEngine * engine,
const Value & value )

Definition at line 251 of file qv4persistent.cpp.

◆ PersistentValue() [5/6]

PersistentValue::PersistentValue ( ExecutionEngine * engine,
ReturnedValue value )

Definition at line 256 of file qv4persistent.cpp.

◆ PersistentValue() [6/6]

PersistentValue::PersistentValue ( ExecutionEngine * engine,
Object * object )

Definition at line 261 of file qv4persistent.cpp.

Member Function Documentation

◆ as()

template<typename T>
T * QV4::PersistentValue::as ( ) const
inline

Definition at line 102 of file qv4persistent_p.h.

◆ asManaged()

Managed * QV4::PersistentValue::asManaged ( ) const
inline

Definition at line 96 of file qv4persistent_p.h.

◆ clear()

void QV4::PersistentValue::clear ( )
inline

Definition at line 116 of file qv4persistent_p.h.

◆ engine()

ExecutionEngine * QV4::PersistentValue::engine ( ) const
inline

Definition at line 108 of file qv4persistent_p.h.

◆ isEmpty()

bool QV4::PersistentValue::isEmpty ( )
inline

Definition at line 120 of file qv4persistent_p.h.

◆ isNullOrUndefined()

bool QV4::PersistentValue::isNullOrUndefined ( ) const
inline

Definition at line 115 of file qv4persistent_p.h.

◆ isUndefined()

bool QV4::PersistentValue::isUndefined ( ) const
inline

Definition at line 114 of file qv4persistent_p.h.

◆ operator=() [1/3]

PersistentValue & PersistentValue::operator= ( const PersistentValue & other)

Definition at line 269 of file qv4persistent.cpp.

◆ operator=() [2/3]

PersistentValue & PersistentValue::operator= ( const WeakValue & other)

Definition at line 287 of file qv4persistent.cpp.

◆ operator=() [3/3]

PersistentValue & PersistentValue::operator= ( Object * object)

Definition at line 302 of file qv4persistent.cpp.

◆ set() [1/3]

void PersistentValue::set ( ExecutionEngine * engine,
const Value & value )

Definition at line 312 of file qv4persistent.cpp.

◆ set() [2/3]

void PersistentValue::set ( ExecutionEngine * engine,
Heap::Base * obj )

Definition at line 337 of file qv4persistent.cpp.

◆ set() [3/3]

void PersistentValue::set ( ExecutionEngine * engine,
ReturnedValue value )

Definition at line 323 of file qv4persistent.cpp.

◆ swap()

void QV4::PersistentValue::swap ( PersistentValue & other)
inlinenoexcept

Definition at line 75 of file qv4persistent_p.h.

◆ value()

ReturnedValue QV4::PersistentValue::value ( ) const
inline

Definition at line 90 of file qv4persistent_p.h.

◆ valueRef()

Value * QV4::PersistentValue::valueRef ( ) const
inline

Definition at line 93 of file qv4persistent_p.h.


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