umbrello/umbrello
#include <dclassifiercodedocument.h>
Additional Inherited Members | |
Public Slots inherited from ClassifierCodeDocument | |
void | addAssociationClassField (UMLAssociation *assoc, bool syncToParentIfAdded=true) |
void | addAttributeClassField (UMLClassifierListItem *at, bool syncToParentIfAdded=true) |
void | addOperation (UMLClassifierListItem *obj) |
void | removeAssociationClassField (UMLAssociation *assoc) |
void | removeAttributeClassField (UMLClassifierListItem *at) |
void | removeOperation (UMLClassifierListItem *obj) |
void | syncToParent () |
Static Public Member Functions inherited from QObject | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Static Protected Member Functions inherited from QObject | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
Protected Attributes inherited from CodeGenObjectWithTextBlocks | |
QMap< QString, TextBlock * > | m_textBlockTagMap |
TextBlockList | m_textblockVector |
Properties inherited from QObject | |
objectName | |
Detailed Description
A D UMLClassifier Code Document.
We carve the D document up into sections as follows:
- header
- package declaration
- import statements
- class declaration
- guts of the class (e.g. field decl, accessor methods, operations, dependant classes)
Definition at line 36 of file dclassifiercodedocument.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
Definition at line 32 of file dclassifiercodedocument.cpp.
|
virtual |
Empty Destructor.
Definition at line 41 of file dclassifiercodedocument.cpp.
Member Function Documentation
|
virtual |
Add a code operation to this d classifier code document.
In the vannilla version, we just tack all operations on the end of the document.
- Parameters
-
op the code operation
- Returns
- bool which is true IF the code operation was added successfully
Implements ClassifierCodeDocument.
Definition at line 116 of file dclassifiercodedocument.cpp.
|
protected |
|
protected |
Get the dialog widget which allows user interaction with the object parameters.
- Returns
- CodeDocumentDialog
Definition at line 63 of file dclassifiercodedocument.cpp.
Definition at line 87 of file dclassifiercodedocument.cpp.
DCodeGenerationPolicy * DClassifierCodeDocument::getDPolicy | ( | ) |
Definition at line 46 of file dclassifiercodedocument.cpp.
|
virtual |
Get the value of the path to this code document.
- Returns
- the value of m_pathName
Reimplemented from CodeDocument.
Definition at line 69 of file dclassifiercodedocument.cpp.
|
protectedvirtual |
Need to overwrite this for d since we need to pick up the d class declaration block.
Sigh. NOT optimal. The only reason that we need to have this is so we can create the DClassDeclarationBlock. would be better if we could create a handler interface that each codeblock used so all we have to do here is add the handler for "dclassdeclarationblock".
Reimplemented from CodeGenObjectWithTextBlocks.
Definition at line 133 of file dclassifiercodedocument.cpp.
|
protectedvirtual |
Reset/clear our inventory of textblocks in this document.
Reimplemented from CodeDocument.
Definition at line 271 of file dclassifiercodedocument.cpp.
|
virtual |
Update the content of this code document.
This is where you should lay out your code document structure of textblocks in the inheriting class, should it have any text in it. Vanilla code documents don't have much to do.. override this with a different version for your own documents.
Implements ClassifierCodeDocument.
Definition at line 289 of file dclassifiercodedocument.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.