umbrello: umbrello/codegenerators/ruby/rubyclassdeclarationblock.h Source File

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

rubyclassdeclarationblock.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) 2005 *
8 * Richard Dale <Richard_Dale@tipitina.demon.co.uk> *
9 * copyright (C) 2006-2020 *
10 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
11 ***************************************************************************/
12
13 #ifndef RUBYCLASSDECLARATIONBLOCK_H
14 #define RUBYCLASSDECLARATIONBLOCK_H
15
16 #include "rubyclassifiercodedocument.h"
17 #include "ownedhierarchicalcodeblock.h"
18
19 #include <QString>
20
21 class RubyClassDeclarationBlock : public OwnedHierarchicalCodeBlock
22 {
23 Q_OBJECT
24 public:
25
29 explicit RubyClassDeclarationBlock (RubyClassifierCodeDocument * parentDoc, const QString &start = QString(), const QString &endText = QLatin1String("end"), const QString &comment = QString());
30
34 virtual ~RubyClassDeclarationBlock ();
35
39 void updateContent ();
40
44 virtual void saveToXMI1(QXmlStreamWriter& writer);
45
49 virtual void loadFromXMI1 (QDomElement & root);
50
51 private:
52
53 void init (RubyClassifierCodeDocument * parent, const QString &comment);
54
55 };
56
57 #endif // RUBYCLASSDECLARATIONBLOCK_H
OwnedHierarchicalCodeBlock
Definition: ownedhierarchicalcodeblock.h:27
RubyClassDeclarationBlock
Definition: rubyclassdeclarationblock.h:22
RubyClassDeclarationBlock::init
void init(RubyClassifierCodeDocument *parent, const QString &comment)
Definition: rubyclassdeclarationblock.cpp:116
RubyClassDeclarationBlock::RubyClassDeclarationBlock
RubyClassDeclarationBlock(RubyClassifierCodeDocument *parentDoc, const QString &start=QString(), const QString &endText=QLatin1String("end"), const QString &comment=QString())
Definition: rubyclassdeclarationblock.cpp:19
RubyClassDeclarationBlock::updateContent
void updateContent()
Definition: rubyclassdeclarationblock.cpp:52
RubyClassDeclarationBlock::~RubyClassDeclarationBlock
virtual ~RubyClassDeclarationBlock()
Definition: rubyclassdeclarationblock.cpp:25
RubyClassDeclarationBlock::loadFromXMI1
virtual void loadFromXMI1(QDomElement &root)
Definition: rubyclassdeclarationblock.cpp:44
RubyClassDeclarationBlock::saveToXMI1
virtual void saveToXMI1(QXmlStreamWriter &writer)
Definition: rubyclassdeclarationblock.cpp:32
RubyClassifierCodeDocument
Definition: rubyclassifiercodedocument.h:37
ownedhierarchicalcodeblock.h
rubyclassifiercodedocument.h