umbrello  2.31.70
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
cppimport.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-2020 *
8  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9  ***************************************************************************/
10 
11 #ifndef CPPIMPORT_H
12 #define CPPIMPORT_H
13 
14 #include "classimport.h"
15 
16 #include <QString>
17 
18 class CppDriver;
19 
25 class CppImport : public ClassImport
26 {
27 public:
28  explicit CppImport(CodeImpThread* thread = 0);
29  virtual ~CppImport();
30 
31 protected:
32 
33  void initialize();
34 
35  void initPerFile();
36 
37  bool parseFile(const QString& fileName);
38 
39 private:
40 
41  void feedTheModel(const QString& fileName);
42 
43  static CppDriver * ms_driver;
44  static QStringList ms_seenFiles;
45 
46 };
47 
48 #endif
void feedTheModel(const QString &fileName)
Definition: cppimport.cpp:74
static QStringList ms_seenFiles
auxiliary buffer for feedTheModel()
Definition: cppimport.h:44
void initPerFile()
Definition: cppimport.cpp:132
CppImport(CodeImpThread *thread=0)
Definition: cppimport.cpp:53
virtual ~CppImport()
Definition: cppimport.cpp:62
Definition: cppimport.h:25
bool parseFile(const QString &fileName)
Definition: cppimport.cpp:141
Definition: codeimpthread.h:35
Definition: cppimport.cpp:40
Definition: classimport.h:25
void initialize()
Definition: cppimport.cpp:109
static CppDriver * ms_driver
Definition: cppimport.h:43