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

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

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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
15class CPPHeaderCodeDocument;
16
17 class CPPHeaderCodeOperation : virtual public CodeOperation
18{
19 Q_OBJECT
20public:
21
25 CPPHeaderCodeOperation (CPPHeaderCodeDocument * doc, UMLOperation * op,
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
38protected:
39
43 virtual void applyStereotypes (QString&, UMLOperation *, bool, bool, QString&, QString&);
44
45};
46
47#endif // CPPHEADERCODEOPERATION_H
CPPHeaderCodeDocument
Definition: cppheadercodedocument.h:32
CPPHeaderCodeOperation
Definition: cppheadercodeoperation.h:18
CPPHeaderCodeOperation::~CPPHeaderCodeOperation
virtual ~CPPHeaderCodeOperation()
Definition: cppheadercodeoperation.cpp:32
CPPHeaderCodeOperation::updateContent
virtual void updateContent()
Definition: cppheadercodeoperation.cpp:40
CPPHeaderCodeOperation::lastEditableLine
virtual int lastEditableLine()
Definition: cppheadercodeoperation.cpp:119
CPPHeaderCodeOperation::applyStereotypes
virtual void applyStereotypes(QString &, UMLOperation *, bool, bool, QString &, QString &)
Definition: cppheadercodeoperation.cpp:129
CPPHeaderCodeOperation::updateMethodDeclaration
virtual void updateMethodDeclaration()
Definition: cppheadercodeoperation.cpp:51
CodeOperation
Definition: codeoperation.h:20
UMLOperation
Definition: operation.h:20
codeoperation.h