umbrello: umbrello/codegenerators/js/jswriter.h Source File

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

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

- File List
- File Members

jswriter.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 JSWRITER_H
9#define JSWRITER_H
10
11#include "simplecodegenerator.h"
12#include "umloperationlist.h"
13#include "umlassociationlist.h"
14
15class QTextStream;
16
21 class JSWriter : public SimpleCodeGenerator
22{
23 Q_OBJECT
24public:
25
26 JSWriter();
27 virtual ~JSWriter();
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 &js);
37
38 void writeAssociation(QString& classname, UMLAssociationList& assoclist, QTextStream &js);
39};
40
41#endif //JSWRITER
JSWriter
Definition jswriter.h:22
JSWriter::writeClass
virtual void writeClass(UMLClassifier *c)
Definition jswriter.cpp:32
JSWriter::language
virtual Uml::ProgrammingLanguage::Enum language() const
Definition jswriter.cpp:285
JSWriter::JSWriter
JSWriter()
Definition jswriter.cpp:20
JSWriter::reservedKeywords
virtual QStringList reservedKeywords() const
Definition jswriter.cpp:294
JSWriter::~JSWriter
virtual ~JSWriter()
Definition jswriter.cpp:24
JSWriter::writeAssociation
void writeAssociation(QString &classname, UMLAssociationList &assoclist, QTextStream &js)
Definition jswriter.cpp:185
JSWriter::writeOperations
void writeOperations(QString classname, UMLOperationList *opList, QTextStream &js)
Definition jswriter.cpp:233
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