Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
helpers.cpp File Reference
#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 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,
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: