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 * 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
ClassImport
Definition: classimport.h:26
CodeImpThread
Definition: codeimpthread.h:36
CppDriver
Definition: cppimport.cpp:41
CppImport
Definition: cppimport.h:26
CppImport::parseFile
bool parseFile(const QString &fileName)
Definition: cppimport.cpp:141
CppImport::ms_seenFiles
static QStringList ms_seenFiles
auxiliary buffer for feedTheModel()
Definition: cppimport.h:44
CppImport::initPerFile
void initPerFile()
Definition: cppimport.cpp:132
CppImport::feedTheModel
void feedTheModel(const QString &fileName)
Definition: cppimport.cpp:74
CppImport::~CppImport
virtual ~CppImport()
Definition: cppimport.cpp:62
CppImport::initialize
void initialize()
Definition: cppimport.cpp:109
CppImport::CppImport
CppImport(CodeImpThread *thread=0)
Definition: cppimport.cpp:53
CppImport::ms_driver
static CppDriver * ms_driver
Definition: cppimport.h:43
classimport.h