umbrello: umbrello/codeimport/idlimport.h Source File

umbrello 25.04.0 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

idlimport.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2005-2021 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef IDLIMPORT_H
7#define IDLIMPORT_H
8
9#include "nativeimportbase.h"
10
11class UMLDoc;
12
18 class IDLImport : public NativeImportBase {
19public:
20 explicit IDLImport(CodeImpThread *thread = nullptr);
21 virtual ~IDLImport();
22
23 bool parseStmt();
24
25 bool parseFile(const QString& file);
26
27 bool preprocess(QString& line);
28
29 void fillSource(const QString& word);
30
31 bool skipStructure();
32
33 bool isValidScopedName(QString text);
34
35protected:
36 QString joinTypename();
37 UMLDoc *m_doc;
38 bool m_isOneway, m_isReadonly, m_isAttribute, m_isUnionDefault;
39 QStringList m_unionCases;
40 static QString m_preProcessor;
41 static QStringList m_preProcessorArguments;
42 static bool m_preProcessorChecked;
43};
44
45#endif
46
CodeImpThread
Definition codeimpthread.h:22
IDLImport::isValidScopedName
bool isValidScopedName(QString text)
Definition idlimport.cpp:224
IDLImport::m_isAttribute
bool m_isAttribute
Definition idlimport.h:38
IDLImport::m_doc
UMLDoc * m_doc
Definition idlimport.h:37
IDLImport::skipStructure
bool skipStructure()
Definition idlimport.cpp:214
IDLImport::parseStmt
bool parseStmt()
Definition idlimport.cpp:240
IDLImport::joinTypename
QString joinTypename()
Check for split type names (e.g. unsigned long long)
Definition idlimport.cpp:85
IDLImport::preprocess
bool preprocess(QString &line)
Definition idlimport.cpp:100
IDLImport::IDLImport
IDLImport(CodeImpThread *thread=nullptr)
Definition idlimport.cpp:39
IDLImport::fillSource
void fillSource(const QString &word)
Definition idlimport.cpp:111
IDLImport::m_unionCases
QStringList m_unionCases
Definition idlimport.h:39
IDLImport::m_isUnionDefault
bool m_isUnionDefault
Definition idlimport.h:38
IDLImport::~IDLImport
virtual ~IDLImport()
Definition idlimport.cpp:80
IDLImport::m_isOneway
bool m_isOneway
Definition idlimport.h:38
IDLImport::parseFile
bool parseFile(const QString &file)
Definition idlimport.cpp:139
IDLImport::m_preProcessorArguments
static QStringList m_preProcessorArguments
Definition idlimport.h:41
IDLImport::m_preProcessorChecked
static bool m_preProcessorChecked
Definition idlimport.h:42
IDLImport::m_preProcessor
static QString m_preProcessor
Definition idlimport.h:40
IDLImport::m_isReadonly
bool m_isReadonly
Definition idlimport.h:38
NativeImportBase::NativeImportBase
NativeImportBase(const QString &singleLineCommentIntro, CodeImpThread *thread=nullptr)
Definition nativeimportbase.cpp:33
UMLDoc
Definition umldoc.h:63
nativeimportbase.h