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::Encode Struct Reference

#include <qv4staticvalue_p.h>

Collaboration diagram for QV4::Encode:

Public Member Functions

constexpr Encode (bool b)
 Encode (double d)
constexpr Encode (int i)
 Encode (uint i)
constexpr Encode (ReturnedValue v)
constexpr Encode (StaticValue v)
template<typename HeapBase>
 Encode (HeapBase *o)
 Encode (StaticValue *o)
constexpr operator ReturnedValue () const

Static Public Member Functions

static constexpr ReturnedValue undefined ()
static constexpr ReturnedValue null ()
static ReturnedValue smallestNumber (double d)

Public Attributes

quint64 val

Detailed Description

Definition at line 638 of file qv4staticvalue_p.h.

Constructor & Destructor Documentation

◆ Encode() [1/8]

QV4::Encode::Encode ( bool b)
inlineexplicitconstexpr

Definition at line 646 of file qv4staticvalue_p.h.

References Encode().

Referenced by Encode().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Encode() [2/8]

QV4::Encode::Encode ( double d)
inlineexplicit

Definition at line 650 of file qv4staticvalue_p.h.

Referenced by smallestNumber().

Here is the caller graph for this function:

◆ Encode() [3/8]

QV4::Encode::Encode ( int i)
inlineexplicitconstexpr

Definition at line 653 of file qv4staticvalue_p.h.

References Encode().

Referenced by Encode(), Encode(), and smallestNumber().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Encode() [4/8]

QV4::Encode::Encode ( uint i)
inlineexplicit

Definition at line 657 of file qv4staticvalue_p.h.

◆ Encode() [5/8]

QV4::Encode::Encode ( ReturnedValue v)
inlineexplicitconstexpr

Definition at line 660 of file qv4staticvalue_p.h.

References Encode().

Here is the call graph for this function:

◆ Encode() [6/8]

QV4::Encode::Encode ( StaticValue v)
inlineconstexpr

Definition at line 664 of file qv4staticvalue_p.h.

References Encode().

Referenced by Encode().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Encode() [7/8]

template<typename HeapBase>
QV4::Encode::Encode ( HeapBase * o)
inlineexplicit

Definition at line 276 of file qv4value_p.h.

◆ Encode() [8/8]

QV4::Encode::Encode ( StaticValue * o)
inlineexplicit

Definition at line 672 of file qv4staticvalue_p.h.

Member Function Documentation

◆ null()

constexpr ReturnedValue QV4::Encode::null ( )
inlinestaticconstexpr

Definition at line 642 of file qv4staticvalue_p.h.

References QV4::StaticValue::nullValue().

Here is the call graph for this function:

◆ operator ReturnedValue()

QV4::Encode::operator ReturnedValue ( ) const
inlineconstexpr

Definition at line 684 of file qv4staticvalue_p.h.

◆ smallestNumber()

ReturnedValue QV4::Encode::smallestNumber ( double d)
inlinestatic

Definition at line 677 of file qv4staticvalue_p.h.

References Encode(), Encode(), and QV4::StaticValue::isInt32().

Here is the call graph for this function:

◆ undefined()

constexpr ReturnedValue QV4::Encode::undefined ( )
inlinestaticconstexpr

Definition at line 639 of file qv4staticvalue_p.h.

References QV4::StaticValue::undefinedValue().

Here is the call graph for this function:

Member Data Documentation

◆ val

quint64 QV4::Encode::val

Definition at line 687 of file qv4staticvalue_p.h.


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