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

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 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 CPPSOURCECODEOPERATION_H
9#define CPPSOURCECODEOPERATION_H
10
11#include "codeoperation.h"
12
13#include <QString>
14
15class CPPSourceCodeDocument;
16
17 class CPPSourceCodeOperation : virtual public CodeOperation
18{
19 Q_OBJECT
20public:
21
25 CPPSourceCodeOperation(CPPSourceCodeDocument * doc, UMLOperation * op, const QString & body = QString(), const QString & comment = QString());
26
30 virtual ~CPPSourceCodeOperation();
31
35 virtual void updateMethodDeclaration();
36
43 virtual void updateContent();
44
45};
46
47#endif // CPPSOURCECODEOPERATION_H
CPPSourceCodeDocument
Definition: cppsourcecodedocument.h:18
CPPSourceCodeOperation
Definition: cppsourcecodeoperation.h:18
CPPSourceCodeOperation::updateContent
virtual void updateContent()
Definition: cppsourcecodeoperation.cpp:32
CPPSourceCodeOperation::CPPSourceCodeOperation
CPPSourceCodeOperation(CPPSourceCodeDocument *doc, UMLOperation *op, const QString &body=QString(), const QString &comment=QString())
Definition: cppsourcecodeoperation.cpp:16
CPPSourceCodeOperation::updateMethodDeclaration
virtual void updateMethodDeclaration()
Definition: cppsourcecodeoperation.cpp:44
CPPSourceCodeOperation::~CPPSourceCodeOperation
virtual ~CPPSourceCodeOperation()
Definition: cppsourcecodeoperation.cpp:28
CodeOperation
Definition: codeoperation.h:20
UMLOperation
Definition: operation.h:20
codeoperation.h