umbrello: umbrello/codegenerators/cpp/cppsourcecodeoperation.h Source File

umbrello 2.32.0 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
CPPSourceCodeDocument
Definition: cppsourcecodedocument.h:23
CPPSourceCodeOperation
Definition: cppsourcecodeoperation.h:22
CPPSourceCodeOperation::updateContent
virtual void updateContent()
Definition: cppsourcecodeoperation.cpp:36
CPPSourceCodeOperation::CPPSourceCodeOperation
CPPSourceCodeOperation(CPPSourceCodeDocument *doc, UMLOperation *op, const QString &body=QString(), const QString &comment=QString())
Definition: cppsourcecodeoperation.cpp:20
CPPSourceCodeOperation::updateMethodDeclaration
virtual void updateMethodDeclaration()
Definition: cppsourcecodeoperation.cpp:48
CPPSourceCodeOperation::~CPPSourceCodeOperation
virtual ~CPPSourceCodeOperation()
Definition: cppsourcecodeoperation.cpp:32
CodeOperation
Definition: codeoperation.h:24
UMLOperation
Definition: operation.h:25
codeoperation.h