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
FunctionDef Struct Reference

#include <moc.h>

Collaboration diagram for FunctionDef:

Public Types

enum  Access { Private , Protected , Public }

Public Member Functions

QJsonObject toJson (int index) const

Static Public Member Functions

static void accessToJson (QJsonObject *obj, Access acs)

Public Attributes

Type type
QList< ArgumentDefarguments
QByteArray normalizedType
QByteArray tag
QByteArray name
QByteArray inPrivateClass
Access access = Private
int revision = 0
int lineNumber = 0
bool isConst = false
bool isVirtual = false
bool isStatic = false
bool inlineCode = false
bool wasCloned = false
bool returnTypeIsVolatile = false
bool isCompat = false
bool isInvokable = false
bool isScriptable = false
bool isSlot = false
bool isSignal = false
bool isPrivateSignal = false
bool isConstructor = false
bool isDestructor = false
bool isAbstract = false
bool isRawSlot = false

Detailed Description

Definition at line 76 of file moc.h.

Member Enumeration Documentation

◆ Access

Enumerator
Private 
Protected 
Public 

Definition at line 85 of file moc.h.

Member Function Documentation

◆ accessToJson()

void FunctionDef::accessToJson ( QJsonObject * obj,
FunctionDef::Access acs )
static

Definition at line 2173 of file moc.cpp.

Referenced by toJson().

Here is the caller graph for this function:

◆ toJson()

QJsonObject FunctionDef::toJson ( int index) const

Definition at line 2143 of file moc.cpp.

References access, and accessToJson().

Here is the call graph for this function:

Member Data Documentation

◆ access

Access FunctionDef::access = Private

Definition at line 86 of file moc.h.

Referenced by Moc::parse(), Moc::parseSignals(), Moc::parseSlotInPrivate(), Moc::parseSlots(), and toJson().

◆ arguments

QList<ArgumentDef> FunctionDef::arguments

Definition at line 79 of file moc.h.

◆ inlineCode

bool FunctionDef::inlineCode = false

Definition at line 93 of file moc.h.

Referenced by Moc::parseFunction().

◆ inPrivateClass

QByteArray FunctionDef::inPrivateClass

Definition at line 83 of file moc.h.

◆ isAbstract

bool FunctionDef::isAbstract = false

Definition at line 106 of file moc.h.

Referenced by Moc::parseFunction().

◆ isCompat

bool FunctionDef::isCompat = false

Definition at line 98 of file moc.h.

Referenced by Moc::testFunctionAttribute().

◆ isConst

bool FunctionDef::isConst = false

Definition at line 90 of file moc.h.

Referenced by Moc::parseFunction(), and Moc::parseMaybeFunction().

◆ isConstructor

bool FunctionDef::isConstructor = false

Definition at line 104 of file moc.h.

Referenced by Moc::parse(), and Moc::parseMaybeFunction().

◆ isDestructor

bool FunctionDef::isDestructor = false

Definition at line 105 of file moc.h.

Referenced by Moc::parse(), and Moc::parseMaybeFunction().

◆ isInvokable

bool FunctionDef::isInvokable = false

Definition at line 99 of file moc.h.

Referenced by Moc::parse(), Moc::parseMaybeFunction(), and Moc::testFunctionAttribute().

◆ isPrivateSignal

bool FunctionDef::isPrivateSignal = false

Definition at line 103 of file moc.h.

Referenced by Moc::parseFunctionArguments().

◆ isRawSlot

bool FunctionDef::isRawSlot = false

Definition at line 107 of file moc.h.

Referenced by Moc::parseFunctionArguments().

◆ isScriptable

bool FunctionDef::isScriptable = false

Definition at line 100 of file moc.h.

Referenced by addFunction(), and Moc::testFunctionAttribute().

◆ isSignal

bool FunctionDef::isSignal = false

Definition at line 102 of file moc.h.

Referenced by Moc::parse(), Moc::parseMaybeFunction(), and Moc::testFunctionAttribute().

◆ isSlot

bool FunctionDef::isSlot = false

Definition at line 101 of file moc.h.

Referenced by Moc::parse(), Moc::parseMaybeFunction(), and Moc::testFunctionAttribute().

◆ isStatic

bool FunctionDef::isStatic = false

◆ isVirtual

bool FunctionDef::isVirtual = false

◆ lineNumber

int FunctionDef::lineNumber = 0

Definition at line 88 of file moc.h.

Referenced by Moc::parseFunction(), and Moc::parseMaybeFunction().

◆ name

QByteArray FunctionDef::name

Definition at line 82 of file moc.h.

Referenced by testing.tools.encode_pdf_filter._PdfStream::RegisterByName().

◆ normalizedType

QByteArray FunctionDef::normalizedType

Definition at line 80 of file moc.h.

◆ returnTypeIsVolatile

bool FunctionDef::returnTypeIsVolatile = false

Definition at line 96 of file moc.h.

◆ revision

int FunctionDef::revision = 0

◆ tag

QByteArray FunctionDef::tag

Definition at line 81 of file moc.h.

◆ type

Type FunctionDef::type

Definition at line 78 of file moc.h.

◆ wasCloned

bool FunctionDef::wasCloned = false

Definition at line 94 of file moc.h.

Referenced by handleDefaultArguments().


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