umbrello 2.32.3 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:27
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:37
DCodeOperation::DCodeOperation
DCodeOperation(DClassifierCodeDocument *doc, UMLOperation *op, const QString &body=QString(), const QString &comment=QString())
Definition: dcodeoperation.cpp:23
DCodeOperation
Definition: dcodeoperation.h:22
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:33
dcodegenerator.h
codeoperation.h
ClassifierCodeDocument
Definition: classifiercodedocument.h:33
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:28
UMLObject::doc
QString doc() const
Definition: umlobject.cpp:435
dclassifiercodedocument.h
UMLAttribute
Sets up attribute information.
Definition: attribute.h:28
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:28
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:25
CodeOperation
Definition: codeoperation.h:24
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