umbrello: umbrello/codegenerators/cpp/cppsourcecodeaccessormethod.h Source File

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

cppsourcecodeaccessormethod.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 CPPSOURCECODEACCESSORMETHOD_H
13 #define CPPSOURCECODEACCESSORMETHOD_H
14
15 #include "codeaccessormethod.h"
16
17 #include <QString>
18
19 class CodeClassField;
20
21 class CPPSourceCodeAccessorMethod : public CodeAccessorMethod
22 {
23 Q_OBJECT
24 public:
25
29 CPPSourceCodeAccessorMethod (CodeClassField * field, CodeAccessorMethod::AccessorType type);
30
34 virtual ~CPPSourceCodeAccessorMethod ();
35
39 void update();
40
41 virtual void updateMethodDeclaration();
42 virtual void updateContent();
43
44 private:
45
46 };
47
48 #endif // CPPSOURCECODEACCESSORMETHOD_H
umlrole.h
Import_Rose::methodName
void methodName(const QString &m)
Definition: import_rose.cpp:61
cppcodedocumentation.h
CPPCodeGenerationPolicy::getDocToolTag
QString getDocToolTag()
Definition: cppcodegenerationpolicy.cpp:256
CPPSourceCodeAccessorMethod::updateContent
virtual void updateContent()
Definition: cppsourcecodeaccessormethod.cpp:45
CPPSourceCodeAccessorMethod::CPPSourceCodeAccessorMethod
CPPSourceCodeAccessorMethod(CodeClassField *field, CodeAccessorMethod::AccessorType type)
Definition: cppsourcecodeaccessormethod.cpp:27
cppcodeclassfield.h
cppcodegenerator.h
CPPSourceCodeAccessorMethod::update
void update()
Definition: cppsourcecodeaccessormethod.cpp:34
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
CPPCodeGenerationPolicy::getVectorClassName
QString getVectorClassName()
Definition: cppcodegenerationpolicy.cpp:205
CodeGenerator::cleanName
static QString cleanName(const QString &name)
Definition: codegenerator.cpp:549
TextBlock::setWriteOutText
void setWriteOutText(bool write)
Definition: textblock.cpp:131
CodeAccessorMethod::SET
@ SET
Definition: codeaccessormethod.h:32
UMLApp::commonPolicy
CodeGenerationPolicy * commonPolicy() const
Definition: uml.cpp:2274
CodeAccessorMethod::getParentClassField
CodeClassField * getParentClassField()
Definition: codeaccessormethod.cpp:40
CodeAccessorMethod
Definition: codeaccessormethod.h:21
CPPCodeDocumentation
Definition: cppcodedocumentation.h:28
CodeAccessorMethod::setType
void setType(AccessorType type)
Definition: codeaccessormethod.cpp:72
CodeClassField
Definition: codeclassfield.h:30
CodeParameter::getParentDocument
ClassifierCodeDocument * getParentDocument()
Definition: codeparameter.cpp:133
CodeClassField::getTypeName
QString getTypeName()
Definition: codeclassfield.cpp:94
CodeGenPolicyExt
Definition: codegenpolicyext.h:28
CPPCodeGenerationPolicy
Definition: cppcodegenerationpolicy.h:23
ClassifierCodeDocument
Definition: classifiercodedocument.h:33
OwnedCodeBlock::getParentObject
UMLObject * getParentObject()
Definition: ownedcodeblock.cpp:64
CPPCodeGenerationPolicy::getAccessorsAreInline
bool getAccessorsAreInline()
Definition: cppcodegenerationpolicy.cpp:81
CodeAccessorMethod::getType
AccessorType getType()
Definition: codeaccessormethod.cpp:64
CodeBlockWithComments::setOverallIndentationLevel
void setOverallIndentationLevel(int level)
Definition: codeblockwithcomments.cpp:164
CodeBlockWithComments::setComment
void setComment(CodeComment *object)
Definition: codeblockwithcomments.cpp:39
cppsourcecodeaccessormethod.h
CPPSourceCodeAccessorMethod::updateMethodDeclaration
virtual void updateMethodDeclaration()
Definition: cppsourcecodeaccessormethod.cpp:96
attribute.h
classifiercodedocument.h
CodeClassField::getListObjectType
QString getListObjectType()
Definition: codeclassfield.cpp:112
UMLObject::doc
QString doc() const
Definition: umlobject.cpp:435
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:269
CodeAccessorMethod::GET
@ GET
Definition: codeaccessormethod.h:32
CPPCodeClassField
Definition: cppcodeclassfield.h:22
cppcodegenerationpolicy.h
ClassifierCodeDocument::getParentClassifier
UMLClassifier * getParentClassifier()
Definition: classifiercodedocument.cpp:275
CodeMethodBlock::setEndMethodText
void setEndMethodText(const QString &value)
Definition: codemethodblock.cpp:66
uError
#define uError()
Definition: debug_utils.h:123
UMLApp::policyExt
CodeGenPolicyExt * policyExt() const
Definition: uml.cpp:2290
uml.h
CodeGenerationPolicy::getNewLineEndingChars
QString getNewLineEndingChars() const
Definition: codegenerationpolicy.cpp:253
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
debug_utils.h
CodeAccessorMethod::LIST
@ LIST
Definition: codeaccessormethod.h:32
codeaccessormethod.h
umlobject.h
CodeAccessorMethod::REMOVE
@ REMOVE
Definition: codeaccessormethod.h:32
CodeMethodBlock::setStartMethodText
void setStartMethodText(const QString &value)
Definition: codemethodblock.cpp:58
CPPCodeClassField::getFieldName
QString getFieldName()
Definition: cppcodeclassfield.cpp:39
TextBlock::setText
void setText(const QString &text)
Definition: textblock.cpp:80
CodeAccessorMethod::ADD
@ ADD
Definition: codeaccessormethod.h:32
CPPCodeGenerationPolicy::getVectorMethodRemove
QString getVectorMethodRemove(const QString &variableName=QString(), const QString &itemClassName=QString())
Definition: cppcodegenerationpolicy.cpp:310
CodeAccessorMethod::AccessorType
AccessorType
Definition: codeaccessormethod.h:32
CPPCodeGenerationPolicy::getVectorMethodAppend
QString getVectorMethodAppend(const QString &variableName=QString(), const QString &itemClassName=QString())
Definition: cppcodegenerationpolicy.cpp:299
CPPSourceCodeAccessorMethod::~CPPSourceCodeAccessorMethod
virtual ~CPPSourceCodeAccessorMethod()
Definition: cppsourcecodeaccessormethod.cpp:40
CPPSourceCodeAccessorMethod
Definition: cppsourcecodeaccessormethod.h:22