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

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

phpwriter.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 * copyright (C) 2003-2020 *
9 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10 ***************************************************************************/
11
12 #ifndef PHPWRITER_H
13 #define PHPWRITER_H
14
15 #include "simplecodegenerator.h"
16 #include "umlattributelist.h"
17 #include "umloperationlist.h"
18
23 class PhpWriter : public SimpleCodeGenerator
24 {
25 Q_OBJECT
26 public:
27
28 PhpWriter();
29 virtual ~PhpWriter();
30
31 virtual void writeClass(UMLClassifier *c);
32
33 virtual Uml::ProgrammingLanguage::Enum language() const;
34
35 virtual QStringList reservedKeywords() const;
36
37 private:
38 void writeOperations(UMLClassifier *c, QTextStream &php);
39 void writeOperations(const QString& classname,
40 UMLOperationList &opList,
41 QTextStream &php);
42
43 void writeAttributes(UMLClassifier *c, QTextStream &php);
44 void writeAttributes(UMLAttributeList &atList, QTextStream &php);
45 };
46
47 #endif //PHPWRITER
PhpWriter
Definition: phpwriter.h:24
PhpWriter::writeOperations
void writeOperations(UMLClassifier *c, QTextStream &php)
Definition: phpwriter.cpp:3146
PhpWriter::PhpWriter
PhpWriter()
Definition: phpwriter.cpp:2980
PhpWriter::reservedKeywords
virtual QStringList reservedKeywords() const
Definition: phpwriter.cpp:3353
PhpWriter::language
virtual Uml::ProgrammingLanguage::Enum language() const
Definition: phpwriter.cpp:3344
PhpWriter::writeAttributes
void writeAttributes(UMLClassifier *c, QTextStream &php)
Definition: phpwriter.cpp:3267
PhpWriter::writeClass
virtual void writeClass(UMLClassifier *c)
Definition: phpwriter.cpp:2992
PhpWriter::~PhpWriter
virtual ~PhpWriter()
Definition: phpwriter.cpp:2984
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:271
simplecodegenerator.h
umlattributelist.h
umloperationlist.h
UMLOperationList
QList< UMLOperation * > UMLOperationList
Definition: umloperationlist.h:18