umbrello/umbrello
cppsourcecodeoperation.cpp
Go to the documentation of this file.
20 CPPSourceCodeOperation::CPPSourceCodeOperation(CPPSourceCodeDocument * doc, UMLOperation *parent, const QString & body, const QString & comment)
bool getConst() const
Returns whether this operation is a query (C++ "const").
Definition: operation.cpp:411
void setEndMethodText(const QString &value)
Set the ending text that finishes this method after the body is printed.
Definition: codemethodblock.cpp:66
This class defines the non-graphical information required for a UML Classifier (ie a class or interfa...
Definition: classifier.h:39
void setStartMethodText(const QString &value)
Set the starting text that begins this method before the body is printed.
Definition: codemethodblock.cpp:58
void setText(const QString &text)
Set the value of m_text The actual text of this code block.
Definition: textblock.cpp:80
void setOverallIndentationLevel(int level)
A utility method that causes the comment and body of the code block to have the same indentation leve...
Definition: codeblockwithcomments.cpp:163
CPPSourceCodeOperation(CPPSourceCodeDocument *doc, UMLOperation *op, const QString &body="", const QString &comment="")
Constructor.
Definition: cppsourcecodeoperation.cpp:20
This sub-class adds copyInto and clone to the QPtrList base class.
Definition: umlattributelist.h:26
virtual void updateContent()
Just want to know whether or not to print out the body of the operation.
Definition: cppsourcecodeoperation.cpp:36
UMLClassifier * getParentClassifier()
Get the value of m_parentclassifier.
Definition: classifiercodedocument.cpp:271
bool isLifeOperation()
Shortcut for (isConstructorOperation() || isDestructorOperation()).
Definition: operation.cpp:395
Definition: codeoperation.h:23
bool parentIsInterface()
Return if the parent classifier is an interface.
Definition: classifiercodedocument.cpp:413
void setWriteOutText(bool write)
Set the value of m_writeOutText Whether or not to include the text of this TextBlock into a file...
Definition: textblock.cpp:131
A CPP UMLClassifier Source Code Document.
Definition: cppsourcecodedocument.h:22
class CPPCodeDocumentation A CPP code comment.
Definition: cppcodedocumentation.h:27
QString stereotype(bool includeAdornments=false) const
Returns the stereotype.
Definition: umlobject.cpp:581
UMLOperation * getParentOperation()
Add a Parameter object to the m_parameterVector List.
Definition: codeoperation.cpp:64
bool getOperationsAreInline()
Get the value of m_inlineOperations.
Definition: cppcodegenerationpolicy.cpp:100
static QString cleanName(const QString &name)
Replaces spaces with underscores and capitalises as defined in m_modname.
Definition: codegenerator.cpp:609
Base class for programming language specific code generation policy extensions.
Definition: codegenpolicyext.h:28
virtual void updateMethodDeclaration()
Update the doc and start text of this method.
Definition: cppsourcecodeoperation.cpp:47
void setComment(CodeComment *object)
Set the Comment object.
Definition: codeblockwithcomments.cpp:38
virtual QString getTypeName() const
Returns the type name of the UMLClassifierListItem.
Definition: classifierlistitem.cpp:110
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.