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

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

rubycodeclassfield.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 RUBYCODECLASSFIELD_H
9#define RUBYCODECLASSFIELD_H
10
11#include "codeclassfield.h"
12
13#include <QString>
14
15class ClassifierCodeDocument;
16
17 class RubyCodeClassField : public CodeClassField
18{
19 Q_OBJECT
20public:
21
25 RubyCodeClassField (ClassifierCodeDocument * parentDoc, UMLRole * role);
26 RubyCodeClassField (ClassifierCodeDocument * parentDoc, UMLAttribute * attrib);
27
31 virtual ~RubyCodeClassField ();
32
33 QString getFieldType();
34 QString getFieldName();
35 QString getInitialValue();
36
37 QString getTypeName ();
38
39protected:
40
41private:
42
43 // void initDeclCodeBlock ();
44
45};
46
47#endif // RUBYCODECLASSFIELD_H
ClassifierCodeDocument
Definition: classifiercodedocument.h:29
CodeClassField
Definition: codeclassfield.h:26
RubyCodeClassField
Definition: rubycodeclassfield.h:18
RubyCodeClassField::~RubyCodeClassField
virtual ~RubyCodeClassField()
Definition: rubycodeclassfield.cpp:34
RubyCodeClassField::getTypeName
QString getTypeName()
Definition: rubycodeclassfield.cpp:83
RubyCodeClassField::RubyCodeClassField
RubyCodeClassField(ClassifierCodeDocument *parentDoc, UMLRole *role)
Definition: rubycodeclassfield.cpp:24
RubyCodeClassField::getFieldType
QString getFieldType()
RubyCodeClassField::getInitialValue
QString getInitialValue()
Definition: rubycodeclassfield.cpp:58
RubyCodeClassField::getFieldName
QString getFieldName()
Definition: rubycodeclassfield.cpp:38
UMLAttribute
Sets up attribute information.
Definition: attribute.h:23
UMLRole
Definition: umlrole.h:20
codeclassfield.h