umbrello/umbrello
hierarchicalcodeblock.h
Go to the documentation of this file.
27 explicit HierarchicalCodeBlock (CodeDocument * doc, const QString &startString = "", const QString &endString = "", const QString &comment = "");
virtual CodeBlockWithComments * newCodeBlockWithComments()
Definition: hierarchicalcodeblock.cpp:78
virtual void release()
causes the text block to release all of its connections and any other text blocks that it 'owns'...
Definition: hierarchicalcodeblock.cpp:386
virtual CodeBlock * newCodeBlock()
Virtual methods that return a new code document objects.
Definition: hierarchicalcodeblock.cpp:73
void setEndText(const QString &new_var)
Set the value of m_endText.
Definition: hierarchicalcodeblock.cpp:43
QString getUniqueTag()
return a unique, and currently unallocated, text block tag for this hblock
Definition: hierarchicalcodeblock.cpp:60
void addCodeClassFieldMethods(CodeClassFieldList &list)
Utility method to add accessormethods in this object.
Definition: hierarchicalcodeblock.cpp:215
bool removeTextBlock(TextBlock *remove_object)
Remove a TextBlock object from m_textblockVector List returns boolean - true if successful.
Definition: hierarchicalcodeblock.cpp:169
bool insertTextBlock(TextBlock *newBlock, TextBlock *existingBlock, bool after=true)
Insert a new text block before/after the existing text block.
Definition: hierarchicalcodeblock.cpp:107
class CodeBlockWithComments A very common type of text block in any type of code. ...
Definition: codeblockwithcomments.h:24
virtual void setAttributesFromObject(TextBlock *obj)
set the class attributes from a passed object
Definition: hierarchicalcodeblock.cpp:297
virtual void saveToXMI(QDomDocument &doc, QDomElement &root)
Save the XMI representation of this object.
Definition: hierarchicalcodeblock.cpp:240
virtual void loadFromXMI(QDomElement &root)
load params from the appropriate XMI element node.
Definition: hierarchicalcodeblock.cpp:269
bool addTextBlock(TextBlock *add_object)
Add a TextBlock object to the m_textblockVector List.
Definition: hierarchicalcodeblock.cpp:93
This abstract class is for code generator objects which 'own' text blocks.
Definition: codegenobjectwithtextblocks.h:31
void setStartText(const QString &text)
Definition: hierarchicalcodeblock.cpp:199
Definition: hierarchicalcodeblock.h:22
The fundemental unit of text within an output file containing code.
Definition: textblock.h:24
HierarchicalCodeBlock(CodeDocument *doc, const QString &startString="", const QString &endString="", const QString &comment="")
Constructor.
Definition: hierarchicalcodeblock.cpp:27
TextBlock * findCodeClassFieldTextBlockByTag(const QString &tag)
look for specific text blocks which belong to code classfields
Definition: hierarchicalcodeblock.cpp:362
virtual QString toString() const
Definition: hierarchicalcodeblock.cpp:313
virtual HierarchicalCodeBlock * newHierarchicalCodeBlock()
Definition: hierarchicalcodeblock.cpp:83
QString getStartText() const
Definition: hierarchicalcodeblock.cpp:207
virtual void setAttributesOnNode(QDomDocument &doc, QDomElement &elem)
set attributes of the node that represents this class in the XMI document.
Definition: hierarchicalcodeblock.cpp:251
virtual void setAttributesFromNode(QDomElement &element)
set the class attributes of this object from the passed element node.
Definition: hierarchicalcodeblock.cpp:278
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.