Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
helpers.cpp File Reference

(fb226262e8b371372fdc66b832b9eab24741f70d)

#include "helpers.h"
#include <qdebug.h>
+ Include dependency graph for helpers.cpp:

Go to the source code of this file.

Functions

void writeCommonPrologue (QTextStream &stream)
 
QString typeToTypeName (const QString &name)
 
QString includeGuard (const QString &filename)
 
template<typename T >
static QString joinArguments (const QList< Tracepoint::Argument > &args, T joinFunction)
 
QString formatFunctionSignature (const QList< Tracepoint::Argument > &args)
 
QString formatParameterList (const Provider &provider, const QList< Tracepoint::Argument > &args, const QList< Tracepoint::Field > &fields, ParamType type)
 

Function Documentation

◆ formatFunctionSignature()

QString formatFunctionSignature ( const QList< Tracepoint::Argument > & args)

Definition at line 50 of file helpers.cpp.

Referenced by writeWrapper(), writeWrapper(), and writeWrapper().

+ Here is the caller graph for this function:

◆ formatParameterList()

QString formatParameterList ( const Provider & provider,
const QList< Tracepoint::Argument > & args,
const QList< Tracepoint::Field > & fields,
ParamType type )

Definition at line 57 of file helpers.cpp.

Referenced by writeWrapper(), writeWrapper(), and writeWrapper().

+ Here is the caller graph for this function:

◆ includeGuard()

QString includeGuard ( const QString & filename)

Definition at line 20 of file helpers.cpp.

Referenced by QmlTypeRegistrar::runExtract(), writeEpilogue(), writeEpilogue(), writeEpilogue(), writeFlags(), writePrologue(), writePrologue(), writePrologue(), writeTracepoints(), writeWrapper(), writeWrapper(), and writeWrapper().

+ Here is the caller graph for this function:

◆ joinArguments()

template<typename T >
static QString joinArguments ( const QList< Tracepoint::Argument > & args,
T joinFunction )
static

Definition at line 33 of file helpers.cpp.

◆ typeToTypeName()

QString typeToTypeName ( const QString & name)

Definition at line 14 of file helpers.cpp.

Referenced by writeCtfMacro(), writeEnumConverter(), writeEnums(), writeEtwMacro(), writeFlagConverter(), and writeFlags().

+ Here is the caller graph for this function:

◆ writeCommonPrologue()

void writeCommonPrologue ( QTextStream & stream)

Definition at line 9 of file helpers.cpp.

Referenced by writePrologue(), writePrologue(), and writePrologue().

+ Here is the caller graph for this function: