umbrello 2.39.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <perlwriter.h>
Private Member Functions | |
void | writeOperations (UMLClassifier *c, QTextStream &perl) |
void | writeOperations (const QString &classname, UMLOperationList &opList, QTextStream &perl) |
void | writeAttributes (UMLClassifier *c, QTextStream &perl) |
void | writeAttributes (UMLAttributeList &atList, QTextStream &perl) |
bool | GetUseStatements (UMLClassifier *c, QString &Ret, QString &ThisPkgName) |
Class PerlWriter is a Perl code generator for UMLClassifier objects. Just call writeClass and feed it a UMLClassifier.
PerlWriter::PerlWriter | ( | ) |
|
virtual |
|
virtual |
Get list of default datatypes.
Reimplemented from CodeGenerator.
|
private |
|
virtual |
|
virtual |
Get list of reserved keywords.
Reimplemented from CodeGenerator.
|
private |
Write a list of class attributes.
atList | the list of attributes |
perl | output stream for the Perl file |
|
private |
Write all the attributes of a class.
c | the class we are generating code for |
perl | output stream for the Perl file |
|
virtual |
Call this method to generate Perl code for a UMLClassifier.
c | the class you want to generate code for |
Implements SimpleCodeGenerator.
|
private |
Write a list of class operations.
classname | the name of the class |
opList | the list of operations |
perl | output stream for the Perl file |
|
private |
Write all operations for a given class.
c | the classifier we are generating code for |
perl | output stream for the Perl file |