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

cppsourcecodeoperation.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) 2003 Brian Thomas <thomas@mail630.gsfc.nasa.gov> *
8 * copyright (C) 2004-2020 *
9 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10 ***************************************************************************/
11
12 #ifndef CPPSOURCECODEOPERATION_H
13 #define CPPSOURCECODEOPERATION_H
14
15 #include "codeoperation.h"
16
17 #include <QString>
18
19 class CPPSourceCodeDocument;
20
21 class CPPSourceCodeOperation : virtual public CodeOperation
22 {
23 Q_OBJECT
24 public:
25
29 CPPSourceCodeOperation(CPPSourceCodeDocument * doc, UMLOperation * op, const QString & body = QString(), const QString & comment = QString());
30
34 virtual ~CPPSourceCodeOperation();
35
39 virtual void updateMethodDeclaration();
40
47 virtual void updateContent();
48
49 };
50
51 #endif // CPPSOURCECODEOPERATION_H
Import_Rose::methodName
void methodName(const QString &m)
Definition: import_rose.cpp:53
cppcodedocumentation.h
ClassifierCodeDocument::parentIsInterface
bool parentIsInterface()
Definition: classifiercodedocument.cpp:418
CPPSourceCodeOperation::~CPPSourceCodeOperation
virtual ~CPPSourceCodeOperation()
Definition: cppsourcecodeoperation.cpp:32
CPPSourceCodeOperation::CPPSourceCodeOperation
CPPSourceCodeOperation(CPPSourceCodeDocument *doc, UMLOperation *op, const QString &body=QString(), const QString &comment=QString())
Definition: cppsourcecodeoperation.cpp:20
cppcodegenerator.h
CPPSourceCodeOperation::updateMethodDeclaration
virtual void updateMethodDeclaration()
Definition: cppsourcecodeoperation.cpp:48
UMLAttributeList
Definition: umlattributelist.h:27
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
UMLOperation::getParmList
UMLAttributeList getParmList() const
Definition: operation.cpp:178
CodeGenerator::cleanName
static QString cleanName(const QString &name)
Definition: codegenerator.cpp:549
CPPSourceCodeOperation::updateContent
virtual void updateContent()
Definition: cppsourcecodeoperation.cpp:36
UMLClassifierListItem::getTypeName
virtual QString getTypeName() const
Definition: classifierlistitem.cpp:112
TextBlock::setWriteOutText
void setWriteOutText(bool write)
Definition: textblock.cpp:131
UMLOperation::getConst
bool getConst() const
Definition: operation.cpp:430
CPPCodeDocumentation
Definition: cppcodedocumentation.h:28
CodeBlockWithComments::getComment
CodeComment * getComment() const
Definition: codeblockwithcomments.cpp:47
CodeMethodBlock::getParentDocument
CodeDocument * getParentDocument()
Definition: codemethodblock.cpp:33
CPPSourceCodeOperation
Definition: cppsourcecodeoperation.h:22
CodeGenPolicyExt
Definition: codegenpolicyext.h:28
CPPCodeGenerationPolicy
Definition: cppcodegenerationpolicy.h:23
UMLObject::isAbstract
bool isAbstract() const
Definition: umlobject.cpp:348
codeoperation.h
CodeBlockWithComments::setOverallIndentationLevel
void setOverallIndentationLevel(int level)
Definition: codeblockwithcomments.cpp:164
CodeBlockWithComments::setComment
void setComment(CodeComment *object)
Definition: codeblockwithcomments.cpp:39
UMLOperation::isLifeOperation
bool isLifeOperation()
Definition: operation.cpp:414
UMLOperation::getOverride
bool getOverride() const
Definition: operation.cpp:446
UMLObject::doc
QString doc() const
Definition: umlobject.cpp:435
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
UMLAttribute
Sets up attribute information.
Definition: attribute.h:28
cppcodegenerationpolicy.h
CPPSourceCodeDocument
Definition: cppsourcecodedocument.h:23
CPPCodeGenerationPolicy::getOperationsAreInline
bool getOperationsAreInline()
Definition: cppcodegenerationpolicy.cpp:100
ClassifierCodeDocument::getParentClassifier
UMLClassifier * getParentClassifier()
Definition: classifiercodedocument.cpp:275
CodeMethodBlock::setEndMethodText
void setEndMethodText(const QString &value)
Definition: codemethodblock.cpp:66
cppsourcecodeoperation.h
CodeOperation::getParentOperation
UMLOperation * getParentOperation()
Definition: codeoperation.cpp:64
UMLOperation
Definition: operation.h:25
CodeOperation
Definition: codeoperation.h:24
UMLApp::policyExt
CodeGenPolicyExt * policyExt() const
Definition: uml.cpp:2299
uml.h
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
cppsourcecodedocument.h
CodeMethodBlock::setStartMethodText
void setStartMethodText(const QString &value)
Definition: codemethodblock.cpp:58
TextBlock::setText
void setText(const QString &text)
Definition: textblock.cpp:80
UMLObject::stereotype
QString stereotype(bool includeAdornments=false) const
Definition: umlobject.cpp:559