umbrello/umbrello
#include <pascalwriter.h>
Additional Inherited Members | |
Public Slots inherited from SimpleCodeGenerator | |
void | syncCodeToDocument () |
Public Slots inherited from CodeGenerator | |
virtual void | checkAddUMLObject (UMLObject *obj) |
virtual void | checkRemoveUMLObject (UMLObject *obj) |
virtual void | syncCodeToDocument () |
Signals inherited from CodeGenerator | |
void | codeGenerated (UMLClassifier *concept, bool generated) |
void | showGeneratedFile (const QString &filename) |
Static Public Member Functions inherited from CodeGenerator | |
static QString | cleanName (const QString &name) |
static void | findObjectsRelated (UMLClassifier *c, UMLPackageList &cList) |
static QString | formatDoc (const QString &text, const QString &linePrefix=" *", int lineWidth=80) |
static QString | formatSourceCode (const QString &code, const QString &indentation) |
Protected Member Functions inherited from SimpleCodeGenerator | |
QString | findFileName (UMLPackage *concept, const QString &ext) |
bool | hasAbstractOps (UMLClassifier *c) |
bool | hasDefaultValueAttr (UMLClassifier *c) |
QString | indent () |
void | initFromParentDocument () |
QString | overwritableName (UMLPackage *concept, const QString &name, const QString &ext) |
Protected Member Functions inherited from CodeGenerator | |
bool | openFile (QFile &file, const QString &name) |
QString | overwritableName (const QString &name, const QString &extension) |
void | writeListedCodeDocsToFile (CodeDocumentList *docs) |
Protected Attributes inherited from SimpleCodeGenerator | |
QString | className_ |
QString | fileName_ |
bool | m_createDirHierarchyForPackages |
QString | m_endl |
QMap< UMLPackage *, QString > | m_fileMap |
QString | m_indentation |
int | m_indentLevel |
Protected Attributes inherited from CodeGenerator | |
bool | m_applyToAllRemaining |
QHash< QString, CodeDocument * > | m_codeDocumentDictionary |
UMLDoc * | m_document |
Detailed Description
Pascal class writer.
Definition at line 25 of file pascalwriter.h.
Constructor & Destructor Documentation
PascalWriter::PascalWriter | ( | ) |
Basic Constructor.
Definition at line 39 of file pascalwriter.cpp.
|
virtual |
Empty Destructor.
Definition at line 47 of file pascalwriter.cpp.
Member Function Documentation
|
virtual |
Returns the default datatypes in a list.
- Returns
- the list of default datatypes
Reimplemented from CodeGenerator.
Definition at line 410 of file pascalwriter.cpp.
|
virtual |
Check whether the given string is a reserved word for the language of this code generator.
- Parameters
-
rPossiblyReservedKeyword the string to check
Reimplemented from CodeGenerator.
Definition at line 444 of file pascalwriter.cpp.
|
virtual |
Returns "Pascal".
- Returns
- the programming language identifier
Implements CodeGenerator.
Definition at line 55 of file pascalwriter.cpp.
|
virtual |
Get list of reserved keywords.
- Returns
- the list of reserved keywords
Reimplemented from CodeGenerator.
Definition at line 460 of file pascalwriter.cpp.
|
virtual |
Call this method to generate Pascal code for a UMLClassifier.
- Parameters
-
c the class to generate code for
Implements SimpleCodeGenerator.
Definition at line 142 of file pascalwriter.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.