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

umbrello 2.31.0 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 * 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 RUBYCODECLASSFIELD_H
14 #define RUBYCODECLASSFIELD_H
15
16 #include "codeclassfield.h"
17
18 #include <QString>
19
20 class ClassifierCodeDocument;
21
22 class RubyCodeClassField : public CodeClassField
23 {
24 Q_OBJECT
25 public:
26
30 RubyCodeClassField (ClassifierCodeDocument * parentDoc, UMLRole * role);
31 RubyCodeClassField (ClassifierCodeDocument * parentDoc, UMLAttribute * attrib);
32
36 virtual ~RubyCodeClassField ();
37
38 QString getFieldType();
39 QString getFieldName();
40 QString getInitialValue();
41
42 QString getTypeName ();
43
44 protected:
45
46 private:
47
48 // void initDeclCodeBlock ();
49
50 };
51
52 #endif // RUBYCODECLASSFIELD_H
umlrole.h
codeclassfield.h
rubycodeclassfield.h
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
CodeClassField::parentIsAttribute
bool parentIsAttribute() const
Definition: codeclassfield.cpp:127
UMLObject::asUMLAttribute
UMLAttribute * asUMLAttribute()
Definition: umlobject.cpp:1304
UMLAttribute::getInitialValue
QString getInitialValue() const
Definition: attribute.cpp:99
CodeClassField::cleanName
QString cleanName(const QString &name)
Definition: codeclassfield.cpp:385
RubyCodeClassField::getInitialValue
QString getInitialValue()
Definition: rubycodeclassfield.cpp:63
CodeClassField
Definition: codeclassfield.h:29
CodeClassField::getTypeName
QString getTypeName()
Definition: codeclassfield.cpp:94
UMLRole
Definition: umlrole.h:24
RubyCodeClassField::getFieldType
QString getFieldType()
ClassifierCodeDocument
Definition: classifiercodedocument.h:32
rubyclassifiercodedocument.h
rubycodecomment.h
attribute.h
CodeClassField::fixInitialStringDeclValue
QString fixInitialStringDeclValue(const QString &val, const QString &type)
Definition: codeclassfield.cpp:395
RubyCodeGenerator::getListFieldClassName
static QString getListFieldClassName()
Definition: rubycodegenerator.cpp:100
UMLAttribute
Sets up attribute information.
Definition: attribute.h:27
RubyCodeClassField
Definition: rubycodeclassfield.h:22
uError
#define uError()
Definition: debug_utils.h:123
uml.h
debug_utils.h
CodeClassField::fieldIsSingleValue
bool fieldIsSingleValue()
Definition: codeclassfield.cpp:618
umlobject.h
RubyCodeClassField::~RubyCodeClassField
virtual ~RubyCodeClassField()
Definition: rubycodeclassfield.cpp:39
RubyCodeClassField::getFieldName
QString getFieldName()
Definition: rubycodeclassfield.cpp:43
RubyCodeGenerator::cppToRubyType
static QString cppToRubyType(const QString &cppType)
Definition: rubycodegenerator.cpp:111
rubycodegenerator.h
CodeParameter::getParentObject
UMLObject * getParentObject()
Definition: codeparameter.cpp:141
RubyCodeClassField::getTypeName
QString getTypeName()
Definition: rubycodeclassfield.cpp:88
RubyCodeClassField::RubyCodeClassField
RubyCodeClassField(ClassifierCodeDocument *parentDoc, UMLRole *role)
Definition: rubycodeclassfield.cpp:29