umbrello  2.32.2
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  SPDX-License-Identifier: GPL-2.0-or-later
3 
4  SPDX-FileCopyrightText: 2005 Richard Dale <Richard_Dale@tipitina.demon.co.uk>
5  SPDX-FileCopyrightText: 2006-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6 */
7 
8 #ifndef RUBYCODEOPERATION_H
9 #define RUBYCODEOPERATION_H
10 
11 #include "codeoperation.h"
12 
13 #include <QString>
14 
16 
17 class RubyCodeOperation : virtual public CodeOperation
18 {
19  Q_OBJECT
20 public:
21 
25  RubyCodeOperation (RubyClassifierCodeDocument * doc, UMLOperation * op, const QString & body = QString(), const QString & comment = QString());
26 
30  virtual ~RubyCodeOperation ();
31 
32  virtual int lastEditableLine();
33 
34 protected:
35 
37 
38 };
39 
40 #endif // RUBYCODEOPERATION_H
RubyClassifierCodeDocument::getRubyClassName
QString getRubyClassName(const QString &name) const
Definition: rubyclassifiercodedocument.cpp:82
RubyCodeDocumentation
Definition: rubycodedocumentation.h:24
Import_Rose::methodName
void methodName(const QString &m)
Definition: import_rose.cpp:54
RubyCodeOperation
Definition: rubycodeoperation.h:17
ClassifierCodeDocument::getParentClassifier
UMLClassifier * getParentClassifier() const
Definition: classifiercodedocument.cpp:278
UMLClassifier::isInterface
bool isInterface() const
Definition: classifier.cpp:113
UMLAttributeList
Definition: umlattributelist.h:20
UMLObject::name
QString name() const
Definition: umlobject.cpp:206
UMLOperation::getParmList
UMLAttributeList getParmList() const
Definition: operation.cpp:173
RubyCodeOperation::lastEditableLine
virtual int lastEditableLine()
Definition: rubycodeoperation.cpp:197
parameters
the intent is to exercise the right to control the distribution of derivative or collective works based on the Library In mere aggregation of another work not based on the Library with the you must alter all the notices that refer to this so that they refer to the ordinary GNU General Public instead of to this it is irreversible for that so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy This option is useful when you wish to copy part of the code of the Library into a program that is not a library You may copy and distribute the which must be distributed under the terms of Sections and above on a medium customarily used for software interchange If distribution of object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source even though third parties are not compelled to copy the source along with the object code A program that contains no derivative of any portion of the but is designed to work with the Library by being compiled or linked with is called a work that uses the Library Such a in is not a derivative work of the and therefore falls outside the scope of this License linking a work that uses the Library with the Library creates an executable that is a derivative of the rather than a work that uses the library The executable is therefore covered by this License Section states terms for distribution of such executables When a work that uses the Library uses material from a header file that is part of the the object code for the work may be a derivative work of the Library even though the source code is not Whether this is true is especially significant if the work can be linked without the or if the work is itself a library The threshold for this to be true is not precisely defined by law If such an object file uses only numerical parameters
Definition: LGPL-2.0-only.txt:229
rubycodeoperation.h
UMLAttribute::getInitialValue
QString getInitialValue() const
Definition: attribute.cpp:94
UMLClassifierListItem::getTypeName
virtual QString getTypeName() const
Definition: classifierlistitem.cpp:108
TextBlock::setWriteOutText
void setWriteOutText(bool write)
Definition: textblock.cpp:127
RubyCodeOperation::~RubyCodeOperation
virtual ~RubyCodeOperation()
Definition: rubycodeoperation.cpp:32
RubyCodeOperation::updateMethodDeclaration
void updateMethodDeclaration()
Definition: rubycodeoperation.cpp:37
CodeBlockWithComments::getComment
CodeComment * getComment() const
Definition: codeblockwithcomments.cpp:46
CodeMethodBlock::getParentDocument
CodeDocument * getParentDocument()
Definition: codemethodblock.cpp:31
CodeDocument
Definition: codedocument.h:29
codeoperation.h
ClassifierCodeDocument
Definition: classifiercodedocument.h:28
rubyclassifiercodedocument.h
Uml::Visibility::Public
@ Public
Definition: basictypes.h:46
CodeBlockWithComments::setOverallIndentationLevel
void setOverallIndentationLevel(int level)
Definition: codeblockwithcomments.cpp:163
CodeBlockWithComments::setComment
void setComment(CodeComment *object)
Definition: codeblockwithcomments.cpp:38
UMLObject::visibility
Uml::Visibility::Enum visibility() const
Definition: umlobject.cpp:461
ClassifierCodeDocument::parentIsInterface
bool parentIsInterface() const
Definition: classifiercodedocument.cpp:421
rubycodedocumentation.h
c
type show c for details The hypothetical commands show w and show c should show the appropriate parts of the General Public License Of the commands you use may be called something other than show w and show c
Definition: GPL-2.0-only.txt:301
UMLObject::doc
QString doc() const
Definition: umlobject.cpp:430
UMLAttribute
Sets up attribute information.
Definition: attribute.h:22
CodeBlock::contentType
ContentType contentType() const
Definition: codeblock.cpp:50
CodeBlock::AutoGenerated
@ AutoGenerated
the content was generated by code generation itself
Definition: codeblock.h:24
CodeMethodBlock::setEndMethodText
void setEndMethodText(const QString &value)
Definition: codemethodblock.cpp:64
CodeOperation::getParentOperation
UMLOperation * getParentOperation()
Definition: codeoperation.cpp:63
UMLOperation::isConstructorOperation
bool isConstructorOperation() const
Definition: operation.cpp:364
uError
#define uError()
Definition: debug_utils.h:109
UMLOperation
Definition: operation.h:19
CodeOperation
Definition: codeoperation.h:19
uml.h
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:34
debug_utils.h
TextBlock::getNewLineEndingChars
static QString getNewLineEndingChars()
Definition: textblock.cpp:168
RubyClassifierCodeDocument
Definition: rubyclassifiercodedocument.h:31
CodeMethodBlock::setStartMethodText
void setStartMethodText(const QString &value)
Definition: codemethodblock.cpp:56
TextBlock::setText
void setText(const QString &text)
Definition: textblock.cpp:76
RubyCodeGenerator::cppToRubyType
static QString cppToRubyType(const QString &cppType)
Definition: rubycodegenerator.cpp:106
rubycodegenerator.h
RubyCodeOperation::RubyCodeOperation
RubyCodeOperation(RubyClassifierCodeDocument *doc, UMLOperation *op, const QString &body=QString(), const QString &comment=QString())
Definition: rubycodeoperation.cpp:21
RubyCodeGenerator::cppToRubyName
static QString cppToRubyName(const QString &cppName)
Definition: rubycodegenerator.cpp:130