umbrello/umbrello
PascalWriter Class Reference
#include <pascalwriter.h>

Detailed Description
Pascal class writer.
Definition at line 25 of file pascalwriter.h.
Public Member Functions | |
| PascalWriter () | |
| virtual | ~PascalWriter () |
| virtual void | writeClass (UMLClassifier *c) |
| virtual Uml::Programming_Language | getLanguage () |
| QStringList | defaultDatatypes () |
| virtual bool | isReservedKeyword (const QString &rPossiblyReservedKeyword) |
| virtual const QStringList | reservedKeywords () const |
Constructor & Destructor Documentation
| PascalWriter::PascalWriter | ( | ) |
| PascalWriter::~PascalWriter | ( | ) | [virtual] |
Member Function Documentation
| void PascalWriter::writeClass | ( | UMLClassifier * | c | ) | [virtual] |
Call this method to generate Pascal code for a UMLClassifier.
- Parameters:
-
c the class to generate code for
Implements SimpleCodeGenerator.
Definition at line 119 of file pascalwriter.cpp.
| Uml::Programming_Language PascalWriter::getLanguage | ( | ) | [virtual] |
Returns "Pascal".
- Returns:
- the programming language identifier
Implements CodeGenerator.
Definition at line 42 of file pascalwriter.cpp.
| QStringList PascalWriter::defaultDatatypes | ( | ) | [virtual] |
Return the default datatypes for your language (bool, int etc).
Default implementation returns empty list.
Reimplemented from CodeGenerator.
Definition at line 376 of file pascalwriter.cpp.
| bool PascalWriter::isReservedKeyword | ( | const QString & | rPossiblyReservedKeyword | ) | [virtual] |
Check whether the given string is a reserved word for the language of this code generator.
- Parameters:
-
rPossiblyReservedKeyword the string to check rPossiblyReservedKeyword The string to check.
Reimplemented from CodeGenerator.
Definition at line 410 of file pascalwriter.cpp.
| const QStringList PascalWriter::reservedKeywords | ( | ) | const [virtual] |
Get list of reserved keywords.
get list of reserved keywords
- Returns:
- the list of reserved keywords
Reimplemented from CodeGenerator.
Definition at line 425 of file pascalwriter.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference