forked from qt-creator/qt-creator
Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
51 lines
1.1 KiB
C++
51 lines
1.1 KiB
C++
// Copyright (C) 2016 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
|
|
|
#pragma once
|
|
|
|
#include <QSharedDataPointer>
|
|
#include <QVector>
|
|
|
|
namespace Valgrind {
|
|
namespace XmlProtocol {
|
|
|
|
class Frame;
|
|
|
|
class Stack
|
|
{
|
|
public:
|
|
Stack();
|
|
Stack(const Stack &other);
|
|
~Stack();
|
|
void operator=(const Stack &other);
|
|
void swap(Stack &other);
|
|
bool operator==(const Stack &other) const;
|
|
|
|
QString auxWhat() const;
|
|
void setAuxWhat(const QString &auxwhat);
|
|
|
|
QVector<Frame> frames() const;
|
|
void setFrames(const QVector<Frame> &frames);
|
|
|
|
//memcheck, ptrcheck, helgrind:
|
|
QString file() const;
|
|
void setFile(const QString &file);
|
|
|
|
QString directory() const;
|
|
void setDirectory(const QString &directory);
|
|
|
|
qint64 line() const;
|
|
void setLine(qint64 line);
|
|
|
|
//helgrind:
|
|
qint64 helgrindThreadId() const;
|
|
void setHelgrindThreadId(qint64 threadId );
|
|
|
|
private:
|
|
class Private;
|
|
QSharedDataPointer<Private> d;
|
|
};
|
|
|
|
} // namespace XmlProtocol
|
|
} // namespace Stack
|