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

cppcodeclassfield.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2003 Brian Thomas <thomas@mail630.gsfc.nasa.gov>
5 SPDX-FileCopyrightText: 2004-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef CPPCODECLASSFIELD_H
9#define CPPCODECLASSFIELD_H
10
11#include "codeclassfield.h"
12
13#include <QString>
14
15 class ClassifierCodeDocument;
16
17 class CPPCodeClassField : public CodeClassField
18{
19 Q_OBJECT
20 public:
21
25 CPPCodeClassField (ClassifierCodeDocument * parentDoc, UMLRole * role);
26 CPPCodeClassField (ClassifierCodeDocument * parentDoc, UMLAttribute * attrib);
27
31 virtual ~CPPCodeClassField ();
32
33 QString getFieldType();
34 QString getFieldName();
35 QString getInitialValue();
36
41 QString getListFieldClassName();
42
43
44 protected:
45
46 private:
47
48};
49
50#endif // CPPCODECLASSFIELD_H
CPPCodeClassField
Definition cppcodeclassfield.h:18
CPPCodeClassField::getFieldName
QString getFieldName()
Definition cppcodeclassfield.cpp:35
CPPCodeClassField::CPPCodeClassField
CPPCodeClassField(ClassifierCodeDocument *parentDoc, UMLRole *role)
Definition cppcodeclassfield.cpp:21
CPPCodeClassField::~CPPCodeClassField
virtual ~CPPCodeClassField()
Definition cppcodeclassfield.cpp:31
CPPCodeClassField::getInitialValue
QString getInitialValue()
Definition cppcodeclassfield.cpp:61
CPPCodeClassField::getListFieldClassName
QString getListFieldClassName()
Definition cppcodeclassfield.cpp:54
CPPCodeClassField::getFieldType
QString getFieldType()
ClassifierCodeDocument
Definition classifiercodedocument.h:29
CodeClassField
Definition codeclassfield.h:26
UMLAttribute
Sets up attribute information.
Definition attribute.h:23
UMLRole
Definition umlrole.h:20
codeclassfield.h