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

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

- File List
- File Members

cppsourcecodedocument.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2004-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef CPPSOURCECODEDOCUMENT_H
7#define CPPSOURCECODEDOCUMENT_H
8
9#include "classifiercodedocument.h"
10#include "hierarchicalcodeblock.h"
11
12#include <QString>
13
17 class CPPSourceCodeDocument : public ClassifierCodeDocument
18{
19 Q_OBJECT
20 public:
21
25 explicit CPPSourceCodeDocument(UMLClassifier * classifier);
26
30 virtual ~CPPSourceCodeDocument();
31
39 bool addCodeOperation(CodeOperation * op);
40
50 void updateContent();
51
52 protected:
53
57 void resetTextBlocks();
58
59 private:
60
61 HierarchicalCodeBlock * m_constructorBlock;
62 HierarchicalCodeBlock * m_methodsBlock;
63
64};
65
66#endif // CPPSOURCECODEDOCUMENT_H
CPPSourceCodeDocument
Definition cppsourcecodedocument.h:18
CPPSourceCodeDocument::addCodeOperation
bool addCodeOperation(CodeOperation *op)
Definition cppsourcecodedocument.cpp:51
CPPSourceCodeDocument::m_methodsBlock
HierarchicalCodeBlock * m_methodsBlock
Definition cppsourcecodedocument.h:62
CPPSourceCodeDocument::CPPSourceCodeDocument
CPPSourceCodeDocument(UMLClassifier *classifier)
Definition cppsourcecodedocument.cpp:32
CPPSourceCodeDocument::~CPPSourceCodeDocument
virtual ~CPPSourceCodeDocument()
Definition cppsourcecodedocument.cpp:47
CPPSourceCodeDocument::resetTextBlocks
void resetTextBlocks()
Definition cppsourcecodedocument.cpp:68
CPPSourceCodeDocument::m_constructorBlock
HierarchicalCodeBlock * m_constructorBlock
Definition cppsourcecodedocument.h:61
CPPSourceCodeDocument::updateContent
void updateContent()
Definition cppsourcecodedocument.cpp:78
ClassifierCodeDocument
Definition classifiercodedocument.h:29
CodeOperation
Definition codeoperation.h:20
HierarchicalCodeBlock
Definition hierarchicalcodeblock.h:21
UMLClassifier
Information for a non-graphical Concept/Class.
Definition classifier.h:35
classifiercodedocument.h
hierarchicalcodeblock.h