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

umbrello 2.39.0 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

rubycodeaccessormethod.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2005 Richard Dale <Richard_Dale@tipitina.demon.co.uk>
5 SPDX-FileCopyrightText: 2006-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef RUBYCODEACCESSORMETHOD_H
9#define RUBYCODEACCESSORMETHOD_H
10
11#include "codeaccessormethod.h"
12#include "rubycodeclassfield.h"
13
14#include <QString>
15
16 class RubyCodeAccessorMethod : public CodeAccessorMethod
17{
18 Q_OBJECT
19public:
20
21 RubyCodeAccessorMethod(CodeClassField * field, CodeAccessorMethod::AccessorType type);
22 virtual ~RubyCodeAccessorMethod();
23
24 void update();
25
26 virtual void updateMethodDeclaration();
27 virtual void updateContent();
28
29protected:
30
31 virtual void setAttributesOnNode(QXmlStreamWriter& writer);
32 virtual void setAttributesFromNode(QDomElement & element);
33
34private:
35
36};
37
38#endif // RUBYCODEACCESSORMETHOD_H
CodeAccessorMethod
Definition codeaccessormethod.h:18
CodeAccessorMethod::AccessorType
AccessorType
Definition codeaccessormethod.h:29
CodeClassField
Definition codeclassfield.h:26
RubyCodeAccessorMethod
Definition rubycodeaccessormethod.h:17
RubyCodeAccessorMethod::setAttributesOnNode
virtual void setAttributesOnNode(QXmlStreamWriter &writer)
Definition rubycodeaccessormethod.cpp:54
RubyCodeAccessorMethod::update
void update()
Definition rubycodeaccessormethod.cpp:236
RubyCodeAccessorMethod::setAttributesFromNode
virtual void setAttributesFromNode(QDomElement &element)
Definition rubycodeaccessormethod.cpp:66
RubyCodeAccessorMethod::~RubyCodeAccessorMethod
virtual ~RubyCodeAccessorMethod()
Definition rubycodeaccessormethod.cpp:46
RubyCodeAccessorMethod::updateMethodDeclaration
virtual void updateMethodDeclaration()
Definition rubycodeaccessormethod.cpp:140
RubyCodeAccessorMethod::RubyCodeAccessorMethod
RubyCodeAccessorMethod(CodeClassField *field, CodeAccessorMethod::AccessorType type)
Definition rubycodeaccessormethod.cpp:33
RubyCodeAccessorMethod::updateContent
virtual void updateContent()
Definition rubycodeaccessormethod.cpp:74
codeaccessormethod.h
rubycodeclassfield.h