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

#include <qmetatypesjsonprocessor_p.h>

Collaboration diagram for Method:

Public Types

using Container = std::vector<Method>

Public Member Functions

 Method ()=default
 Method (const QCborMap &cbor, bool isConstructor)

Public Attributes

QAnyStringView name
Argument::Container arguments
QAnyStringView returnType
int index = InvalidIndex
int lineNumber = 0
QTypeRevision revision
Access access = Access::Public
bool isCloned = false
bool isJavaScriptFunction = false
bool isConstructor = false
bool isConst = false

Static Public Attributes

static constexpr int InvalidIndex = std::numeric_limits<int>::min()

Detailed Description

Definition at line 107 of file qmetatypesjsonprocessor_p.h.

Member Typedef Documentation

◆ Container

using Method::Container = std::vector<Method>

Definition at line 109 of file qmetatypesjsonprocessor_p.h.

Constructor & Destructor Documentation

◆ Method() [1/2]

Method::Method ( )
default

◆ Method() [2/2]

Method::Method ( const QCborMap & cbor,
bool isConstructor )

Definition at line 774 of file qmetatypesjsonprocessor.cpp.

References Method(), index, InvalidIndex, isCloned, isConst, isConstructor, isJavaScriptFunction, and lineNumber.

Referenced by Method().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ access

Access Method::access = Access::Public

Definition at line 125 of file qmetatypesjsonprocessor_p.h.

◆ arguments

Argument::Container Method::arguments

Definition at line 117 of file qmetatypesjsonprocessor_p.h.

◆ index

int Method::index = InvalidIndex

Definition at line 120 of file qmetatypesjsonprocessor_p.h.

Referenced by Method().

◆ InvalidIndex

int Method::InvalidIndex = std::numeric_limits<int>::min()
staticconstexpr

Definition at line 110 of file qmetatypesjsonprocessor_p.h.

Referenced by Method().

◆ isCloned

bool Method::isCloned = false

Definition at line 127 of file qmetatypesjsonprocessor_p.h.

Referenced by Method().

◆ isConst

bool Method::isConst = false

Definition at line 130 of file qmetatypesjsonprocessor_p.h.

Referenced by Method().

◆ isConstructor

bool Method::isConstructor = false

Definition at line 129 of file qmetatypesjsonprocessor_p.h.

Referenced by Method().

◆ isJavaScriptFunction

bool Method::isJavaScriptFunction = false

Definition at line 128 of file qmetatypesjsonprocessor_p.h.

Referenced by Method().

◆ lineNumber

int Method::lineNumber = 0

Definition at line 121 of file qmetatypesjsonprocessor_p.h.

Referenced by Method().

◆ name

◆ returnType

QAnyStringView Method::returnType

Definition at line 118 of file qmetatypesjsonprocessor_p.h.

◆ revision

QTypeRevision Method::revision

Definition at line 123 of file qmetatypesjsonprocessor_p.h.


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