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
ctf.cpp File Reference

(fb226262e8b371372fdc66b832b9eab24741f70d)

#include "ctf.h"
#include "provider.h"
#include "helpers.h"
#include "panic.h"
#include "qtheaders.h"
#include <qfile.h>
#include <qfileinfo.h>
#include <qtextstream.h>
#include <qdebug.h>
+ Include dependency graph for ctf.cpp:

Go to the source code of this file.

Functions

static void writePrologue (QTextStream &stream, const QString &fileName, const Provider &provider)
 
static void writeEpilogue (QTextStream &stream, const QString &fileName)
 
static void writeWrapper (QTextStream &stream, const Tracepoint &tracepoint, const Provider &provider)
 
static void writeMetadataGenerators (QTextStream &stream)
 
static void writeTracepoint (QTextStream &stream, const Tracepoint &tracepoint, const QString &providerName)
 
static void writeTracepoints (QTextStream &stream, const Provider &provider)
 
static void writeEnums (QTextStream &stream, const Provider &provider)
 
static void writeFlags (QTextStream &stream, const Provider &provider)
 
void writeCtf (QFile &file, const Provider &provider)
 

Function Documentation

◆ writeCtf()

void writeCtf ( QFile & file,
const Provider & provider )

Definition at line 292 of file ctf.cpp.

Referenced by main().

+ Here is the caller graph for this function:

◆ writeEnums()

static void writeEnums ( QTextStream & stream,
const Provider & provider )
static

Definition at line 242 of file ctf.cpp.

References arg, and QStringLiteral.

◆ writeEpilogue()

static void writeEpilogue ( QTextStream & stream,
const QString & fileName )
static

Definition at line 49 of file ctf.cpp.

References fileName, and includeGuard().

+ Here is the call graph for this function:

◆ writeFlags()

static void writeFlags ( QTextStream & stream,
const Provider & provider )
static

Definition at line 269 of file ctf.cpp.

Referenced by QQmlPropertyPrivate::setBinding().

+ Here is the caller graph for this function:

◆ writeMetadataGenerators()

static void writeMetadataGenerators ( QTextStream & stream)
static

Definition at line 93 of file ctf.cpp.

◆ writePrologue()

static void writePrologue ( QTextStream & stream,
const QString & fileName,
const Provider & provider )
static

Definition at line 16 of file ctf.cpp.

References fileName, includeGuard(), Provider::name, Provider::prefixText, QStringLiteral, qtHeaders(), and writeCommonPrologue().

+ Here is the call graph for this function:

◆ writeTracepoint()

static void writeTracepoint ( QTextStream & stream,
const Tracepoint & tracepoint,
const QString & providerName )
static

Definition at line 98 of file ctf.cpp.

◆ writeTracepoints()

static void writeTracepoints ( QTextStream & stream,
const Provider & provider )
static

Definition at line 234 of file ctf.cpp.

◆ writeWrapper()

static void writeWrapper ( QTextStream & stream,
const Tracepoint & tracepoint,
const Provider & provider )
static

Definition at line 56 of file ctf.cpp.

References CTF, formatFunctionSignature(), formatParameterList(), includeGuard(), Provider::name, QStringLiteral, and tracepoint.

+ Here is the call graph for this function: