umbrello/umbrello
cppcodegenerator.h
Go to the documentation of this file.
74 CodeDocumentList m_headercodedocumentVector; //< a separate list for recording the header documents
This class defines the non-graphical information required for a UML Classifier (ie a class or interfa...
Definition: classifier.h:39
CodeDocument * newClassifierCodeDocument(UMLClassifier *classifier)
Generate classifier code document (source document version).
Definition: cppcodegenerator.cpp:274
class CPPHeaderCodeDocument A CPP UMLClassifier Header Code Document.
Definition: cppheadercodedocument.h:35
virtual void saveToXMI(QDomDocument &doc, QDomElement &root)
Save the XMI representation of this object.
Definition: cppcodegenerator.cpp:183
virtual CodeViewerDialog * getCodeViewerDialog(QWidget *parent, CodeDocument *doc, Settings::CodeViewerState state)
Get the editing dialog for this code document.
Definition: cppcodegenerator.cpp:135
bool removeHeaderCodeDocument(CPPHeaderCodeDocument *remove_object)
Remove a header CodeDocument object from m_headercodedocumentVector List.
Definition: cppcodegenerator.cpp:114
static const bool DEFAULT_BUILD_MAKEFILE
Definition: cppcodegenerator.h:31
QString fixTypeName(const QString &name)
Change the following dataTypes to the ones the user really wants in their code.
Definition: cppcodegenerator.cpp:172
virtual void checkRemoveUMLObject(UMLObject *obj)
Check for removing objects to the UMLDocument.
Definition: cppcodegenerator.cpp:367
CPPHeaderCodeDocument * newHeaderClassifierCodeDocument(UMLClassifier *classifier)
Generate header classifier code document.
Definition: cppcodegenerator.cpp:286
Definition: cppcodegenerator.h:26
virtual void createDefaultStereotypes()
Add the default stereotypes for c++ (constructor, int etc)
Definition: cppcodegenerator.cpp:408
void initFromParentDocument()
Overloaded so that we may have both source and header documents for each classifier.
Definition: cppcodegenerator.cpp:306
CPPMakefileCodeDocument * newMakefileCodeDocument()
Create a new CPPMakefileCodeDocument.
Definition: cppcodegenerator.cpp:297
This class is sooo ugly I don't know where to begin.
Definition: codeviewerdialog.h:27
configurable params for the code viewer tool
Definition: codeviewerstate.h:20
virtual QStringList reservedKeywords() const
Get list of reserved keywords.
Definition: cppcodegenerator.cpp:400
virtual void writeCodeToFile()
Write out all code documents to file as appropriate.
Definition: cppcodegenerator.cpp:226
CPPHeaderCodeDocument * findHeaderCodeDocumentByClassifier(UMLClassifier *classifier)
Find a cppheadercodedocument by the given classifier.
Definition: cppcodegenerator.cpp:263
bool getCreateProjectMakefile()
Get the value of m_createMakefile.
Definition: cppcodegenerator.cpp:82
void setCreateProjectMakefile(bool buildIt)
Set the value of m_createMakefile.
Definition: cppcodegenerator.cpp:69
This class collects together all of the code documents which form this project, and generates code fo...
Definition: codegenerator.h:68
bool addHeaderCodeDocument(CPPHeaderCodeDocument *doc)
Add a header CodeDocument object from m_headercodedocumentVector List.
Definition: cppcodegenerator.cpp:92
Uml::ProgrammingLanguage::Enum language() const
Returns language identifier.
Definition: cppcodegenerator.cpp:60
virtual void syncCodeToDocument()
Force a synchronize of this code generator, and its present contents, to that of the parent UMLDocume...
Definition: cppcodegenerator.cpp:208
virtual void checkAddUMLObject(UMLObject *obj)
Check for adding objects to the UMLDocument.
Definition: cppcodegenerator.cpp:340
class CPPMakefileCodeDocument Represents
Definition: cppmakecodedocument.h:23
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.