umbrello/umbrello
PascalWriter Class Reference
Pascal class writer. More...
#include <pascalwriter.h>

Public Member Functions | |
| PascalWriter () | |
| virtual | ~PascalWriter () |
| QStringList | defaultDatatypes () |
| virtual Uml::Programming_Language | getLanguage () |
| virtual bool | isReservedKeyword (const QString &rPossiblyReservedKeyword) |
| virtual const QStringList | reservedKeywords () const |
| virtual void | writeClass (UMLClassifier *c) |
Detailed Description
Pascal class writer.
Definition at line 25 of file pascalwriter.h.
Constructor & Destructor Documentation
| PascalWriter::PascalWriter | ( | ) |
Basic Constructor.
Definition at line 37 of file pascalwriter.cpp.
| PascalWriter::~PascalWriter | ( | ) | [virtual] |
Empty Destructor.
Definition at line 41 of file pascalwriter.cpp.
Member Function Documentation
| QStringList PascalWriter::defaultDatatypes | ( | ) | [virtual] |
Returns the default datatypes in a list.
- Returns:
- the list of default datatypes
Reimplemented from CodeGenerator.
Definition at line 384 of file pascalwriter.cpp.
| Uml::Programming_Language PascalWriter::getLanguage | ( | ) | [virtual] |
Returns "Pascal".
- Returns:
- the programming language identifier
Implements CodeGenerator.
Definition at line 45 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 419 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 434 of file pascalwriter.cpp.
| 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 126 of file pascalwriter.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference