umbrello: umbrello/codegenerators/php/php5writer.h Source File

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

php5writer.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) 2002 Heiko Nardmann <h.nardmann@secunet.de> *
8 * Thorsten Kunz <tk AT bytecrash DOT net> *
9 * copyright (C) 2003-2020 *
10 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
11 ***************************************************************************/
12
13 #ifndef PHP5WRITER_H
14 #define PHP5WRITER_H
15
16 #include "simplecodegenerator.h"
17 #include "umlattributelist.h"
18 #include "umloperationlist.h"
19
24 class Php5Writer : public SimpleCodeGenerator
25 {
26 Q_OBJECT
27 public:
28
29 Php5Writer();
30 virtual ~Php5Writer();
31
32 virtual void writeClass(UMLClassifier *c);
33
34 virtual Uml::ProgrammingLanguage::Enum language() const;
35
36 virtual QStringList reservedKeywords() const;
37
38 private:
39 void writeOperations(UMLClassifier *c, QTextStream &php);
40 void writeOperations(const QString &classname, UMLOperationList &opList,
41 QTextStream &php,
42 bool interface = false, bool generateErrorStub = false);
43
44 void writeAttributes(UMLClassifier *c, QTextStream &php);
45 void writeAttributes(UMLAttributeList &atList, QTextStream &php);
46 };
47
48 #endif //PHP5WRITER
49
Php5Writer
Definition: php5writer.h:25
Php5Writer::writeAttributes
void writeAttributes(UMLClassifier *c, QTextStream &php)
Definition: php5writer.cpp:3337
Php5Writer::writeClass
virtual void writeClass(UMLClassifier *c)
Definition: php5writer.cpp:2996
Php5Writer::Php5Writer
Php5Writer()
Definition: php5writer.cpp:2984
Php5Writer::reservedKeywords
virtual QStringList reservedKeywords() const
Definition: php5writer.cpp:3441
Php5Writer::language
virtual Uml::ProgrammingLanguage::Enum language() const
Definition: php5writer.cpp:3432
Php5Writer::writeOperations
void writeOperations(UMLClassifier *c, QTextStream &php)
Definition: php5writer.cpp:3155
Php5Writer::~Php5Writer
virtual ~Php5Writer()
Definition: php5writer.cpp:2988
SimpleCodeGenerator
Definition: simplecodegenerator.h:34
UMLAttributeList
Definition: umlattributelist.h:27
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
Uml::ProgrammingLanguage::Enum
Enum
Definition: basictypes.h:305
simplecodegenerator.h
umlattributelist.h
umloperationlist.h
UMLOperationList
QList< UMLOperation * > UMLOperationList
Definition: umloperationlist.h:18