[Uml-devel] kdesdk/umbrello/umbrello/codegenerators
Brian Thomas
thomas at mail630.gsfc.nasa.gov
Fri Dec 12 07:47:05 UTC 2003
CVS commit by thomas:
bug fix: make isType and getLanguage methods virtual. If not done, random crashes can occur, especially for choosing the xmlschemawriter
M +2 -2 adawriter.h 1.4
M +2 -2 aswriter.h 1.6
M +2 -2 idlwriter.h 1.4
M +2 -2 jswriter.h 1.6
M +2 -2 perlwriter.h 1.6
M +2 -2 phpwriter.h 1.6
M +2 -2 pythonwriter.h 1.6
M +2 -2 sqlwriter.h 1.7
M +2 -2 xmlschemawriter.h 1.7
--- kdesdk/umbrello/umbrello/codegenerators/adawriter.h #1.3:1.4
@@ -45,6 +45,6 @@ public:
virtual void writeClass (UMLClassifier *c);
- bool isType (QString & type);
- QString getLanguage();
+ virtual bool isType (QString & type);
+ virtual QString getLanguage();
private:
--- kdesdk/umbrello/umbrello/codegenerators/aswriter.h #1.5:1.6
@@ -42,6 +42,6 @@ public:
virtual void writeClass(UMLClassifier *c);
- bool isType (QString & type);
- QString getLanguage();
+ virtual bool isType (QString & type);
+ virtual QString getLanguage();
--- kdesdk/umbrello/umbrello/codegenerators/idlwriter.h #1.3:1.4
@@ -43,6 +43,6 @@ public:
virtual void writeClass (UMLClassifier *c);
- bool isType (QString & type);
- QString getLanguage();
+ virtual bool isType (QString & type);
+ virtual QString getLanguage();
private:
--- kdesdk/umbrello/umbrello/codegenerators/jswriter.h #1.5:1.6
@@ -42,6 +42,6 @@ public:
virtual void writeClass(UMLClassifier *c);
- bool isType (QString & type);
- QString getLanguage();
+ virtual bool isType (QString & type);
+ virtual QString getLanguage();
private:
--- kdesdk/umbrello/umbrello/codegenerators/perlwriter.h #1.5:1.6
@@ -47,6 +47,6 @@ public:
virtual void writeClass(UMLClassifier *c);
- bool isType (QString & type);
- QString getLanguage();
+ virtual bool isType (QString & type);
+ virtual QString getLanguage();
private:
--- kdesdk/umbrello/umbrello/codegenerators/phpwriter.h #1.5:1.6
@@ -43,6 +43,6 @@ public:
virtual void writeClass(UMLClassifier *c);
- bool isType (QString & type);
- QString getLanguage();
+ virtual bool isType (QString & type);
+ virtual QString getLanguage();
private:
--- kdesdk/umbrello/umbrello/codegenerators/pythonwriter.h #1.5:1.6
@@ -43,6 +43,6 @@ public:
virtual void writeClass(UMLClassifier *c);
- bool isType (QString & type);
- QString getLanguage();
+ virtual bool isType (QString & type);
+ virtual QString getLanguage();
void setSpaceIndent(int number);
--- kdesdk/umbrello/umbrello/codegenerators/sqlwriter.h #1.6:1.7
@@ -45,6 +45,6 @@ public:
virtual void writeClass(UMLClassifier *c);
- bool isType (QString & type);
- QString getLanguage();
+ virtual bool isType (QString & type);
+ virtual QString getLanguage();
private:
--- kdesdk/umbrello/umbrello/codegenerators/xmlschemawriter.h #1.6:1.7
@@ -64,6 +64,6 @@ public:
virtual void writeClass(UMLClassifier *c);
- bool isType (QString & type);
- QString getLanguage();
+ virtual bool isType (QString & type);
+ virtual QString getLanguage();
private:
More information about the umbrello-devel
mailing list