umbrello/umbrello
codemethodblock.h
Go to the documentation of this file.
void setEndMethodText(const QString &value)
Set the ending text that finishes this method after the body is printed.
Definition: codemethodblock.cpp:66
void setStartMethodText(const QString &value)
Set the starting text that begins this method before the body is printed.
Definition: codemethodblock.cpp:58
class ClassifierCodeDocument A CodeDocument which represents a UMLClassifier (e.g.
Definition: classifiercodedocument.h:33
virtual void release()
Causes the text block to release all of its connections and any other text blocks that it 'owns'...
Definition: codemethodblock.cpp:76
virtual void updateContent()=0
This is the method called from within syncToparent() to update the body of the method.
QString getStartMethodText() const
Get the starting text that begins this method before the body is printed.
Definition: codemethodblock.cpp:42
virtual void updateMethodDeclaration()=0
This is the method called from within syncToparent().
class CodeBlockWithComments A very common type of text block in any type of code. ...
Definition: codeblockwithcomments.h:24
class CodeMethodBlock A common type of "code block" that occurs in OO code.
Definition: codemethodblock.h:28
Describes any codeblock which is 'owned' by a UMLobject of some sort and should be in sync with that ...
Definition: ownedcodeblock.h:26
This abstract class is for code generator objects which 'own' text blocks.
Definition: codegenobjectwithtextblocks.h:31
virtual void setAttributesFromNode(QDomElement &element)
Set the class attributes of this object from the passed element node.
Definition: codemethodblock.cpp:106
The fundemental unit of text within an output file containing code.
Definition: textblock.h:24
virtual void setAttributesOnNode(QDomDocument &doc, QDomElement &blockElement)
Set attributes of the node that represents this class in the XMI document.
Definition: codemethodblock.cpp:87
CodeMethodBlock(ClassifierCodeDocument *doc, UMLObject *parentObj, const QString &body="", const QString &comment="")
Constructors.
Definition: codemethodblock.cpp:19
QString getEndMethodText() const
Get the ending text that finishes this method after the body is printed.
Definition: codemethodblock.cpp:50
virtual void setAttributesFromObject(TextBlock *obj)
Set the class attributes from a passed object.
Definition: codemethodblock.cpp:124
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.