umbrello/umbrello
#include <xmlelementcodeblock.h>
Protected Member Functions | |
virtual void | setAttributesFromNode (QDomElement &element) |
virtual void | setAttributesOnNode (QDomDocument &doc, QDomElement &blockElement) |
Protected Member Functions inherited from HierarchicalCodeBlock | |
TextBlock * | findCodeClassFieldTextBlockByTag (const QString &tag) |
virtual void | release () |
virtual void | setAttributesFromObject (TextBlock *obj) |
Protected Member Functions inherited from TextBlock | |
void | setCanDelete (bool canDelete) |
Protected Member Functions inherited from CodeGenObjectWithTextBlocks | |
virtual void | loadChildTextBlocksFromNode (QDomElement &root) |
virtual void | resetTextBlocks () |
void | setAttributesFromObject (CodeGenObjectWithTextBlocks *obj) |
Additional Inherited Members | |
Public Types inherited from CodeBlock | |
enum | ContentType { AutoGenerated =0, UserGenerated } |
Static Public Member Functions inherited from CodeBlock | |
static QString | enumToString (const ContentType &val) |
Static Public Member Functions inherited from TextBlock | |
static QString | decodeText (const QString &text, const QString &endLine) |
static QString | encodeText (const QString &text, const QString &endLine) |
static QString | formatMultiLineText (const QString &work, const QString &linePrefix, const QString &breakStr, bool addBreak=true, bool lastLineHasBreak=true) |
static QString | getIndentation () |
static QString | getNewLineEndingChars () |
Protected Attributes inherited from CodeGenObjectWithTextBlocks | |
QMap< QString, TextBlock * > | m_textBlockTagMap |
TextBlockList | m_textblockVector |
Detailed Description
Definition at line 23 of file xmlelementcodeblock.h.
Constructor & Destructor Documentation
XMLElementCodeBlock::XMLElementCodeBlock | ( | CodeDocument * | parentDoc, |
const QString & | nodeName, | ||
const QString & | comment = QString() |
||
) |
Empty Constructor.
Definition at line 21 of file xmlelementcodeblock.cpp.
|
virtual |
Empty Destructor.
Definition at line 27 of file xmlelementcodeblock.cpp.
Member Function Documentation
void XMLElementCodeBlock::addAttribute | ( | UMLAttribute * | at | ) |
Definition at line 87 of file xmlelementcodeblock.cpp.
|
virtual |
Definition at line 92 of file xmlelementcodeblock.cpp.
|
virtual |
Definition at line 82 of file xmlelementcodeblock.cpp.
|
virtual |
Load params from the appropriate XMI element node.
load params from the appropriate XMI element node.
Reimplemented from HierarchicalCodeBlock.
Definition at line 46 of file xmlelementcodeblock.cpp.
|
virtual |
Save the XMI representation of this object.
Reimplemented from HierarchicalCodeBlock.
Definition at line 34 of file xmlelementcodeblock.cpp.
|
protectedvirtual |
Set the class attributes of this object from the passed element node.
Reimplemented from HierarchicalCodeBlock.
Definition at line 68 of file xmlelementcodeblock.cpp.
|
protectedvirtual |
Set attributes of the node that represents this class in the XMI document.
Reimplemented from HierarchicalCodeBlock.
Definition at line 55 of file xmlelementcodeblock.cpp.
|
virtual |
Definition at line 77 of file xmlelementcodeblock.cpp.
void XMLElementCodeBlock::updateContent | ( | ) |
Update the start/end text of this codeblock.
Update the start and end text for this ownedhierarchicalcodeblock.
Definition at line 100 of file xmlelementcodeblock.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.