umbrello: umbrello/codegenerators/php/php5writer.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

php5writer.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2002 Heiko Nardmann <h.nardmann@secunet.de>
5 SPDX-FileCopyrightText: 2004 Thorsten Kunz <tk AT bytecrash DOT net>
6 SPDX-FileCopyrightText: 2003-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
7*/
8
9#ifndef PHP5WRITER_H
10#define PHP5WRITER_H
11
12#include "simplecodegenerator.h"
13#include "umlattributelist.h"
14#include "umloperationlist.h"
15
20 class Php5Writer : public SimpleCodeGenerator
21{
22 Q_OBJECT
23public:
24
25 Php5Writer();
26 virtual ~Php5Writer();
27
28 virtual void writeClass(UMLClassifier *c);
29
30 virtual Uml::ProgrammingLanguage::Enum language() const;
31
32 virtual QStringList reservedKeywords() const;
33
34private:
35 void writeOperations(UMLClassifier *c, QTextStream &php);
36 void writeOperations(const QString &classname, UMLOperationList &opList,
37 QTextStream &php,
38 bool interface = false, bool generateErrorStub = false);
39
40 void writeAttributes(UMLClassifier *c, QTextStream &php);
41 void writeAttributes(UMLAttributeList &atList, QTextStream &php);
42};
43
44#endif //PHP5WRITER
45
Php5Writer
Definition php5writer.h:21
Php5Writer::writeAttributes
void writeAttributes(UMLClassifier *c, QTextStream &php)
Definition php5writer.cpp:3335
Php5Writer::writeClass
virtual void writeClass(UMLClassifier *c)
Definition php5writer.cpp:2993
Php5Writer::Php5Writer
Php5Writer()
Definition php5writer.cpp:2981
Php5Writer::reservedKeywords
virtual QStringList reservedKeywords() const
Definition php5writer.cpp:3439
Php5Writer::language
virtual Uml::ProgrammingLanguage::Enum language() const
Definition php5writer.cpp:3430
Php5Writer::writeOperations
void writeOperations(UMLClassifier *c, QTextStream &php)
Definition php5writer.cpp:3152
Php5Writer::~Php5Writer
virtual ~Php5Writer()
Definition php5writer.cpp:2985
SimpleCodeGenerator
Definition simplecodegenerator.h:30
UMLAttributeList
Definition umlattributelist.h:21
UMLClassifier
Information for a non-graphical Concept/Class.
Definition classifier.h:35
Uml::ProgrammingLanguage::Enum
Enum
Definition basictypes.h:291
simplecodegenerator.h
umlattributelist.h
umloperationlist.h
UMLOperationList
QList< UMLOperation * > UMLOperationList
Definition umloperationlist.h:14