umbrello/umbrello
codedocument.h
Go to the documentation of this file.
virtual void updateContent()
Update the content of this code document.
Definition: codedocument.cpp:451
This class contains the non-graphical information required for a UML Package.
Definition: package.h:32
virtual CodeBlockWithComments * newCodeBlockWithComments()
Create a new CodeBlockWithComments object belonging to this CodeDocument.
Definition: codedocument.cpp:469
virtual CodeBlock * newCodeBlock()
Create a new CodeBlock object belonging to this CodeDocument.
Definition: codedocument.cpp:460
virtual void synchronize()
Cause this code document to synchronize to current generator policy.
Definition: codedocument.cpp:329
void updateHeader()
Update the header text of this codedocument (text and status of the head comment).
Definition: codedocument.cpp:279
bool insertTextBlock(TextBlock *newBlock, TextBlock *existingBlock, bool after=true)
Insert a new text block after the existing text block.
Definition: codedocument.cpp:216
virtual void loadFromXMI(QDomElement &root)
Load params from the appropriate XMI element node.
Definition: codedocument.cpp:348
virtual HierarchicalCodeBlock * newHierarchicalCodeBlock()
Create a new HierarchicalCodeBlock object belonging to this CodeDocument.
Definition: codedocument.cpp:478
virtual QString getPath()
Get the value of the path to this code document.
Definition: codedocument.cpp:100
const char * name() const
class CodeBlockWithComments A very common type of text block in any type of code. ...
Definition: codeblockwithcomments.h:23
virtual void saveToXMI(QDomDocument &doc, QDomElement &root)
Save the XMI representation of this object.
Definition: codedocument.cpp:437
void resetTextBlocks()
Reset/clear our inventory of textblocks in this document.
Definition: codedocument.cpp:338
virtual void setAttributesOnNode(QDomDocument &doc, QDomElement &blockElement)
Set attributes of the node that represents this class in the XMI document.
Definition: codedocument.cpp:357
friend QDebug operator<<(QDebug os, const CodeDocument &obj)
Definition: codedocument.cpp:526
void addChildTagToMap(const QString &tag, TextBlock *tb)
Definition: codedocument.cpp:490
virtual QString getUniqueTag(const QString &prefix=QString())
Return a unique and currently unallocated text block tag for this document.
Definition: codedocument.cpp:193
virtual void setAttributesFromNode(QDomElement &element)
Set the class attributes of this object from the passed element node.
Definition: codedocument.cpp:388
This abstract class is for code generator objects which 'own' text blocks.
Definition: codegenobjectwithtextblocks.h:31
QString cleanName(const QString &name)
A little utility method which calls CodeGenerator::cleanName.
Definition: codedocument.cpp:270
virtual QString toString()
Create the string representation of this object.
Definition: codedocument.cpp:302
TextBlock * findTextBlockByTag(const QString &tag, bool descendIntoChildren=false)
Lookup a certain textblock by its tag value, returns NULL if it cannot find the TextBlock with such a...
Definition: codedocument.cpp:503
void setFileName(const QString &new_var)
Set the complete value (name plus any extension) of m_filename.
Definition: codedocument.cpp:53
Definition: hierarchicalcodeblock.h:22
The fundemental unit of text within an output file containing code.
Definition: textblock.h:24
virtual TextBlock * findCodeClassFieldTextBlockByTag(const QString &tag)
Have to implement this for CodeObjectWithTextBlocks.
Definition: codedocument.cpp:520
void removeChildTagFromMap(const QString &tag)
Definition: codedocument.cpp:485
void setFileExtension(const QString &new_var)
Set the value of m_fileExtension.
Definition: codedocument.cpp:72
QString getPackage() const
Get the value of the package of this code document.
Definition: codedocument.cpp:123
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.