PascalWriter Class Reference
Pascal class writer. More...
#include <pascalwriter.h>
Inheritance diagram for PascalWriter:

Public Member Functions | |
| PascalWriter () | |
| Basic Constructor. | |
| virtual | ~PascalWriter () |
| Empty Destructor. | |
| virtual void | writeClass (UMLClassifier *c) |
| call this method to generate Ada code for a UMLClassifier | |
| virtual Uml::Programming_Language | getLanguage () |
| returns "Pascal" | |
| QStringList | defaultDatatypes () |
| Return the default datatypes for your language (bool, int etc) Default implementation returns empty list. | |
| virtual bool | isReservedKeyword (const QString &rPossiblyReservedKeyword) |
| Check whether the given string is a reserved word for the language of this code generator. | |
| virtual const QStringList | reservedKeywords () const |
| get list of reserved keywords | |
Detailed Description
Pascal class writer.
- Author:
- Oliver Kellogg Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 25 of file pascalwriter.h.
Constructor & Destructor Documentation
|
|
Basic Constructor.
Definition at line 38 of file pascalwriter.cpp. |
|
|
Empty Destructor.
Definition at line 41 of file pascalwriter.cpp. |
Member Function Documentation
|
|
call this method to generate Ada code for a UMLClassifier
Implements SimpleCodeGenerator. Definition at line 123 of file pascalwriter.cpp. References ClassifierInfo::atpriv, ClassifierInfo::atprot, ClassifierInfo::atpub, CodeGenerator::cleanName(), CodeGenerator::codeGenerated(), CodeGenerator::findObjectsRelated(), CodeGenerator::formatDoc(), UMLClassifier::getFilteredList(), CodeGenerator::getHeadingFile(), SimpleCodeGenerator::getIndent(), UMLAttribute::getInitialValue(), UMLObject::getName(), UMLClassifierListItem::getTypeName(), UMLObject::getVisibility(), CodeGenerator::openFile(), and CodeGenerator::overwritableName(). |
|
|
returns "Pascal"
Implements CodeGenerator. Definition at line 46 of file pascalwriter.cpp. |
|
|
Return the default datatypes for your language (bool, int etc) Default implementation returns empty list.
Reimplemented from CodeGenerator. Definition at line 369 of file pascalwriter.cpp. |
|
|
Check whether the given string is a reserved word for the language of this code generator.
Reimplemented from CodeGenerator. Definition at line 403 of file pascalwriter.cpp. References reservedKeywords(). |
|
|
get list of reserved keywords
Reimplemented from CodeGenerator. Definition at line 418 of file pascalwriter.cpp. Referenced by isReservedKeyword(). |
The documentation for this class was generated from the following files:
