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

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

rubycodeaccessormethod.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 RUBYCODEACCESSORMETHOD_H
14 #define RUBYCODEACCESSORMETHOD_H
15
16 #include "codeaccessormethod.h"
17 #include "rubycodeclassfield.h"
18
19 #include <QString>
20
21 class RubyCodeAccessorMethod : public CodeAccessorMethod
22 {
23 Q_OBJECT
24 public:
25
26 RubyCodeAccessorMethod(CodeClassField * field, CodeAccessorMethod::AccessorType type);
27 virtual ~RubyCodeAccessorMethod();
28
29 void update();
30
31 virtual void updateMethodDeclaration();
32 virtual void updateContent();
33
34 protected:
35
36 virtual void setAttributesOnNode(QXmlStreamWriter& writer);
37 virtual void setAttributesFromNode(QDomElement & element);
38
39 private:
40
41 };
42
43 #endif // RUBYCODEACCESSORMETHOD_H
CodeAccessorMethod
Definition: codeaccessormethod.h:22
CodeAccessorMethod::AccessorType
AccessorType
Definition: codeaccessormethod.h:33
CodeClassField
Definition: codeclassfield.h:30
RubyCodeAccessorMethod
Definition: rubycodeaccessormethod.h:22
RubyCodeAccessorMethod::setAttributesOnNode
virtual void setAttributesOnNode(QXmlStreamWriter &writer)
Definition: rubycodeaccessormethod.cpp:59
RubyCodeAccessorMethod::update
void update()
Definition: rubycodeaccessormethod.cpp:241
RubyCodeAccessorMethod::setAttributesFromNode
virtual void setAttributesFromNode(QDomElement &element)
Definition: rubycodeaccessormethod.cpp:71
RubyCodeAccessorMethod::~RubyCodeAccessorMethod
virtual ~RubyCodeAccessorMethod()
Definition: rubycodeaccessormethod.cpp:51
RubyCodeAccessorMethod::updateMethodDeclaration
virtual void updateMethodDeclaration()
Definition: rubycodeaccessormethod.cpp:145
RubyCodeAccessorMethod::RubyCodeAccessorMethod
RubyCodeAccessorMethod(CodeClassField *field, CodeAccessorMethod::AccessorType type)
Definition: rubycodeaccessormethod.cpp:38
RubyCodeAccessorMethod::updateContent
virtual void updateContent()
Definition: rubycodeaccessormethod.cpp:79
codeaccessormethod.h
rubycodeclassfield.h