umbrello: umbrello/codegenerators/d/dcodeclassfield.h Source File

umbrello 2.39.1 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 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2007 Jari-Matti Mäkelä <jmjm@iki.fi>
5 SPDX-FileCopyrightText: 2008-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef DCODECLASSFIELD_H
9#define DCODECLASSFIELD_H
10
11#include "codeclassfield.h"
12
13#include <QString>
14
15class ClassifierCodeDocument;
16
17 class DCodeClassField : public CodeClassField
18{
19 Q_OBJECT
20public:
21
25 DCodeClassField (ClassifierCodeDocument * parentDoc, UMLRole * role);
26 DCodeClassField (ClassifierCodeDocument * parentDoc, UMLAttribute * attrib);
27
31 virtual ~DCodeClassField ();
32
33 QString getFieldType();
34 QString getFieldName();
35 QString getInitialValue();
36
37 QString getTypeName ();
38protected:
39
40private:
41
42 // void initDeclCodeBlock ();
43
44};
45
46#endif // DCODECLASSFIELD_H
ClassifierCodeDocument
Definition classifiercodedocument.h:29
CodeClassField::CodeClassField
CodeClassField(ClassifierCodeDocument *parentDoc, UMLAttribute *attrib)
Definition codeclassfield.cpp:39
DCodeClassField::~DCodeClassField
virtual ~DCodeClassField()
Definition dcodeclassfield.cpp:35
DCodeClassField::getFieldType
QString getFieldType()
DCodeClassField::getFieldName
QString getFieldName()
Definition dcodeclassfield.cpp:39
DCodeClassField::DCodeClassField
DCodeClassField(ClassifierCodeDocument *parentDoc, UMLRole *role)
Definition dcodeclassfield.cpp:25
DCodeClassField::getInitialValue
QString getInitialValue()
Definition dcodeclassfield.cpp:60
DCodeClassField::getTypeName
QString getTypeName()
Definition dcodeclassfield.cpp:85
UMLAttribute
Sets up attribute information.
Definition attribute.h:23
UMLRole
Definition umlrole.h:20
codeclassfield.h