phpwriter.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef PHPWRITER_H
00019 #define PHPWRITER_H
00020
00021 #include "simplecodegenerator.h"
00022 #include "../umlattributelist.h"
00023 #include "../umloperationlist.h"
00024
00029 class PhpWriter : public SimpleCodeGenerator {
00030 Q_OBJECT
00031 public:
00032
00033 PhpWriter();
00034 virtual ~PhpWriter();
00035
00040 virtual void writeClass(UMLClassifier *c);
00041
00045 virtual Uml::Programming_Language getLanguage();
00046
00050 virtual const QStringList reservedKeywords() const;
00051
00052 private:
00053
00057 bool bPrivateSectionCommentIsWritten;
00058
00065 void writeOperations(UMLClassifier *c, QTextStream &php);
00066
00074 void writeOperations(QString classname, UMLOperationList &opList,
00075 QTextStream &php);
00076
00081 void writeAttributes(UMLClassifier *c, QTextStream &php);
00082
00087 void writeAttributes(UMLAttributeList &atList, QTextStream &php);
00088 };
00089
00090 #endif //PHPWRITER
This file is part of the documentation for umbrello Version 3.1.0.