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 
25 {
26  Q_OBJECT
27 public:
28 
29  Php5Writer();
30  virtual ~Php5Writer();
31 
32  virtual void writeClass(UMLClassifier *c);
33 
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 
Definition: php5writer.h:25
void writeAttributes(UMLClassifier *c, QTextStream &php)
Definition: php5writer.cpp:3337
virtual void writeClass(UMLClassifier *c)
Definition: php5writer.cpp:2996
Php5Writer()
Definition: php5writer.cpp:2984
virtual QStringList reservedKeywords() const
Definition: php5writer.cpp:3441
virtual Uml::ProgrammingLanguage::Enum language() const
Definition: php5writer.cpp:3432
void writeOperations(UMLClassifier *c, QTextStream &php)
Definition: php5writer.cpp:3155
virtual ~Php5Writer()
Definition: php5writer.cpp:2988
Definition: simplecodegenerator.h:34
Definition: umlattributelist.h:27
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
Enum
Definition: basictypes.h:305
QList< UMLOperation * > UMLOperationList
Definition: umloperationlist.h:18