umbrello: umbrello/codegenerators/as/aswriter.h Source File

umbrello 2.32.1 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

aswriter.h
Go to the documentation of this file.
1 /***************************************************************************
2 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2003 Alexander Blum <blum@kewbee.de> *
8 * copyright (C) 2004-2020 *
9 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10 ***************************************************************************/
11
12 #ifndef ASWRITER_H
13 #define ASWRITER_H
14
15 #include "simplecodegenerator.h"
16 #include "umloperationlist.h"
17 #include "umlassociationlist.h"
18
19 class QTextStream;
20
25 class ASWriter : public SimpleCodeGenerator
26 {
27 Q_OBJECT
28 public:
29
30 ASWriter();
31 virtual ~ASWriter();
32
33 virtual void writeClass(UMLClassifier *c);
34
35 virtual Uml::ProgrammingLanguage::Enum language() const;
36
37 virtual QStringList reservedKeywords() const;
38
39 private:
40 void writeOperations(QString classname, UMLOperationList *opList, QTextStream &as);
41 void writeAssociation(QString& classname, UMLAssociationList& assoclist, QTextStream &as);
42
43 };
44
45 #endif //ASWRITER
ASWriter
Definition: aswriter.h:26
ASWriter::reservedKeywords
virtual QStringList reservedKeywords() const
Definition: aswriter.cpp:786
ASWriter::writeOperations
void writeOperations(QString classname, UMLOperationList *opList, QTextStream &as)
Definition: aswriter.cpp:725
ASWriter::language
virtual Uml::ProgrammingLanguage::Enum language() const
Definition: aswriter.cpp:777
ASWriter::~ASWriter
virtual ~ASWriter()
Definition: aswriter.cpp:470
ASWriter::ASWriter
ASWriter()
Definition: aswriter.cpp:463
ASWriter::writeClass
virtual void writeClass(UMLClassifier *c)
Definition: aswriter.cpp:478
ASWriter::writeAssociation
void writeAssociation(QString &classname, UMLAssociationList &assoclist, QTextStream &as)
Definition: aswriter.cpp:669
SimpleCodeGenerator
Definition: simplecodegenerator.h:34
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
Uml::ProgrammingLanguage::Enum
Enum
Definition: basictypes.h:305
simplecodegenerator.h
umlassociationlist.h
UMLAssociationList
QList< UMLAssociation * > UMLAssociationList
Definition: umlassociationlist.h:18
umloperationlist.h
UMLOperationList
QList< UMLOperation * > UMLOperationList
Definition: umloperationlist.h:18