umbrello/umbrello
#include <postgresqlwriter.h>
Protected Member Functions | |
void | printAutoIncrements (QTextStream &sql, UMLEntityAttributeList entAttList) |
Protected Member Functions inherited from SQLWriter | |
virtual void | printCheckConstraints (QTextStream &sql, UMLClassifierListItemList constrList) |
virtual void | printEntityAttributes (QTextStream &sql, UMLEntityAttributeList entityAttributeList) |
virtual void | printForeignKeyConstraints (QTextStream &sql, UMLClassifierListItemList constrList) |
virtual void | printIndex (QTextStream &sql, UMLEntity *ent, UMLEntityAttributeList entAttList) |
virtual void | printUniqueConstraints (QTextStream &sql, UMLClassifierListItemList constrList) |
Protected Member Functions inherited from SimpleCodeGenerator | |
QString | findFileName (UMLPackage *concept, const QString &ext) |
bool | hasAbstractOps (UMLClassifier *c) |
bool | hasDefaultValueAttr (UMLClassifier *c) |
QString | indent () |
void | initFromParentDocument () |
QString | overwritableName (UMLPackage *concept, const QString &name, const QString &ext) |
Protected Member Functions inherited from CodeGenerator | |
bool | openFile (QFile &file, const QString &name) |
QString | overwritableName (const QString &name, const QString &extension) |
void | writeListedCodeDocsToFile (CodeDocumentList *docs) |
Additional Inherited Members | |
Public Slots inherited from SimpleCodeGenerator | |
void | syncCodeToDocument () |
Public Slots inherited from CodeGenerator | |
virtual void | checkAddUMLObject (UMLObject *obj) |
virtual void | checkRemoveUMLObject (UMLObject *obj) |
virtual void | syncCodeToDocument () |
Signals inherited from CodeGenerator | |
void | codeGenerated (UMLClassifier *concept, bool generated) |
void | showGeneratedFile (const QString &filename) |
Static Public Member Functions inherited from CodeGenerator | |
static QString | cleanName (const QString &name) |
static void | findObjectsRelated (UMLClassifier *c, UMLPackageList &cList) |
static QString | formatDoc (const QString &text, const QString &linePrefix=" *", int lineWidth=80) |
static QString | formatSourceCode (const QString &code, const QString &indentation) |
Protected Attributes inherited from SQLWriter | |
UMLEntity * | m_pEntity |
Protected Attributes inherited from SimpleCodeGenerator | |
QString | className_ |
QString | fileName_ |
bool | m_createDirHierarchyForPackages |
QString | m_endl |
QMap< UMLPackage *, QString > | m_fileMap |
QString | m_indentation |
int | m_indentLevel |
Protected Attributes inherited from CodeGenerator | |
bool | m_applyToAllRemaining |
QHash< QString, CodeDocument * > | m_codeDocumentDictionary |
UMLDoc * | m_document |
Detailed Description
class PostgreSQLWriter is a sql code generator for PostgreSQL Create an instance of this class, and feed it a UMLClassifier when calling writeClass and it will generate a sql source file for that concept
Definition at line 22 of file postgresqlwriter.h.
Constructor & Destructor Documentation
PostgreSQLWriter::PostgreSQLWriter | ( | ) |
Definition at line 21 of file postgresqlwriter.cpp.
|
virtual |
Definition at line 25 of file postgresqlwriter.cpp.
Member Function Documentation
|
virtual |
Reimplement method from CodeGenerator.
Reimplemented from SQLWriter.
Definition at line 40 of file postgresqlwriter.cpp.
|
virtual |
Returns "PostgreSQL".
Reimplemented from SQLWriter.
Definition at line 32 of file postgresqlwriter.cpp.
|
protectedvirtual |
Reimplement printAutoIncrement statements from Base Class for PostgreSQL.
Reimplemented from SQLWriter.
Definition at line 83 of file postgresqlwriter.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.