umbrello: umbrello/codegenerators/d/dcodeoperation.h Source File

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

dcodeoperation.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) 2007 Jari-Matti Mäkelä <jmjm@iki.fi> *
8 * copyright (C) 2008-2020 *
9 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10 ***************************************************************************/
11
12 #ifndef DCODEOPERATION_H
13 #define DCODEOPERATION_H
14
15 #include "codeoperation.h"
16
17 #include <QString>
18
19 class DClassifierCodeDocument;
20
21 class DCodeOperation : virtual public CodeOperation
22 {
23 Q_OBJECT
24 public:
25
29 DCodeOperation (DClassifierCodeDocument * doc, UMLOperation * op, const QString & body = QString(), const QString & comment = QString());
30
34 virtual ~DCodeOperation ();
35
36 virtual int lastEditableLine();
37
38 protected:
39
40 virtual void updateMethodDeclaration();
41
42 };
43
44 #endif // DCODEOPERATION_H
ClassifierCodeDocument::parentIsInterface
bool parentIsInterface()
Definition: classifiercodedocument.cpp:418
UMLClassifier::isInterface
bool isInterface() const
Definition: classifier.cpp:118
UMLAttributeList
Definition: umlattributelist.h:26
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
UMLOperation::getParmList
UMLAttributeList getParmList() const
Definition: operation.cpp:178
dcodegenerationpolicy.h
UMLOperation::isConstructorOperation
bool isConstructorOperation()
Definition: operation.cpp:369
UMLClassifierListItem::getTypeName
virtual QString getTypeName() const
Definition: classifierlistitem.cpp:112
DClassifierCodeDocument
Definition: dclassifiercodedocument.h:36
DCodeOperation::DCodeOperation
DCodeOperation(DClassifierCodeDocument *doc, UMLOperation *op, const QString &body=QString(), const QString &comment=QString())
Definition: dcodeoperation.cpp:23
DCodeOperation
Definition: dcodeoperation.h:21
DCodeOperation::updateMethodDeclaration
virtual void updateMethodDeclaration()
Definition: dcodeoperation.cpp:39
UMLObject::isStatic
bool isStatic() const
Definition: umlobject.cpp:366
CodeBlockWithComments::getComment
CodeComment * getComment() const
Definition: codeblockwithcomments.cpp:47
CodeMethodBlock::getParentDocument
CodeDocument * getParentDocument()
Definition: codemethodblock.cpp:33
dcodeoperation.h
CodeDocument
Definition: codedocument.h:32
dcodegenerator.h
codeoperation.h
ClassifierCodeDocument
Definition: classifiercodedocument.h:32
CodeBlockWithComments::setOverallIndentationLevel
void setOverallIndentationLevel(int level)
Definition: codeblockwithcomments.cpp:164
dcodedocumentation.h
CodeBlockWithComments::setComment
void setComment(CodeComment *object)
Definition: codeblockwithcomments.cpp:39
DCodeDocumentation
Definition: dcodedocumentation.h:27
UMLObject::doc
QString doc() const
Definition: umlobject.cpp:435
dclassifiercodedocument.h
UMLAttribute
Sets up attribute information.
Definition: attribute.h:27
DCodeOperation::~DCodeOperation
virtual ~DCodeOperation()
Definition: dcodeoperation.cpp:34
CodeBlock::contentType
ContentType contentType() const
Definition: codeblock.cpp:54
CodeBlock::AutoGenerated
@ AutoGenerated
the content was generated by code generation itself
Definition: codeblock.h:46
ClassifierCodeDocument::getParentClassifier
UMLClassifier * getParentClassifier()
Definition: classifiercodedocument.cpp:275
CodeMethodBlock::setEndMethodText
void setEndMethodText(const QString &value)
Definition: codemethodblock.cpp:66
CodeOperation::getParentOperation
UMLOperation * getParentOperation()
Definition: codeoperation.cpp:64
UMLOperation
Definition: operation.h:24
CodeOperation
Definition: codeoperation.h:23
uml.h
DCodeOperation::lastEditableLine
virtual int lastEditableLine()
Definition: dcodeoperation.cpp:128
TextBlock::getNewLineEndingChars
static QString getNewLineEndingChars()
Definition: textblock.cpp:172
CodeMethodBlock::setStartMethodText
void setStartMethodText(const QString &value)
Definition: codemethodblock.cpp:58
TextBlock::setText
void setText(const QString &text)
Definition: textblock.cpp:80