umbrello: umbrello/codegenerators/ruby/rubycodeoperation.h Source File

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

rubycodeoperation.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) 2005 *
8 * Richard Dale <Richard_Dale@tipitina.demon.co.uk> *
9 * copyright (C) 2006-2020 *
10 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
11 ***************************************************************************/
12
13 #ifndef RUBYCODEOPERATION_H
14 #define RUBYCODEOPERATION_H
15
16 #include "codeoperation.h"
17
18 #include <QString>
19
20 class RubyClassifierCodeDocument;
21
22 class RubyCodeOperation : virtual public CodeOperation
23 {
24 Q_OBJECT
25 public:
26
30 RubyCodeOperation (RubyClassifierCodeDocument * doc, UMLOperation * op, const QString & body = QString(), const QString & comment = QString());
31
35 virtual ~RubyCodeOperation ();
36
37 virtual int lastEditableLine();
38
39 protected:
40
41 void updateMethodDeclaration();
42
43 };
44
45 #endif // RUBYCODEOPERATION_H
RubyCodeDocumentation
Definition: rubycodedocumentation.h:30
Import_Rose::methodName
void methodName(const QString &m)
Definition: import_rose.cpp:53
RubyCodeOperation
Definition: rubycodeoperation.h:23
ClassifierCodeDocument::parentIsInterface
bool parentIsInterface()
Definition: classifiercodedocument.cpp:418
UMLClassifier::isInterface
bool isInterface() const
Definition: classifier.cpp:118
UMLAttributeList
Definition: umlattributelist.h:27
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
UMLOperation::getParmList
UMLAttributeList getParmList() const
Definition: operation.cpp:178
RubyCodeOperation::lastEditableLine
virtual int lastEditableLine()
Definition: rubycodeoperation.cpp:202
rubycodeoperation.h
UMLOperation::isConstructorOperation
bool isConstructorOperation()
Definition: operation.cpp:369
UMLAttribute::getInitialValue
QString getInitialValue() const
Definition: attribute.cpp:99
UMLClassifierListItem::getTypeName
virtual QString getTypeName() const
Definition: classifierlistitem.cpp:112
TextBlock::setWriteOutText
void setWriteOutText(bool write)
Definition: textblock.cpp:131
RubyCodeOperation::~RubyCodeOperation
virtual ~RubyCodeOperation()
Definition: rubycodeoperation.cpp:37
RubyCodeOperation::updateMethodDeclaration
void updateMethodDeclaration()
Definition: rubycodeoperation.cpp:42
CodeBlockWithComments::getComment
CodeComment * getComment() const
Definition: codeblockwithcomments.cpp:47
CodeMethodBlock::getParentDocument
CodeDocument * getParentDocument()
Definition: codemethodblock.cpp:33
CodeDocument
Definition: codedocument.h:33
codeoperation.h
ClassifierCodeDocument
Definition: classifiercodedocument.h:33
rubyclassifiercodedocument.h
Uml::Visibility::Public
@ Public
Definition: basictypes.h:60
CodeBlockWithComments::setOverallIndentationLevel
void setOverallIndentationLevel(int level)
Definition: codeblockwithcomments.cpp:164
CodeBlockWithComments::setComment
void setComment(CodeComment *object)
Definition: codeblockwithcomments.cpp:39
UMLObject::visibility
Uml::Visibility::Enum visibility() const
Definition: umlobject.cpp:466
rubycodedocumentation.h
RubyClassifierCodeDocument::getRubyClassName
QString getRubyClassName(const QString &name)
Definition: rubyclassifiercodedocument.cpp:87
UMLObject::doc
QString doc() const
Definition: umlobject.cpp:435
UMLAttribute
Sets up attribute information.
Definition: attribute.h:28
CodeBlock::contentType
ContentType contentType() const
Definition: codeblock.cpp:54
CodeBlock::AutoGenerated
@ AutoGenerated
the content was generated by code generation itself
Definition: codeblock.h:28
ClassifierCodeDocument::getParentClassifier
UMLClassifier * getParentClassifier()
Definition: classifiercodedocument.cpp:275
CodeMethodBlock::setEndMethodText
void setEndMethodText(const QString &value)
Definition: codemethodblock.cpp:66
CodeOperation::getParentOperation
UMLOperation * getParentOperation()
Definition: codeoperation.cpp:64
uError
#define uError()
Definition: debug_utils.h:123
UMLOperation
Definition: operation.h:25
CodeOperation
Definition: codeoperation.h:24
uml.h
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
debug_utils.h
TextBlock::getNewLineEndingChars
static QString getNewLineEndingChars()
Definition: textblock.cpp:172
RubyClassifierCodeDocument
Definition: rubyclassifiercodedocument.h:37
CodeMethodBlock::setStartMethodText
void setStartMethodText(const QString &value)
Definition: codemethodblock.cpp:58
TextBlock::setText
void setText(const QString &text)
Definition: textblock.cpp:80
RubyCodeGenerator::cppToRubyType
static QString cppToRubyType(const QString &cppType)
Definition: rubycodegenerator.cpp:111
rubycodegenerator.h
RubyCodeOperation::RubyCodeOperation
RubyCodeOperation(RubyClassifierCodeDocument *doc, UMLOperation *op, const QString &body=QString(), const QString &comment=QString())
Definition: rubycodeoperation.cpp:26
RubyCodeGenerator::cppToRubyName
static QString cppToRubyName(const QString &cppName)
Definition: rubycodegenerator.cpp:135