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

#include <qqmlprofilerevent_p.h>

Collaboration diagram for QQmlProfilerEvent:

Public Member Functions

 QQmlProfilerEvent ()
template<typename Number>
 QQmlProfilerEvent (qint64 timestamp, int typeIndex, std::initializer_list< Number > list)
 QQmlProfilerEvent (qint64 timestamp, int typeIndex, const QString &data)
template<typename Number>
 QQmlProfilerEvent (qint64 timestamp, int typeIndex, const QVector< Number > &data)
 QQmlProfilerEvent (const QQmlProfilerEvent &other)
 QQmlProfilerEvent (QQmlProfilerEvent &&other)
QQmlProfilerEventoperator= (const QQmlProfilerEvent &other)
QQmlProfilerEventoperator= (QQmlProfilerEvent &&other)
 ~QQmlProfilerEvent ()
qint64 timestamp () const
void setTimestamp (qint64 timestamp)
int typeIndex () const
void setTypeIndex (int typeIndex)
template<typename Number>
Number number (int i) const
template<typename Number>
void setNumber (int i, Number number)
template<typename Container, typename Number>
void setNumbers (const Container &numbers)
template<typename Number>
void setNumbers (std::initializer_list< Number > numbers)
template<typename Container, typename Number = qint64>
Container numbers () const
QString string () const
void setString (const QString &data)
Message rangeStage () const
void setRangeStage (Message stage)
bool isValid () const

Friends

QDataStreamoperator>> (QDataStream &stream, QQmlProfilerEvent &event)
QDataStreamoperator<< (QDataStream &stream, const QQmlProfilerEvent &event)

Detailed Description

Definition at line 31 of file qqmlprofilerevent_p.h.

Constructor & Destructor Documentation

◆ QQmlProfilerEvent() [1/6]

QQmlProfilerEvent::QQmlProfilerEvent ( )
inline

Definition at line 32 of file qqmlprofilerevent_p.h.

◆ QQmlProfilerEvent() [2/6]

template<typename Number>
QQmlProfilerEvent::QQmlProfilerEvent ( qint64 timestamp,
int typeIndex,
std::initializer_list< Number > list )
inline

Definition at line 37 of file qqmlprofilerevent_p.h.

◆ QQmlProfilerEvent() [3/6]

QQmlProfilerEvent::QQmlProfilerEvent ( qint64 timestamp,
int typeIndex,
const QString & data )
inline

Definition at line 43 of file qqmlprofilerevent_p.h.

◆ QQmlProfilerEvent() [4/6]

template<typename Number>
QQmlProfilerEvent::QQmlProfilerEvent ( qint64 timestamp,
int typeIndex,
const QVector< Number > & data )
inline

Definition at line 50 of file qqmlprofilerevent_p.h.

◆ QQmlProfilerEvent() [5/6]

QQmlProfilerEvent::QQmlProfilerEvent ( const QQmlProfilerEvent & other)
inline

Definition at line 56 of file qqmlprofilerevent_p.h.

◆ QQmlProfilerEvent() [6/6]

QQmlProfilerEvent::QQmlProfilerEvent ( QQmlProfilerEvent && other)
inline

Definition at line 63 of file qqmlprofilerevent_p.h.

◆ ~QQmlProfilerEvent()

QQmlProfilerEvent::~QQmlProfilerEvent ( )
inline

Definition at line 91 of file qqmlprofilerevent_p.h.

Member Function Documentation

◆ isValid()

bool QQmlProfilerEvent::isValid ( ) const
inline

Definition at line 202 of file qqmlprofilerevent_p.h.

◆ number()

template<typename Number>
Number QQmlProfilerEvent::number ( int i) const
inline

Definition at line 103 of file qqmlprofilerevent_p.h.

◆ numbers()

template<typename Container, typename Number = qint64>
Container QQmlProfilerEvent::numbers ( ) const
inline

Definition at line 162 of file qqmlprofilerevent_p.h.

◆ operator=() [1/2]

QQmlProfilerEvent & QQmlProfilerEvent::operator= ( const QQmlProfilerEvent & other)
inline

Definition at line 69 of file qqmlprofilerevent_p.h.

◆ operator=() [2/2]

QQmlProfilerEvent & QQmlProfilerEvent::operator= ( QQmlProfilerEvent && other)
inline

Definition at line 82 of file qqmlprofilerevent_p.h.

◆ rangeStage()

Message QQmlProfilerEvent::rangeStage ( ) const
inline

Definition at line 188 of file qqmlprofilerevent_p.h.

◆ setNumber()

template<typename Number>
void QQmlProfilerEvent::setNumber ( int i,
Number number )
inline

Definition at line 134 of file qqmlprofilerevent_p.h.

◆ setNumbers() [1/2]

template<typename Container, typename Number>
void QQmlProfilerEvent::setNumbers ( const Container & numbers)
inline

Definition at line 149 of file qqmlprofilerevent_p.h.

◆ setNumbers() [2/2]

template<typename Number>
void QQmlProfilerEvent::setNumbers ( std::initializer_list< Number > numbers)
inline

Definition at line 156 of file qqmlprofilerevent_p.h.

◆ setRangeStage()

void QQmlProfilerEvent::setRangeStage ( Message stage)
inline

Definition at line 194 of file qqmlprofilerevent_p.h.

◆ setString()

void QQmlProfilerEvent::setString ( const QString & data)
inline

Definition at line 182 of file qqmlprofilerevent_p.h.

◆ setTimestamp()

void QQmlProfilerEvent::setTimestamp ( qint64 timestamp)
inline

Definition at line 97 of file qqmlprofilerevent_p.h.

◆ setTypeIndex()

void QQmlProfilerEvent::setTypeIndex ( int typeIndex)
inline

Definition at line 100 of file qqmlprofilerevent_p.h.

◆ string()

QString QQmlProfilerEvent::string ( ) const
inline

Definition at line 170 of file qqmlprofilerevent_p.h.

◆ timestamp()

qint64 QQmlProfilerEvent::timestamp ( ) const
inline

Definition at line 96 of file qqmlprofilerevent_p.h.

◆ typeIndex()

int QQmlProfilerEvent::typeIndex ( ) const
inline

Definition at line 99 of file qqmlprofilerevent_p.h.

◆ operator<<

QDataStream & operator<< ( QDataStream & stream,
const QQmlProfilerEvent & event )
friend

Definition at line 203 of file qqmlprofilerevent.cpp.

References DataLengthOffset, DataOffset, and TypeIndexOffset.

◆ operator>>

QDataStream & operator>> ( QDataStream & stream,
QQmlProfilerEvent & event )
friend

Definition at line 74 of file qqmlprofilerevent.cpp.

Member Data Documentation

◆ external

void* QQmlProfilerEvent::external

Definition at line 224 of file qqmlprofilerevent_p.h.

◆ internal16bit

qint16 QQmlProfilerEvent::internal16bit[s_internalDataLength/2]

Definition at line 227 of file qqmlprofilerevent_p.h.

◆ internal32bit

qint32 QQmlProfilerEvent::internal32bit[s_internalDataLength/4]

Definition at line 228 of file qqmlprofilerevent_p.h.

◆ internal64bit

qint64 QQmlProfilerEvent::internal64bit[s_internalDataLength/8]

Definition at line 229 of file qqmlprofilerevent_p.h.

◆ internal8bit

qint8 QQmlProfilerEvent::internal8bit[s_internalDataLength]

Definition at line 226 of file qqmlprofilerevent_p.h.

◆ internalChar

char QQmlProfilerEvent::internalChar[s_internalDataLength]

Definition at line 225 of file qqmlprofilerevent_p.h.


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