• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

umbrello/umbrello

  • sources
  • kde-4.12
  • kdesdk
  • umbrello
  • umbrello
  • codegenerators
  • php
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-2013 *
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 
40  bool bPrivateSectionCommentIsWritten;
41 
42  void writeOperations(UMLClassifier *c, QTextStream &php);
43  void writeOperations(const QString &classname, UMLOperationList &opList,
44  QTextStream &php,
45  bool interface = false, bool generateErrorStub = false);
46 
47  void writeAttributes(UMLClassifier *c, QTextStream &php);
48  void writeAttributes(UMLAttributeList &atList, QTextStream &php);
49 };
50 
51 #endif //PHP5WRITER
52 
UMLClassifier
This class defines the non-graphical information required for a UML Classifier (ie a class or interfa...
Definition: classifier.h:39
Php5Writer::~Php5Writer
virtual ~Php5Writer()
Definition: php5writer.cpp:2988
Uml::ProgrammingLanguage::Enum
Enum
Definition: basictypes.h:241
SimpleCodeGenerator
A simple code generator interface designed to work with the existing codewriters. ...
Definition: simplecodegenerator.h:28
UMLAttributeList
This sub-class adds copyInto and clone to the QPtrList base class.
Definition: umlattributelist.h:26
simplecodegenerator.h
Php5Writer
Class Php5Writer is a PHP code generator for UMLClassifier objects.
Definition: php5writer.h:24
umlattributelist.h
Php5Writer::reservedKeywords
virtual QStringList reservedKeywords() const
Get list of reserved keywords.
Definition: php5writer.cpp:3436
umloperationlist.h
Php5Writer::Php5Writer
Php5Writer()
Definition: php5writer.cpp:2984
Php5Writer::writeClass
virtual void writeClass(UMLClassifier *c)
Call this method to generate Php code for a UMLClassifier.
Definition: php5writer.cpp:2996
Php5Writer::language
virtual Uml::ProgrammingLanguage::Enum language() const
Returns "PHP".
Definition: php5writer.cpp:3427
QList
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal