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

(db2bbbb251c041b37d529e5722c4f4a244988857)

#include "qmetaobjectbuilder_p.h"
#include "qobject_p.h"
#include "qmetaobject_p.h"
#include <vector>
#include <stdlib.h>
Include dependency graph for qmetaobjectbuilder.cpp:

Go to the source code of this file.

Classes

class  QMetaMethodBuilderPrivate
class  QMetaPropertyBuilderPrivate
class  QMetaEnumBuilderPrivate
class  QMetaObjectBuilderPrivate

Macros

#define ALIGN(size, type)

Enumerations

enum  Mode { Prepare , Construct , Prepare , Construct }
enum  Mode { Prepare , Construct , Prepare , Construct }

Functions

static bool isBuiltinType (QByteArrayView type)
static const QMetaObjectPrivateqmobPriv (const uint *data)
 Q_DECLARE_TYPEINFO (QMetaMethodBuilderPrivate, Q_RELOCATABLE_TYPE)
 Q_DECLARE_TYPEINFO (QMetaPropertyBuilderPrivate, Q_RELOCATABLE_TYPE)
 Q_DECLARE_TYPEINFO (QMetaEnumBuilderPrivate, Q_RELOCATABLE_TYPE)
static void writeString (char *out, int i, const QByteArray &str, const int offsetOfStringdataMember, int &stringdataOffset)
static int aggregateParameterCount (const std::vector< QMetaMethodBuilderPrivate > &methods)
template<Mode mode>
static int buildMetaObject (QMetaObjectBuilderPrivate *d, char *buf, int expectedSize)

Macro Definition Documentation

◆ ALIGN

#define ALIGN ( size,
type )
Value:
(size) = ((size) + sizeof(type) - 1) & ~(sizeof(type) - 1)
GLenum GLuint GLintptr GLsizeiptr size
GLenum type

Definition at line 1036 of file qmetaobjectbuilder.cpp.

Enumeration Type Documentation

◆ Mode [1/2]

enum Mode
Enumerator
Prepare 
Construct 
Prepare 
Construct 

Definition at line 1141 of file qmetaobjectbuilder.cpp.

◆ Mode [2/2]

enum Mode
Enumerator
Prepare 
Construct 
Prepare 
Construct 

Definition at line 1141 of file qmetaobjectbuilder.cpp.

Function Documentation

◆ aggregateParameterCount()

int aggregateParameterCount ( const std::vector< QMetaMethodBuilderPrivate > & methods)
static

Definition at line 1124 of file qmetaobjectbuilder.cpp.

◆ buildMetaObject()

◆ isBuiltinType()

bool isBuiltinType ( QByteArrayView type)
static

Definition at line 44 of file qmetaobjectbuilder.cpp.

◆ Q_DECLARE_TYPEINFO() [1/3]

Q_DECLARE_TYPEINFO ( QMetaEnumBuilderPrivate ,
Q_RELOCATABLE_TYPE  )

◆ Q_DECLARE_TYPEINFO() [2/3]

Q_DECLARE_TYPEINFO ( QMetaMethodBuilderPrivate ,
Q_RELOCATABLE_TYPE  )

◆ Q_DECLARE_TYPEINFO() [3/3]

Q_DECLARE_TYPEINFO ( QMetaPropertyBuilderPrivate ,
Q_RELOCATABLE_TYPE  )

◆ qmobPriv()

const QMetaObjectPrivate * qmobPriv ( const uint * data)
inlinestatic

Definition at line 53 of file qmetaobjectbuilder.cpp.

◆ writeString()

void writeString ( char * out,
int i,
const QByteArray & str,
const int offsetOfStringdataMember,
int & stringdataOffset )
static

Definition at line 1080 of file qmetaobjectbuilder.cpp.