umbrello  2.32.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
cppheadercodeoperation.h
Go to the documentation of this file.
1 /*
2  SPDX-License-Identifier: GPL-2.0-or-later
3 
4  SPDX-FileCopyrightText: 2003 Brian Thomas <thomas@mail630.gsfc.nasa.gov>
5  SPDX-FileCopyrightText: 2004-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6 */
7 
8 #ifndef CPPHEADERCODEOPERATION_H
9 #define CPPHEADERCODEOPERATION_H
10 
11 #include "codeoperation.h"
12 
13 #include <QString>
14 
16 
17 class CPPHeaderCodeOperation : virtual public CodeOperation
18 {
19  Q_OBJECT
20 public:
21 
26  const QString & body = QString(), const QString & comment = QString());
27 
31  virtual ~CPPHeaderCodeOperation ();
32 
33  virtual int lastEditableLine();
34 
35  virtual void updateMethodDeclaration();
36  virtual void updateContent();
37 
38 protected:
39 
43  virtual void applyStereotypes (QString&, UMLOperation *, bool, bool, QString&, QString&);
44 
45 };
46 
47 #endif // CPPHEADERCODEOPERATION_H
CPPHeaderCodeOperation
Definition: cppheadercodeoperation.h:17
Import_Rose::methodName
void methodName(const QString &m)
Definition: import_rose.cpp:54
cppcodedocumentation.h
CPPCodeGenerationPolicy::getDocToolTag
QString getDocToolTag()
Definition: cppcodegenerationpolicy.cpp:252
CPPHeaderCodeOperation::CPPHeaderCodeOperation
CPPHeaderCodeOperation(CPPHeaderCodeDocument *doc, UMLOperation *op, const QString &body=QString(), const QString &comment=QString())
Definition: cppheadercodeoperation.cpp:17
cppcodegenerator.h
UMLAttributeList
Definition: umlattributelist.h:20
UMLObject::name
QString name() const
Definition: umlobject.cpp:206
UMLOperation::getParmList
UMLAttributeList getParmList() const
Definition: operation.cpp:173
cppheadercodedocument.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
UMLOperation::isLifeOperation
bool isLifeOperation() const
Definition: operation.cpp:409
UMLAttribute::getInitialValue
QString getInitialValue() const
Definition: attribute.cpp:94
UMLClassifierListItem::getTypeName
virtual QString getTypeName() const
Definition: classifierlistitem.cpp:108
CPPHeaderCodeDocument
Definition: cppheadercodedocument.h:31
UMLOperation::getConst
bool getConst() const
Definition: operation.cpp:425
CPPCodeDocumentation
Definition: cppcodedocumentation.h:23
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
CodeGenPolicyExt
Definition: codegenpolicyext.h:22
CPPCodeGenerationPolicy
Definition: cppcodegenerationpolicy.h:18
UMLObject::isAbstract
bool isAbstract() const
Definition: umlobject.cpp:343
codeoperation.h
ClassifierCodeDocument
Definition: classifiercodedocument.h:28
CPPHeaderCodeOperation::~CPPHeaderCodeOperation
virtual ~CPPHeaderCodeOperation()
Definition: cppheadercodeoperation.cpp:32
UMLOperation::getOverride
bool getOverride() const
Definition: operation.cpp:441
ClassifierCodeDocument::parentIsInterface
bool parentIsInterface() const
Definition: classifiercodedocument.cpp:421
CPPHeaderCodeOperation::updateMethodDeclaration
virtual void updateMethodDeclaration()
Definition: cppheadercodeoperation.cpp:51
UMLObject::doc
QString doc() const
Definition: umlobject.cpp:430
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:275
UMLAttribute
Sets up attribute information.
Definition: attribute.h:22
cppcodegenerationpolicy.h
CodeBlock::contentType
ContentType contentType() const
Definition: codeblock.cpp:50
CodeBlock::AutoGenerated
@ AutoGenerated
the content was generated by code generation itself
Definition: codeblock.h:24
CPPCodeGenerationPolicy::getOperationsAreInline
bool getOperationsAreInline()
Definition: cppcodegenerationpolicy.cpp:96
CodeMethodBlock::setEndMethodText
void setEndMethodText(const QString &value)
Definition: codemethodblock.cpp:64
CodeOperation::getParentOperation
UMLOperation * getParentOperation()
Definition: codeoperation.cpp:63
UMLOperation
Definition: operation.h:19
CodeOperation
Definition: codeoperation.h:19
UMLApp::policyExt
CodeGenPolicyExt * policyExt() const
Definition: uml.cpp:2299
uml.h
cppheadercodeoperation.h
TextBlock::getNewLineEndingChars
static QString getNewLineEndingChars()
Definition: textblock.cpp:168
CPPHeaderCodeOperation::applyStereotypes
virtual void applyStereotypes(QString &, UMLOperation *, bool, bool, QString &, QString &)
Definition: cppheadercodeoperation.cpp:129
CPPHeaderCodeOperation::lastEditableLine
virtual int lastEditableLine()
Definition: cppheadercodeoperation.cpp:119
CodeMethodBlock::setStartMethodText
void setStartMethodText(const QString &value)
Definition: codemethodblock.cpp:56
TextBlock::setText
void setText(const QString &text)
Definition: textblock.cpp:76
UMLObject::stereotype
QString stereotype(bool includeAdornments=false) const
Definition: umlobject.cpp:554
CPPHeaderCodeOperation::updateContent
virtual void updateContent()
Definition: cppheadercodeoperation.cpp:40