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
 
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 2160 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 2131 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 92 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 105 of file moc.h.

Referenced by Moc::parseFunction().

◆ isCompat

bool FunctionDef::isCompat = false

Definition at line 97 of file moc.h.

Referenced by Moc::testFunctionAttribute().

◆ isConst

bool FunctionDef::isConst = false

Definition at line 89 of file moc.h.

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

◆ isConstructor

bool FunctionDef::isConstructor = false

Definition at line 103 of file moc.h.

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

◆ isDestructor

bool FunctionDef::isDestructor = false

Definition at line 104 of file moc.h.

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

◆ isInvokable

bool FunctionDef::isInvokable = false

Definition at line 98 of file moc.h.

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

◆ isPrivateSignal

bool FunctionDef::isPrivateSignal = false

Definition at line 102 of file moc.h.

Referenced by Moc::parseFunctionArguments().

◆ isRawSlot

bool FunctionDef::isRawSlot = false

Definition at line 106 of file moc.h.

Referenced by Moc::parseFunctionArguments().

◆ isScriptable

bool FunctionDef::isScriptable = false

Definition at line 99 of file moc.h.

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

◆ isSignal

bool FunctionDef::isSignal = false

Definition at line 101 of file moc.h.

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

◆ isSlot

bool FunctionDef::isSlot = false

Definition at line 100 of file moc.h.

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

◆ isStatic

bool FunctionDef::isStatic = false

◆ isVirtual

bool FunctionDef::isVirtual = false

◆ 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 95 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 93 of file moc.h.

Referenced by handleDefaultArguments().


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