umbrello  2.32.1
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  SPDX-License-Identifier: GPL-2.0-or-later
3 
4  SPDX-FileCopyrightText: 2007 Jari-Matti Mäkelä <jmjm@iki.fi>
5  SPDX-FileCopyrightText: 2008-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6 */
7 
8 #ifndef DCODEOPERATION_H
9 #define DCODEOPERATION_H
10 
11 #include "codeoperation.h"
12 
13 #include <QString>
14 
16 
17 class DCodeOperation : virtual public CodeOperation
18 {
19  Q_OBJECT
20 public:
21 
25  DCodeOperation (DClassifierCodeDocument * doc, UMLOperation * op, const QString & body = QString(), const QString & comment = QString());
26 
30  virtual ~DCodeOperation ();
31 
32  virtual int lastEditableLine();
33 
34 protected:
35 
36  virtual void updateMethodDeclaration();
37 
38 };
39 
40 #endif // DCODEOPERATION_H
ClassifierCodeDocument::getParentClassifier
UMLClassifier * getParentClassifier() const
Definition: classifiercodedocument.cpp:278
UMLClassifier::isInterface
bool isInterface() const
Definition: classifier.cpp:113
UMLAttributeList
Definition: umlattributelist.h:20
UMLObject::name
QString name() const
Definition: umlobject.cpp:206
UMLOperation::getParmList
UMLAttributeList getParmList() const
Definition: operation.cpp:173
dcodegenerationpolicy.h
parameters
the intent is to exercise the right to control the distribution of derivative or collective works based on the Library In mere aggregation of another work not based on the Library with the you must alter all the notices that refer to this so that they refer to the ordinary GNU General Public instead of to this it is irreversible for that so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy This option is useful when you wish to copy part of the code of the Library into a program that is not a library You may copy and distribute the which must be distributed under the terms of Sections and above on a medium customarily used for software interchange If distribution of object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source even though third parties are not compelled to copy the source along with the object code A program that contains no derivative of any portion of the but is designed to work with the Library by being compiled or linked with is called a work that uses the Library Such a in is not a derivative work of the and therefore falls outside the scope of this License linking a work that uses the Library with the Library creates an executable that is a derivative of the rather than a work that uses the library The executable is therefore covered by this License Section states terms for distribution of such executables When a work that uses the Library uses material from a header file that is part of the the object code for the work may be a derivative work of the Library even though the source code is not Whether this is true is especially significant if the work can be linked without the or if the work is itself a library The threshold for this to be true is not precisely defined by law If such an object file uses only numerical parameters
Definition: LGPL-2.0-only.txt:229
UMLClassifierListItem::getTypeName
virtual QString getTypeName() const
Definition: classifierlistitem.cpp:108
DClassifierCodeDocument
Definition: dclassifiercodedocument.h:32
DCodeOperation::DCodeOperation
DCodeOperation(DClassifierCodeDocument *doc, UMLOperation *op, const QString &body=QString(), const QString &comment=QString())
Definition: dcodeoperation.cpp:19
DCodeOperation
Definition: dcodeoperation.h:17
DCodeOperation::updateMethodDeclaration
virtual void updateMethodDeclaration()
Definition: dcodeoperation.cpp:35
UMLObject::isStatic
bool isStatic() const
Definition: umlobject.cpp:361
CodeBlockWithComments::getComment
CodeComment * getComment() const
Definition: codeblockwithcomments.cpp:46
CodeMethodBlock::getParentDocument
CodeDocument * getParentDocument()
Definition: codemethodblock.cpp:31
dcodeoperation.h
CodeDocument
Definition: codedocument.h:29
dcodegenerator.h
codeoperation.h
ClassifierCodeDocument
Definition: classifiercodedocument.h:28
CodeBlockWithComments::setOverallIndentationLevel
void setOverallIndentationLevel(int level)
Definition: codeblockwithcomments.cpp:163
dcodedocumentation.h
CodeBlockWithComments::setComment
void setComment(CodeComment *object)
Definition: codeblockwithcomments.cpp:38
DCodeDocumentation
Definition: dcodedocumentation.h:23
ClassifierCodeDocument::parentIsInterface
bool parentIsInterface() const
Definition: classifiercodedocument.cpp:421
UMLObject::doc
QString doc() const
Definition: umlobject.cpp:430
dclassifiercodedocument.h
UMLAttribute
Sets up attribute information.
Definition: attribute.h:22
DCodeOperation::~DCodeOperation
virtual ~DCodeOperation()
Definition: dcodeoperation.cpp:30
CodeBlock::contentType
ContentType contentType() const
Definition: codeblock.cpp:50
CodeBlock::AutoGenerated
@ AutoGenerated
the content was generated by code generation itself
Definition: codeblock.h:24
CodeMethodBlock::setEndMethodText
void setEndMethodText(const QString &value)
Definition: codemethodblock.cpp:64
CodeOperation::getParentOperation
UMLOperation * getParentOperation()
Definition: codeoperation.cpp:63
UMLOperation::isConstructorOperation
bool isConstructorOperation() const
Definition: operation.cpp:364
UMLOperation
Definition: operation.h:19
CodeOperation
Definition: codeoperation.h:19
uml.h
DCodeOperation::lastEditableLine
virtual int lastEditableLine()
Definition: dcodeoperation.cpp:124
TextBlock::getNewLineEndingChars
static QString getNewLineEndingChars()
Definition: textblock.cpp:168
CodeMethodBlock::setStartMethodText
void setStartMethodText(const QString &value)
Definition: codemethodblock.cpp:56
TextBlock::setText
void setText(const QString &text)
Definition: textblock.cpp:76