umbrello  2.32.3
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 
26 {
27  Q_OBJECT
28 public:
29 
30  ASWriter();
31  virtual ~ASWriter();
32 
33  virtual void writeClass(UMLClassifier *c);
34 
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
Definition: aswriter.h:26
virtual QStringList reservedKeywords() const
Definition: aswriter.cpp:786
void writeOperations(QString classname, UMLOperationList *opList, QTextStream &as)
Definition: aswriter.cpp:725
virtual Uml::ProgrammingLanguage::Enum language() const
Definition: aswriter.cpp:777
virtual ~ASWriter()
Definition: aswriter.cpp:470
ASWriter()
Definition: aswriter.cpp:463
virtual void writeClass(UMLClassifier *c)
Definition: aswriter.cpp:478
void writeAssociation(QString &classname, UMLAssociationList &assoclist, QTextStream &as)
Definition: aswriter.cpp:669
Definition: simplecodegenerator.h:34
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
Enum
Definition: basictypes.h:271
QList< UMLAssociation * > UMLAssociationList
Definition: umlassociationlist.h:18
QList< UMLOperation * > UMLOperationList
Definition: umloperationlist.h:18