aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/apiextractorresultdata_p.h
blob: 2750b0c3757aa384367b62667957db0ea04e8c38 (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
28
29
30
// 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 APIEXTRACTORRESULTDATA_P_H
#define APIEXTRACTORRESULTDATA_P_H

#include "apiextractorresult.h"

#include <QtCore/QHash>
#include <QtCore/QSharedData>

class ApiExtractorResultData : public QSharedData
{
public:
    ApiExtractorResultData();
    ~ApiExtractorResultData();

    AbstractMetaClassCList m_metaClasses;
    AbstractMetaClassCList m_templates; // not exposed, just for ownership
    AbstractMetaClassCList m_smartPointers;
    AbstractMetaFunctionCList m_globalFunctions;
    AbstractMetaEnumList m_globalEnums;
    AbstractMetaTypeList m_instantiatedContainers;
    InstantiatedSmartPointers m_instantiatedSmartPointers;
    QHash<const TypeEntry *, AbstractMetaEnum> m_enums;
    QList<const TypeEntry *> m_synthesizedTypeEntries; // not exposed, just for ownership
    ApiExtractorFlags m_flags;
};

#endif // APIEXTRACTORRESULTDATA_P_H