umbrello/umbrello
AdaWriter Class Reference
#include <adawriter.h>

Detailed Description
class AdaWriter is a code generator for UMLClassifier objects.Create an instance of this class, and feed it a UMLClassifier when calling writeClass and it will generate an Ada package spec for that concept
Definition at line 33 of file adawriter.h.
Public Member Functions | |
| AdaWriter () | |
| virtual | ~AdaWriter () |
| 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
| AdaWriter::AdaWriter | ( | ) |
| AdaWriter::~AdaWriter | ( | ) | [virtual] |
Member Function Documentation
| void AdaWriter::writeClass | ( | UMLClassifier * | c | ) | [virtual] |
call this method to generate Ada code for a UMLClassifier
- Parameters:
-
c the class to generate code for
Implements SimpleCodeGenerator.
Definition at line 148 of file adawriter.cpp.
| Uml::Programming_Language AdaWriter::getLanguage | ( | ) | [virtual] |
| QStringList AdaWriter::defaultDatatypes | ( | ) | [virtual] |
Return the default datatypes for your language (bool, int etc).
Default implementation returns empty list.
Reimplemented from CodeGenerator.
Definition at line 520 of file adawriter.cpp.
| bool AdaWriter::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.
- Returns:
- true if the keyword is reserved
- Parameters:
-
rPossiblyReservedKeyword The string to check.
Reimplemented from CodeGenerator.
Definition at line 542 of file adawriter.cpp.
| const QStringList AdaWriter::reservedKeywords | ( | ) | const [virtual] |
get list of reserved keywords
Reimplemented from CodeGenerator.
Definition at line 557 of file adawriter.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference