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

umbrello/umbrello

php5writer.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   This program is free software; you can redistribute it and/or modify  *
00003  *   it under the terms of the GNU General Public License as published by  *
00004  *   the Free Software Foundation; either version 2 of the License, or     *
00005  *   (at your option) any later version.                                   *
00006  *                                                                         *
00007  *   copyright (C) 2002      Heiko Nardmann  <h.nardmann@secunet.de>       *
00008  *                           Thorsten Kunz   <tk AT bytecrash DOT net>     *
00009  *   copyright (C) 2003-2008                                               *
00010  *   Umbrello UML Modeller Authors <uml-devel@uml.sf.net>                  *
00011  ***************************************************************************/
00012 
00013 #ifndef PHP5WRITER_H
00014 #define PHP5WRITER_H
00015 
00016 #include "simplecodegenerator.h"
00017 #include "umlattributelist.h"
00018 #include "umloperationlist.h"
00019 
00024 class Php5Writer : public SimpleCodeGenerator
00025 {
00026     Q_OBJECT
00027 public:
00028 
00029     Php5Writer();
00030     virtual ~Php5Writer();
00031 
00036     virtual void writeClass(UMLClassifier *c);
00037 
00042     virtual Uml::Programming_Language getLanguage();
00043 
00048     virtual const QStringList reservedKeywords() const;
00049 
00050 private:
00051 
00055     bool bPrivateSectionCommentIsWritten;
00056 
00062     void writeOperations(UMLClassifier *c, QTextStream &php);
00063 
00071     void writeOperations(const QString &classname, UMLOperationList &opList,
00072                          QTextStream &php,
00073                          bool interface = false, bool generateErrorStub = false);
00074 
00080     void writeAttributes(UMLClassifier *c, QTextStream &php);
00081 
00087     void writeAttributes(UMLAttributeList &atList, QTextStream &php);
00088 };
00089 
00090 #endif //PHP5WRITER
00091 

umbrello/umbrello

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

kdesdk

Skip menu "kdesdk"
  • kapptemplate
  • kate
  •     kate
  • kbugbuster
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello
Generated for kdesdk by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal