aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/constantvaluetypeentry.h
blob: a16a7ad128c0bd08536382851881c0360139c3e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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 CONSTANTVALUETYPEENTRY_H
#define CONSTANTVALUETYPEENTRY_H

#include "typesystem.h"

// For primitive values, typically to provide a dummy type for
// example the '2' in non-type template 'Array<2>'.
class ConstantValueTypeEntry : public TypeEntry
{
public:
    explicit  ConstantValueTypeEntry(const QString& name,
                                     const TypeEntryCPtr &parent);

    TypeEntry *clone() const override;

protected:
    explicit ConstantValueTypeEntry(TypeEntryPrivate *d);
};

#endif // CONSTANTVALUETYPEENTRY_H