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

dcodeclassfield.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) 2007 Jari-Matti Mäkelä <jmjm@iki.fi> *
8 * copyright (C) 2008-2020 *
9 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10 ***************************************************************************/
11
12 #ifndef DCODECLASSFIELD_H
13 #define DCODECLASSFIELD_H
14
15 #include "codeclassfield.h"
16
17 #include <QString>
18
19 class ClassifierCodeDocument;
20
21 class DCodeClassField : public CodeClassField
22 {
23 Q_OBJECT
24 public:
25
29 DCodeClassField (ClassifierCodeDocument * parentDoc, UMLRole * role);
30 DCodeClassField (ClassifierCodeDocument * parentDoc, UMLAttribute * attrib);
31
35 virtual ~DCodeClassField ();
36
37 QString getFieldType();
38 QString getFieldName();
39 QString getInitialValue();
40
41 QString getTypeName ();
42 protected:
43
44 private:
45
46 // void initDeclCodeBlock ();
47
48 };
49
50 #endif // DCODECLASSFIELD_H
umlrole.h
codeclassfield.h
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
dcodecomment.h
CodeClassField::parentIsAttribute
bool parentIsAttribute() const
Definition: codeclassfield.cpp:127
UMLObject::asUMLAttribute
UMLAttribute * asUMLAttribute()
Definition: umlobject.cpp:1305
UMLAttribute::getInitialValue
QString getInitialValue() const
Definition: attribute.cpp:99
CodeClassField::cleanName
QString cleanName(const QString &name)
Definition: codeclassfield.cpp:385
dcodeclassfield.h
DCodeClassField::~DCodeClassField
virtual ~DCodeClassField()
Definition: dcodeclassfield.cpp:40
CodeClassField
Definition: codeclassfield.h:30
DCodeGenerator::fixTypeName
static QString fixTypeName(const QString &item)
Definition: dcodegenerator.cpp:122
CodeClassField::getTypeName
QString getTypeName()
Definition: codeclassfield.cpp:94
UMLRole
Definition: umlrole.h:25
dcodegenerator.h
ClassifierCodeDocument
Definition: classifiercodedocument.h:33
attribute.h
CodeClassField::fixInitialStringDeclValue
QString fixInitialStringDeclValue(const QString &val, const QString &type)
Definition: codeclassfield.cpp:395
dclassifiercodedocument.h
UMLAttribute
Sets up attribute information.
Definition: attribute.h:28
DCodeClassField::getFieldType
QString getFieldType()
uError
#define uError()
Definition: debug_utils.h:123
DCodeClassField::getInitialValue
QString getInitialValue()
Definition: dcodeclassfield.cpp:65
uml.h
debug_utils.h
CodeClassField::fieldIsSingleValue
bool fieldIsSingleValue()
Definition: codeclassfield.cpp:618
DCodeClassField::getFieldName
QString getFieldName()
Definition: dcodeclassfield.cpp:44
umlobject.h
DCodeGenerator::getListFieldClassName
static QString getListFieldClassName()
Definition: dcodegenerator.cpp:97
DCodeClassField::DCodeClassField
DCodeClassField(ClassifierCodeDocument *parentDoc, UMLRole *role)
Definition: dcodeclassfield.cpp:30
DCodeClassField
Definition: dcodeclassfield.h:22
CodeParameter::getParentObject
UMLObject * getParentObject()
Definition: codeparameter.cpp:141
DCodeClassField::getTypeName
QString getTypeName()
Definition: dcodeclassfield.cpp:90