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 621 of file qv4staticvalue_p.h.

Constructor & Destructor Documentation

◆ Encode() [1/8]

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

Definition at line 629 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 633 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 636 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 640 of file qv4staticvalue_p.h.

◆ Encode() [5/8]

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

Definition at line 643 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 647 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 275 of file qv4value_p.h.

◆ Encode() [8/8]

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

Definition at line 655 of file qv4staticvalue_p.h.

Member Function Documentation

◆ null()

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

Definition at line 625 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 667 of file qv4staticvalue_p.h.

◆ smallestNumber()

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

Definition at line 660 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 622 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 670 of file qv4staticvalue_p.h.


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