umbrello: umbrello/codeimport/idlimport.h Source File

umbrello 2.32.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 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2005-2021 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef IDLIMPORT_H
12 #define IDLIMPORT_H
13
14 #include "nativeimportbase.h"
15
16 class UMLDoc;
17
23 class IDLImport : public NativeImportBase {
24 public:
25 explicit IDLImport(CodeImpThread* thread = 0);
26 virtual ~IDLImport();
27
28 bool parseStmt();
29
30 bool parseFile(const QString& file);
31
32 bool preprocess(QString& line);
33
34 void fillSource(const QString& word);
35
36 bool skipStructure();
37
38 bool isValidScopedName(QString text);
39
40 protected:
41 QString joinTypename();
42 UMLDoc *m_doc;
43 bool m_isOneway, m_isReadonly, m_isAttribute, m_isUnionDefault;
44 QStringList m_unionCases;
45 static QString m_preProcessor;
46 static QStringList m_preProcessorArguments;
47 static bool m_preProcessorChecked;
48 };
49
50 #endif
51
CodeImpThread
Definition: codeimpthread.h:36
IDLImport
Definition: idlimport.h:23
IDLImport::isValidScopedName
bool isValidScopedName(QString text)
Definition: idlimport.cpp:245
IDLImport::m_isAttribute
bool m_isAttribute
Definition: idlimport.h:43
IDLImport::m_doc
UMLDoc * m_doc
Definition: idlimport.h:42
IDLImport::skipStructure
bool skipStructure()
Definition: idlimport.cpp:235
IDLImport::parseStmt
bool parseStmt()
Definition: idlimport.cpp:261
IDLImport::IDLImport
IDLImport(CodeImpThread *thread=0)
Definition: idlimport.cpp:48
IDLImport::joinTypename
QString joinTypename()
Check for split type names (e.g. unsigned long long)
Definition: idlimport.cpp:106
IDLImport::preprocess
bool preprocess(QString &line)
Definition: idlimport.cpp:121
IDLImport::fillSource
void fillSource(const QString &word)
Definition: idlimport.cpp:132
IDLImport::m_unionCases
QStringList m_unionCases
Definition: idlimport.h:44
IDLImport::m_isUnionDefault
bool m_isUnionDefault
Definition: idlimport.h:43
IDLImport::~IDLImport
virtual ~IDLImport()
Definition: idlimport.cpp:101
IDLImport::m_isOneway
bool m_isOneway
Definition: idlimport.h:43
IDLImport::parseFile
bool parseFile(const QString &file)
Definition: idlimport.cpp:160
IDLImport::m_preProcessorArguments
static QStringList m_preProcessorArguments
Definition: idlimport.h:46
IDLImport::m_preProcessorChecked
static bool m_preProcessorChecked
Definition: idlimport.h:47
IDLImport::m_preProcessor
static QString m_preProcessor
Definition: idlimport.h:45
IDLImport::m_isReadonly
bool m_isReadonly
Definition: idlimport.h:43
NativeImportBase
Base class for native implementations of language import.
Definition: nativeimportbase.h:45
UMLDoc
Definition: umldoc.h:75
nativeimportbase.h