php5writer.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef PHP5WRITER_H
00021 #define PHP5WRITER_H
00022
00023 #include "simplecodegenerator.h"
00024 #include "../umlattributelist.h"
00025 #include "../umloperationlist.h"
00026
00031 class Php5Writer : public SimpleCodeGenerator {
00032 Q_OBJECT
00033 public:
00034
00035 Php5Writer();
00036 virtual ~Php5Writer();
00037
00042 virtual void writeClass(UMLClassifier *c);
00043
00047 virtual Uml::Programming_Language getLanguage();
00048
00052 virtual const QStringList reservedKeywords() const;
00053
00054 private:
00055
00059 bool bPrivateSectionCommentIsWritten;
00060
00067 void writeOperations(UMLClassifier *c, QTextStream &php);
00068
00077 void writeOperations(const QString &classname, UMLOperationList &opList,
00078 QTextStream &php,
00079 bool interface = false, bool generateErrorStub = false);
00080
00085 void writeAttributes(UMLClassifier *c, QTextStream &php);
00086
00091 void writeAttributes(UMLAttributeList &atList, QTextStream &php);
00092 };
00093
00094 #endif //PHP5WRITER
00095
This file is part of the documentation for umbrello Version 3.1.0.