umbrello: umbrello/codegenerators/sql/mysqlwriter.h Source File

umbrello 2.32.1 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
18 class UMLClassifierListItemList;
19
26 class MySQLWriter : public SQLWriter
27 {
28 Q_OBJECT
29 public:
30
31 MySQLWriter();
32 virtual ~MySQLWriter();
33
34 Uml::ProgrammingLanguage::Enum language() const;
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
MySQLWriter
Definition: mysqlwriter.h:27
MySQLWriter::printCheckConstraints
void printCheckConstraints(QTextStream &sql, UMLClassifierListItemList constrList)
Definition: mysqlwriter.cpp:158
MySQLWriter::~MySQLWriter
virtual ~MySQLWriter()
Definition: mysqlwriter.cpp:28
MySQLWriter::language
Uml::ProgrammingLanguage::Enum language() const
Definition: mysqlwriter.cpp:35
MySQLWriter::defaultDatatypes
QStringList defaultDatatypes()
Definition: mysqlwriter.cpp:43
MySQLWriter::printAutoIncrements
virtual void printAutoIncrements(QTextStream &sql, UMLEntityAttributeList entAttList)
Definition: mysqlwriter.cpp:114
MySQLWriter::MySQLWriter
MySQLWriter()
Definition: mysqlwriter.cpp:24
MySQLWriter::printForeignKeyConstraints
void printForeignKeyConstraints(QTextStream &sql, UMLClassifierListItemList constrList)
Definition: mysqlwriter.cpp:86
SQLWriter
Definition: sqlwriter.h:30
UMLClassifierListItemList
Definition: umlclassifierlistitemlist.h:27
UMLEntityAttributeList
Definition: umlentityattributelist.h:26
Uml::ProgrammingLanguage::Enum
Enum
Definition: basictypes.h:305
sqlwriter.h
umlattributelist.h