umbrello
2.34.3
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
Go to the documentation of this file.
8 #ifndef SIMPLECODEGENERATOR_H
9 #define SIMPLECODEGENERATOR_H
16 #include <QStringList>
83 #endif // SIMPLECODEGENERATOR_H
@ Ok
Definition: codegenerationpolicy.h:42
virtual void finalizeRun()
Definition: codegenerator.cpp:384
QString m_indentation
Definition: simplecodegenerator.h:72
virtual void writeClass(UMLClassifier *c)=0
@ Ask
Definition: codegenerationpolicy.h:42
Definition: umlattributelist.h:20
UMLClassifierList classesAndInterfaces(bool includeNested=true) const
Definition: umldoc.cpp:3000
SimpleCodeGenerator(bool createDirHierarchyForPackages=true)
Definition: simplecodegenerator.cpp:44
QString getInitialValue() const
Definition: attribute.cpp:100
CodeGenerationPolicy * commonPolicy() const
Definition: uml.cpp:2383
QString fileName_
Definition: simplecodegenerator.h:48
bool hasDefaultValueAttr(UMLClassifier *c)
Definition: simplecodegenerator.cpp:251
@ Never
Definition: codegenerationpolicy.h:42
QString overwritableName(UMLPackage *concept, const QString &name, const QString &ext)
Definition: simplecodegenerator.cpp:163
QList< UMLClassifier * > UMLClassifierList
Definition: umlclassifierlist.h:12
void setOverwritePolicy(OverwritePolicy new_var)
Definition: codegenerationpolicy.cpp:70
QString indent()
Definition: simplecodegenerator.cpp:72
bool isAbstract() const
Definition: umlobject.cpp:344
int m_indentLevel
Definition: simplecodegenerator.h:73
@ Cancel
Definition: codegenerationpolicy.h:42
bool m_createDirHierarchyForPackages
Definition: simplecodegenerator.h:69
bool hasAbstractOps(UMLClassifier *c)
Definition: simplecodegenerator.cpp:266
it is up to the author donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License If the distribution and or use of the Library is restricted in certain countries either by patents or by copyrighted the original copyright holder who places the Library under this License may add an geographical distribution limitation excluding those so that distribution is permitted only in or among countries not thus excluded In such this License incorporates the limitation as if written in the body of this License The Free Software Foundation may publish revised and or new versions of the Library General Public License from time to time Such new versions will be similar in spirit to the present but may differ in detail to address new problems or concerns Each version is given a distinguishing version number If the Library specifies a version number of this License which applies to it and any later you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation If the Library does not specify a license version number
Definition: LGPL-2.0-only.txt:368
QString className_
Definition: simplecodegenerator.h:47
QString m_endl
Definition: simplecodegenerator.h:74
virtual QString fullyQualifiedName(const QString &separator=QString(), bool includeRoot=false) const
Definition: umlobject.cpp:223
bool isCommonDataType(QString type)
Definition: model_utils.cpp:811
virtual void syncCodeToDocument()
Definition: simplecodegenerator.cpp:303
QString getIndentation() const
Definition: codegenerationpolicy.cpp:300
#define i18n
Definition: main.cpp:35
Definition: codegenerationpolicy.h:25
Definition: simplecodegenerator.h:29
type show c for details The hypothetical commands show w and show c should show the appropriate parts of the General Public License Of the commands you use may be called something other than show w and show c
Definition: GPL-2.0-only.txt:301
OverwritePolicy getOverwritePolicy() const
Definition: codegenerationpolicy.cpp:81
static UMLApp * app()
Definition: uml.cpp:276
Sets up attribute information.
Definition: attribute.h:22
void writeCodeToFile()
Definition: simplecodegenerator.cpp:279
bool m_applyToAllRemaining
Definition: codegenerator.h:141
Definition: operation.h:19
virtual void initFromParentDocument()
Definition: simplecodegenerator.cpp:314
QString getNewLineEndingChars() const
Definition: codegenerationpolicy.cpp:249
Information for a non-graphical Concept/Class.
Definition: classifier.h:34
QDir getOutputDirectory()
Definition: codegenerationpolicy.cpp:207
virtual ~SimpleCodeGenerator()
Definition: simplecodegenerator.cpp:64
Definition: codegenerator.h:53
Definition: overwritedialog.h:24
QList< UMLOperation * > UMLOperationList
Definition: umloperationlist.h:12
UMLDoc * m_document
Definition: codegenerator.h:146
QMap< UMLPackage *, QString > m_fileMap
Definition: simplecodegenerator.h:61
QString findFileName(UMLPackage *concept, const QString &ext)
Definition: simplecodegenerator.cpp:87
Non-graphical information for a Package.
Definition: package.h:27