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

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

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

aswriter.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2003 Alexander Blum <blum@kewbee.de>
5 SPDX-FileCopyrightText: 2004-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef ASWRITER_H
9#define ASWRITER_H
10
11#include "simplecodegenerator.h"
12#include "umloperationlist.h"
13#include "umlassociationlist.h"
14
15class QTextStream;
16
21 class ASWriter : public SimpleCodeGenerator
22{
23 Q_OBJECT
24public:
25
26 ASWriter();
27 virtual ~ASWriter();
28
29 virtual void writeClass(UMLClassifier *c);
30
31 virtual Uml::ProgrammingLanguage::Enum language() const;
32
33 virtual QStringList reservedKeywords() const;
34
35private:
36 void writeOperations(QString classname, UMLOperationList *opList, QTextStream &as);
37 void writeAssociation(QString& classname, UMLAssociationList& assoclist, QTextStream &as);
38
39};
40
41#endif //ASWRITER
ASWriter
Definition aswriter.h:22
ASWriter::reservedKeywords
virtual QStringList reservedKeywords() const
Definition aswriter.cpp:783
ASWriter::writeOperations
void writeOperations(QString classname, UMLOperationList *opList, QTextStream &as)
Definition aswriter.cpp:722
ASWriter::language
virtual Uml::ProgrammingLanguage::Enum language() const
Definition aswriter.cpp:774
ASWriter::~ASWriter
virtual ~ASWriter()
Definition aswriter.cpp:467
ASWriter::ASWriter
ASWriter()
Definition aswriter.cpp:460
ASWriter::writeClass
virtual void writeClass(UMLClassifier *c)
Definition aswriter.cpp:475
ASWriter::writeAssociation
void writeAssociation(QString &classname, UMLAssociationList &assoclist, QTextStream &as)
Definition aswriter.cpp:666
SimpleCodeGenerator
Definition simplecodegenerator.h:30
UMLClassifier
Information for a non-graphical Concept/Class.
Definition classifier.h:35
Uml::ProgrammingLanguage::Enum
Enum
Definition basictypes.h:291
simplecodegenerator.h
umlassociationlist.h
UMLAssociationList
QList< UMLAssociation * > UMLAssociationList
Definition umlassociationlist.h:14
umloperationlist.h
UMLOperationList
QList< UMLOperation * > UMLOperationList
Definition umloperationlist.h:14