umbrello  2.31.3
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
mysqlwriter.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-2020 *
8  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9  ***************************************************************************/
10 
11 #ifndef MYSQLWRITER_H
12 #define MYSQLWRITER_H
13 
14 #include "sqlwriter.h"
15 #include "umlattributelist.h"
16 
17 //forward declarations
19 
26 class MySQLWriter : public SQLWriter
27 {
28  Q_OBJECT
29 public:
30 
31  MySQLWriter();
32  virtual ~MySQLWriter();
33 
35 
36  QStringList defaultDatatypes();
37 
38  void printForeignKeyConstraints(QTextStream& sql, UMLClassifierListItemList constrList);
39  void printCheckConstraints(QTextStream& sql, UMLClassifierListItemList constrList);
40 
41 protected:
42 
43  virtual void printAutoIncrements(QTextStream& sql, UMLEntityAttributeList entAttList);
44 
45 };
46 
47 #endif // MySQLWRITER_H
void printCheckConstraints(QTextStream &sql, UMLClassifierListItemList constrList)
Definition: mysqlwriter.cpp:158
Definition: umlclassifierlistitemlist.h:26
Definition: sqlwriter.h:29
Enum
Definition: basictypes.h:271
QStringList defaultDatatypes()
Definition: mysqlwriter.cpp:43
void printForeignKeyConstraints(QTextStream &sql, UMLClassifierListItemList constrList)
Definition: mysqlwriter.cpp:86
virtual void printAutoIncrements(QTextStream &sql, UMLEntityAttributeList entAttList)
Definition: mysqlwriter.cpp:114
virtual ~MySQLWriter()
Definition: mysqlwriter.cpp:28
Definition: umlentityattributelist.h:25
MySQLWriter()
Definition: mysqlwriter.cpp:24
Definition: mysqlwriter.h:26
Uml::ProgrammingLanguage::Enum language() const
Definition: mysqlwriter.cpp:35