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

umbrello 2.31.0 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

postgresqlwriter.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 POSTGRESQLWRITER_H
12 #define POSTGRESQLWRITER_H
13
14 #include "sqlwriter.h"
15
22 class PostgreSQLWriter : public SQLWriter
23 {
24 Q_OBJECT
25 public:
26
27 PostgreSQLWriter();
28 virtual ~PostgreSQLWriter();
29
30 Uml::ProgrammingLanguage::Enum language() const;
31
32 QStringList defaultDatatypes();
33
34 protected:
35
36 void printAutoIncrements(QTextStream& sql, UMLEntityAttributeList entAttList);
37
38 };
39
40 #endif // PostgreSQLWRITER_H
Uml::ProgrammingLanguage::Enum
Enum
Definition: basictypes.h:288
Uml::ProgrammingLanguage::PostgreSQL
@ PostgreSQL
Definition: basictypes.h:302
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
entity.h
CodeGenerator::cleanName
static QString cleanName(const QString &name)
Definition: codegenerator.cpp:549
SQLWriter
Definition: sqlwriter.h:29
PostgreSQLWriter::language
Uml::ProgrammingLanguage::Enum language() const
Definition: postgresqlwriter.cpp:32
PostgreSQLWriter::~PostgreSQLWriter
virtual ~PostgreSQLWriter()
Definition: postgresqlwriter.cpp:25
PostgreSQLWriter
Definition: postgresqlwriter.h:22
postgresqlwriter.h
PostgreSQLWriter::printAutoIncrements
void printAutoIncrements(QTextStream &sql, UMLEntityAttributeList entAttList)
Definition: postgresqlwriter.cpp:83
umlentityattributelist.h
SimpleCodeGenerator::m_endl
QString m_endl
Definition: simplecodegenerator.h:87
UMLEntityAttribute::getAutoIncrement
bool getAutoIncrement() const
Definition: entityattribute.cpp:111
PostgreSQLWriter::PostgreSQLWriter
PostgreSQLWriter()
Definition: postgresqlwriter.cpp:21
SQLWriter::m_pEntity
UMLEntity * m_pEntity
Definition: sqlwriter.h:47
UMLEntityAttributeList
Definition: umlentityattributelist.h:25
PostgreSQLWriter::defaultDatatypes
QStringList defaultDatatypes()
Definition: postgresqlwriter.cpp:40
UMLEntityAttribute
Sets up entityattribute information.
Definition: entityattribute.h:25
sqlwriter.h