umbrello: umbrello/codeimport/cppimport.h Source File

umbrello 2.32.1 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 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2005-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4 */
5
6 #ifndef CPPIMPORT_H
7 #define CPPIMPORT_H
8
9 #include "classimport.h"
10
11 #include <QString>
12
13 class CppDriver;
14
20 class CppImport : public ClassImport
21 {
22 public:
23 explicit CppImport(CodeImpThread* thread = 0);
24 virtual ~CppImport();
25
26 protected:
27
28 void initialize();
29
30 void initPerFile();
31
32 bool parseFile(const QString& fileName);
33
34 private:
35
36 void feedTheModel(const QString& fileName);
37
38 static CppDriver * ms_driver;
39 static QStringList ms_seenFiles;
40
41 };
42
43 #endif
ClassImport
Definition: classimport.h:21
CodeImpThread
Definition: codeimpthread.h:22
CppDriver
Definition: cppimport.cpp:36
CppImport
Definition: cppimport.h:21
CppImport::parseFile
bool parseFile(const QString &fileName)
Definition: cppimport.cpp:136
CppImport::ms_seenFiles
static QStringList ms_seenFiles
auxiliary buffer for feedTheModel()
Definition: cppimport.h:39
CppImport::initPerFile
void initPerFile()
Definition: cppimport.cpp:127
CppImport::feedTheModel
void feedTheModel(const QString &fileName)
Definition: cppimport.cpp:69
CppImport::~CppImport
virtual ~CppImport()
Definition: cppimport.cpp:57
CppImport::initialize
void initialize()
Definition: cppimport.cpp:104
CppImport::CppImport
CppImport(CodeImpThread *thread=0)
Definition: cppimport.cpp:48
CppImport::ms_driver
static CppDriver * ms_driver
Definition: cppimport.h:38
classimport.h