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

cppcodeclassfield.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) 2003 Brian Thomas <thomas@mail630.gsfc.nasa.gov> *
8 * copyright (C) 2004-2020 *
9 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10 ***************************************************************************/
11
12 #ifndef CPPCODECLASSFIELD_H
13 #define CPPCODECLASSFIELD_H
14
15 #include "codeclassfield.h"
16
17 #include <QString>
18
19 class ClassifierCodeDocument;
20
21 class CPPCodeClassField : public CodeClassField
22 {
23 Q_OBJECT
24 public:
25
29 CPPCodeClassField (ClassifierCodeDocument * parentDoc, UMLRole * role);
30 CPPCodeClassField (ClassifierCodeDocument * parentDoc, UMLAttribute * attrib);
31
35 virtual ~CPPCodeClassField ();
36
37 QString getFieldType();
38 QString getFieldName();
39 QString getInitialValue();
40
45 QString getListFieldClassName();
46
47
48 protected:
49
50 private:
51
52 };
53
54 #endif // CPPCODECLASSFIELD_H
umlrole.h
codeclassfield.h
cppcodeclassfield.h
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
CPPCodeGenerationPolicy::getVectorClassName
QString getVectorClassName()
Definition: cppcodegenerationpolicy.cpp:205
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
CPPCodeClassField::getFieldType
QString getFieldType()
CodeClassField
Definition: codeclassfield.h:30
CodeClassField::getTypeName
QString getTypeName()
Definition: codeclassfield.cpp:94
CPPCodeClassField::CPPCodeClassField
CPPCodeClassField(ClassifierCodeDocument *parentDoc, UMLRole *role)
Definition: cppcodeclassfield.cpp:25
CodeGenPolicyExt
Definition: codegenpolicyext.h:28
CPPCodeGenerationPolicy
Definition: cppcodegenerationpolicy.h:23
UMLRole
Definition: umlrole.h:25
ClassifierCodeDocument
Definition: classifiercodedocument.h:33
attribute.h
CPPCodeClassField::~CPPCodeClassField
virtual ~CPPCodeClassField()
Definition: cppcodeclassfield.cpp:35
CodeClassField::fixInitialStringDeclValue
QString fixInitialStringDeclValue(const QString &val, const QString &type)
Definition: codeclassfield.cpp:395
classifiercodedocument.h
CPPCodeClassField::getInitialValue
QString getInitialValue()
Definition: cppcodeclassfield.cpp:65
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
UMLAttribute
Sets up attribute information.
Definition: attribute.h:28
CPPCodeClassField
Definition: cppcodeclassfield.h:22
cppcodegenerationpolicy.h
uError
#define uError()
Definition: debug_utils.h:123
UMLApp::policyExt
CodeGenPolicyExt * policyExt() const
Definition: uml.cpp:2299
uml.h
debug_utils.h
CodeClassField::fieldIsSingleValue
bool fieldIsSingleValue()
Definition: codeclassfield.cpp:618
umlobject.h
codegenerator.h
CPPCodeClassField::getFieldName
QString getFieldName()
Definition: cppcodeclassfield.cpp:39
CodeParameter::getParentObject
UMLObject * getParentObject()
Definition: codeparameter.cpp:141
CPPCodeClassField::getListFieldClassName
QString getListFieldClassName()
Definition: cppcodeclassfield.cpp:58