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
helpers.h File Reference

(fb226262e8b371372fdc66b832b9eab24741f70d)

#include "provider.h"
#include <qlist.h>
#include <qstring.h>
#include <qtextstream.h>
Include dependency graph for helpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  ParamType { LTTNG , ETW , CTF }

Functions

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

Enumeration Type Documentation

◆ ParamType

enum ParamType
Enumerator
LTTNG 
ETW 
CTF 

Definition at line 13 of file helpers.h.

Function Documentation

◆ aggregateListValues()

template<typename T>
QString aggregateListValues ( int value,
const QList< T > & list )
static

Definition at line 27 of file helpers.h.

◆ formatFunctionSignature()

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

Definition at line 50 of file helpers.cpp.

◆ 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.

◆ includeGuard()

QString includeGuard ( const QString & filename)

Definition at line 20 of file helpers.cpp.

◆ typeToTypeName()

QString typeToTypeName ( const QString & type)

Definition at line 14 of file helpers.cpp.

◆ writeCommonPrologue()

void writeCommonPrologue ( QTextStream & stream)

Definition at line 9 of file helpers.cpp.