umbrello  2.34.3
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
template.h
DEBUG_REGISTER
#define DEBUG_REGISTER(src)
Definition: debug_utils.h:129
CppTree2Uml
Definition: cpptree2uml.h:21
CppImport::initPerFile
void initPerFile()
Definition: cppimport.cpp:130
logDebug3
#define logDebug3(s, a, b, c)
Definition: uml.h:551
CppTree2Uml::setRootPath
void setRootPath(const QString &rootPath)
Definition: cpptree2uml.cpp:69
CppImport::ms_seenFiles
static QStringList ms_seenFiles
auxiliary buffer for feedTheModel()
Definition: cppimport.h:39
operation.h
CppDriver::setupLexer
void setupLexer(Lexer *lexer)
Definition: cppimport.cpp:39
logError1
#define logError1(s, a)
Definition: uml.h:543
association.h
ClassImport
Definition: classimport.h:20
CppImport::ms_driver
static CppDriver * ms_driver
Definition: cppimport.h:38
Import_Utils::incPathList
QStringList incPathList
Definition: import_utils.cpp:71
CppImport::CppImport
CppImport(CodeImpThread *thread=0)
Definition: cppimport.cpp:51
import_utils.h
CppImport
Definition: cppimport.h:20
classimport.h
optionstate.h
Settings::optionState
OptionState & optionState()
Definition: optionstate.cpp:357
cpptree2uml.h
it
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two distribute and or modify the software for each author s protection and we want to make certain that everyone understands that there is no warranty for this free software If the software is modified by someone else and passed we want its recipients to know that what they have is not the so that any problems introduced by others will not reflect on the original authors reputations any free program is threatened constantly by software patents We wish to avoid the danger that redistributors of a free program will individually obtain patent in effect making the program proprietary To prevent we have made it clear that any patent must be licensed for everyone s free use or not licensed at all The precise terms and conditions for distribution and modification follow TERMS AND CONDITIONS FOR DISTRIBUTION AND MODIFICATION This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License The refers to any such program or and a work based on the Program means either the Program or any derivative work under copyright a work containing the Program or a portion of it
Definition: GPL-2.0-only.txt:64
attribute.h
CppImport::parseFile
bool parseFile(const QString &fileName)
Definition: cppimport.cpp:139
UMLApp::log
void log(const QString &s)
Definition: uml.cpp:1949
CppImport::feedTheModel
void feedTheModel(const QString &fileName)
Definition: cppimport.cpp:72
cppimport.h
CodeImpThread
Definition: codeimpthread.h:21
CppDriver
Definition: cppimport.cpp:36
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:276
classifier.h
uml.h
debug_utils.h
umlobject.h
CppImport::~CppImport
virtual ~CppImport()
Definition: cppimport.cpp:60
ClassImport::m_rootPath
QString m_rootPath
root path of import
Definition: classimport.h:64
ClassImport::m_thread
CodeImpThread * m_thread
thread in which the work of importing is done
Definition: classimport.h:62
package.h
Import_Utils::includePathList
QStringList includePathList()
Definition: import_utils.cpp:810
CppImport::initialize
void initialize()
Definition: cppimport.cpp:107
CppTree2Uml::parseTranslationUnit
virtual void parseTranslationUnit(const ParsedFile &file)
Definition: cpptree2uml.cpp:85
logError2
#define logError2(s, a, b)
Definition: uml.h:549
enum.h