blob: 1492e32cc79fcdab03bdae3e9054b08e83f3f7c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright (C) 2016 Jochen Becher
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0 WITH Qt-GPL-exception-1.0
#pragma once
#include "drelation.h"
namespace qmt {
class DClass;
class QMT_EXPORT DInheritance : public DRelation
{
public:
DInheritance();
~DInheritance() override;
Uid derived() const;
void setDerived(const Uid &derived);
Uid base() const;
void setBase(const Uid &base);
void accept(DVisitor *visitor) override;
void accept(DConstVisitor *visitor) const override;
};
} // namespace qmt
|