umbrello  2.32.3
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();
44  QStringList m_unionCases;
45  static QString m_preProcessor;
46  static QStringList m_preProcessorArguments;
47  static bool m_preProcessorChecked;
48 };
49 
50 #endif
51 
Definition: codeimpthread.h:36
Definition: idlimport.h:23
bool isValidScopedName(QString text)
Definition: idlimport.cpp:245
bool m_isAttribute
Definition: idlimport.h:43
UMLDoc * m_doc
Definition: idlimport.h:42
bool skipStructure()
Definition: idlimport.cpp:235
bool parseStmt()
Definition: idlimport.cpp:261
IDLImport(CodeImpThread *thread=0)
Definition: idlimport.cpp:48
QString joinTypename()
Check for split type names (e.g. unsigned long long)
Definition: idlimport.cpp:106
bool preprocess(QString &line)
Definition: idlimport.cpp:121
void fillSource(const QString &word)
Definition: idlimport.cpp:132
QStringList m_unionCases
Definition: idlimport.h:44
bool m_isUnionDefault
Definition: idlimport.h:43
virtual ~IDLImport()
Definition: idlimport.cpp:101
bool m_isOneway
Definition: idlimport.h:43
bool parseFile(const QString &file)
Definition: idlimport.cpp:160
static QStringList m_preProcessorArguments
Definition: idlimport.h:46
static bool m_preProcessorChecked
Definition: idlimport.h:47
static QString m_preProcessor
Definition: idlimport.h:45
bool m_isReadonly
Definition: idlimport.h:43
Base class for native implementations of language import.
Definition: nativeimportbase.h:45
Definition: umldoc.h:75