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

umbrello 2.34.0 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 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2021 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef MYSQLWRITER_H
7#define MYSQLWRITER_H
8
9#include "sqlwriter.h"
10#include "umlattributelist.h"
11
12//forward declarations
13class UMLClassifierListItemList;
14
21 class MySQLWriter : public SQLWriter
22{
23 Q_OBJECT
24public:
25
26 MySQLWriter();
27 virtual ~MySQLWriter();
28
29 Uml::ProgrammingLanguage::Enum language() const;
30
31 QStringList defaultDatatypes() const;
32
33 void printForeignKeyConstraints(QTextStream& sql, UMLClassifierListItemList constrList);
34 void printCheckConstraints(QTextStream& sql, UMLClassifierListItemList constrList);
35
36protected:
37
38 virtual void printAutoIncrements(QTextStream& sql, UMLEntityAttributeList entAttList);
39
40};
41
42#endif // MySQLWRITER_H
MySQLWriter
Definition: mysqlwriter.h:22
MySQLWriter::printCheckConstraints
void printCheckConstraints(QTextStream &sql, UMLClassifierListItemList constrList)
Definition: mysqlwriter.cpp:153
MySQLWriter::~MySQLWriter
virtual ~MySQLWriter()
Definition: mysqlwriter.cpp:23
MySQLWriter::language
Uml::ProgrammingLanguage::Enum language() const
Definition: mysqlwriter.cpp:30
MySQLWriter::defaultDatatypes
QStringList defaultDatatypes() const
Definition: mysqlwriter.cpp:38
MySQLWriter::printAutoIncrements
virtual void printAutoIncrements(QTextStream &sql, UMLEntityAttributeList entAttList)
Definition: mysqlwriter.cpp:109
MySQLWriter::MySQLWriter
MySQLWriter()
Definition: mysqlwriter.cpp:19
MySQLWriter::printForeignKeyConstraints
void printForeignKeyConstraints(QTextStream &sql, UMLClassifierListItemList constrList)
Definition: mysqlwriter.cpp:81
SQLWriter
Definition: sqlwriter.h:26
UMLClassifierListItemList
Definition: umlclassifierlistitemlist.h:22
UMLEntityAttributeList
Definition: umlentityattributelist.h:20
Uml::ProgrammingLanguage::Enum
Enum
Definition: basictypes.h:291
sqlwriter.h
umlattributelist.h