aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/templateargumententry.h
blob: 6f191b595205d6f172c041fa19e4a036fe475307 (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
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#ifndef TEMPLATEARGUMENTENTRY_H
#define TEMPLATEARGUMENTENTRY_H

#include "typesystem.h"

class TemplateArgumentEntryPrivate;

class TemplateArgumentEntry : public TypeEntry
{
public:
    explicit TemplateArgumentEntry(const QString &entryName, const QVersionNumber &vr,
                                   const TypeEntry *parent);

    int ordinal() const;
    void setOrdinal(int o);

    TypeEntry *clone() const override;

protected:
    explicit TemplateArgumentEntry(TemplateArgumentEntryPrivate *d);
};

#endif // TEMPLATEARGUMENTENTRY_H