umbrello  2.32.3
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
cppsourcecodedocument.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) 2004-2020 *
8  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9  ***************************************************************************/
10 
11 #ifndef CPPSOURCECODEDOCUMENT_H
12 #define CPPSOURCECODEDOCUMENT_H
13 
14 #include "classifiercodedocument.h"
15 #include "hierarchicalcodeblock.h"
16 
17 #include <QString>
18 
23 {
24  Q_OBJECT
25 public:
26 
30  explicit CPPSourceCodeDocument(UMLClassifier * classifier);
31 
35  virtual ~CPPSourceCodeDocument();
36 
45 
55  void updateContent();
56 
57 protected:
58 
62  void resetTextBlocks();
63 
64 private:
65 
68 
69 };
70 
71 #endif // CPPSOURCECODEDOCUMENT_H
Definition: cppsourcecodedocument.h:23
bool addCodeOperation(CodeOperation *op)
Definition: cppsourcecodedocument.cpp:55
HierarchicalCodeBlock * m_methodsBlock
Definition: cppsourcecodedocument.h:67
CPPSourceCodeDocument(UMLClassifier *classifier)
Definition: cppsourcecodedocument.cpp:36
virtual ~CPPSourceCodeDocument()
Definition: cppsourcecodedocument.cpp:51
void resetTextBlocks()
Definition: cppsourcecodedocument.cpp:72
HierarchicalCodeBlock * m_constructorBlock
Definition: cppsourcecodedocument.h:66
void updateContent()
Definition: cppsourcecodedocument.cpp:82
Definition: classifiercodedocument.h:33
Definition: codeoperation.h:24
Definition: hierarchicalcodeblock.h:25
Information for a non-graphical Concept/Class.
Definition: classifier.h:40