umbrello: umbrello/codeimport/cppimport.h Source File

umbrello 2.31.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
template.h
CppTree2Uml
Definition: cpptree2uml.h:27
CppImport::initPerFile
void initPerFile()
Definition: cppimport.cpp:132
CppTree2Uml::setRootPath
void setRootPath(const QString &rootPath)
Definition: cpptree2uml.cpp:71
UMLApp::logWindow
QListWidget * logWindow() const
Definition: uml.cpp:1896
CppImport::ms_seenFiles
static QStringList ms_seenFiles
auxiliary buffer for feedTheModel()
Definition: cppimport.h:44
operation.h
CppDriver::setupLexer
void setupLexer(Lexer *lexer)
Definition: cppimport.cpp:43
association.h
ClassImport
Definition: classimport.h:26
CppImport::ms_driver
static CppDriver * ms_driver
Definition: cppimport.h:43
Import_Utils::incPathList
QStringList incPathList
Definition: import_utils.cpp:74
CppImport::CppImport
CppImport(CodeImpThread *thread=0)
Definition: cppimport.cpp:53
import_utils.h
CppImport
Definition: cppimport.h:26
classimport.h
optionstate.h
Settings::optionState
OptionState & optionState()
Definition: optionstate.cpp:370
cpptree2uml.h
attribute.h
CppImport::parseFile
bool parseFile(const QString &fileName)
Definition: cppimport.cpp:141
uDebug
#define uDebug()
Definition: debug_utils.h:122
CppImport::feedTheModel
void feedTheModel(const QString &fileName)
Definition: cppimport.cpp:74
cppimport.h
CodeImpThread
Definition: codeimpthread.h:36
CppDriver
Definition: cppimport.cpp:41
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:269
classifier.h
uError
#define uError()
Definition: debug_utils.h:123
uml.h
debug_utils.h
umlobject.h
CppImport::~CppImport
virtual ~CppImport()
Definition: cppimport.cpp:62
ClassImport::m_rootPath
QString m_rootPath
root path of import
Definition: classimport.h:69
ClassImport::m_thread
CodeImpThread * m_thread
thread in which the work of importing is done
Definition: classimport.h:67
package.h
Import_Utils::includePathList
QStringList includePathList()
Definition: import_utils.cpp:771
CppImport::initialize
void initialize()
Definition: cppimport.cpp:109
CppTree2Uml::parseTranslationUnit
virtual void parseTranslationUnit(const ParsedFile &file)
Definition: cpptree2uml.cpp:87
enum.h