umbrello 2.34.70-5524f40e1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <cppimport.h>
Public Member Functions | |
CppImport (CodeImpThread *thread=0) | |
virtual | ~CppImport () |
![]() | |
ClassImport (CodeImpThread *thread=0) | |
virtual | ~ClassImport () |
bool | importFiles (const QStringList &fileNames) |
bool | importFile (const QString &fileName) |
void | setRootPath (const QString &path) |
bool | enabled () const |
Protected Member Functions | |
void | initialize () |
void | initPerFile () |
bool | parseFile (const QString &fileName) |
![]() | |
void | log (const QString &file, const QString &text) |
void | log (const QString &text) |
Private Member Functions | |
void | feedTheModel (const QString &fileName) |
Static Private Attributes | |
static CppDriver * | ms_driver |
static QStringList | ms_seenFiles |
auxiliary buffer for feedTheModel() More... | |
Additional Inherited Members | |
![]() | |
static ClassImport * | createImporterByFileExt (const QString &fileName, CodeImpThread *thread=0) |
![]() | |
CodeImpThread * | m_thread |
thread in which the work of importing is done More... | |
bool | m_enabled |
state of importer More... | |
QString | m_rootPath |
root path of import More... | |
C++ code import
|
explicit |
Constructor.
|
virtual |
Destructor.
|
private |
Auxiliary method for recursively traversing the #include dependencies in order to feed innermost includes to the model before dependent includes. It is important that includefiles are fed to the model in proper order so that references between UML objects are created properly.
fileName | the file to import |
|
protectedvirtual |
Implement abstract operation from ClassImport for C++.
Implements ClassImport.
|
protectedvirtual |
Reimplement method from ClassImport
Reimplemented from ClassImport.
|
protectedvirtual |
Import a single file.
fileName | The file to import. |
Implements ClassImport.
|
staticprivate |
|
staticprivate |
auxiliary buffer for feedTheModel()