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
qqmlvaluetypewrapper.cpp File Reference

(2ff1ff3a2ca4798f39d10e478e4a9e3c47811c4f)

#include "qqmlvaluetypewrapper_p.h"
#include <private/qqmlbinding_p.h>
#include <private/qqmlbuiltinfunctions_p.h>
#include <private/qqmlvaluetype_p.h>
#include <private/qv4alloca_p.h>
#include <private/qv4arraybuffer_p.h>
#include <private/qv4dateobject_p.h>
#include <private/qv4engine_p.h>
#include <private/qv4functionobject_p.h>
#include <private/qv4identifiertable_p.h>
#include <private/qv4jsonobject_p.h>
#include <private/qv4lookup_p.h>
#include <private/qv4qobjectwrapper_p.h>
#include <private/qv4stackframe_p.h>
#include <private/qv4variantobject_p.h>
#include <QtCore/qline.h>
#include <QtCore/qsize.h>
#include <QtCore/qdatetime.h>
#include <QtCore/qloggingcategory.h>
Include dependency graph for qqmlvaluetypewrapper.cpp:

Go to the source code of this file.

Classes

struct  QV4::QQmlValueTypeWrapperOwnPropertyKeyIterator

Namespaces

namespace  QV4

Macros

#define VALUE_TYPE_LOAD(metatype, cpptype, constructor)

Functions

QT_BEGIN_NAMESPACE DEFINE_OBJECT_VTABLE (QV4::QQmlValueTypeWrapper)
static Heap::ReferenceObject::Flags QV4::referenceFlags (const QMetaObject *metaObject, int index)
static void QV4::doStaticReadCall (const QMetaObject *metaObject, Heap::QQmlValueTypeWrapper *valueTypeWrapper, int index, void **args)

Macro Definition Documentation

◆ VALUE_TYPE_LOAD

#define VALUE_TYPE_LOAD ( metatype,
cpptype,
constructor )
Value:
case metatype: { \
cpptype v; \
void *args[] = { &v, nullptr }; \
doStaticReadCall(metaObject, valueTypeWrapper, index, args); \
return QV4::Encode(constructor(v)); \
}
GLuint index
GLsizei const GLfloat * v
QJSValueList args

Function Documentation

◆ DEFINE_OBJECT_VTABLE()