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

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 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:782
ASWriter::writeOperations
void writeOperations(QString classname, UMLOperationList *opList, QTextStream &as)
Definition: aswriter.cpp:721
ASWriter::language
virtual Uml::ProgrammingLanguage::Enum language() const
Definition: aswriter.cpp:773
ASWriter::~ASWriter
virtual ~ASWriter()
Definition: aswriter.cpp:466
ASWriter::ASWriter
ASWriter()
Definition: aswriter.cpp:459
ASWriter::writeClass
virtual void writeClass(UMLClassifier *c)
Definition: aswriter.cpp:474
ASWriter::writeAssociation
void writeAssociation(QString &classname, UMLAssociationList &assoclist, QTextStream &as)
Definition: aswriter.cpp:665
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:12
umloperationlist.h
UMLOperationList
QList< UMLOperation * > UMLOperationList
Definition: umloperationlist.h:12