umbrello
2.32.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
Go to the documentation of this file.
20 class QXmlStreamWriter;
47 virtual QString
getPath ()
const;
49 void setID (
const QString &new_id);
64 virtual void saveToXMI1(QXmlStreamWriter& writer);
71 virtual QString
getUniqueTag(
const QString& prefix = QString());
120 #endif // CODEDOCUMENT_H
virtual Uml::ID::Type id() const
Definition: umlobject.cpp:420
CodeComment * m_header
Definition: codedocument.h:113
virtual void resetTextBlocks()
Definition: codegenobjectwithtextblocks.cpp:322
void setWriteOutCode(bool new_var)
Definition: codedocument.cpp:151
void resetTextBlocks()
Definition: codedocument.cpp:335
QMap< QString, TextBlock * > m_childTextBlockTagMap
Definition: codedocument.h:116
virtual HierarchicalCodeBlock * newHierarchicalCodeBlock()
Definition: codedocument.cpp:475
virtual QString toString() const
Definition: textblock.cpp:401
QString name() const
Definition: umlobject.cpp:206
void addChildTagToMap(const QString &tag, TextBlock *tb)
Definition: codedocument.cpp:487
static QString cleanName(const QString &name)
Definition: codegenerator.cpp:546
QMap< QString, TextBlock * > m_textBlockTagMap
Definition: codegenobjectwithtextblocks.h:92
virtual void saveToXMI1(QXmlStreamWriter &writer)
Definition: codedocument.cpp:434
void setFileName(const QString &new_var)
Definition: codedocument.cpp:50
void setWriteOutText(bool write)
Definition: textblock.cpp:127
const Type None
special value for uninitialized ID
Definition: basictypes.h:373
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two distribute and or modify the software for each author s protection and we want to make certain that everyone understands that there is no warranty for this free software If the software is modified by someone else and passed we want its recipients to know that what they have is not the so that any problems introduced by others will not reflect on the original authors reputations any free program is threatened constantly by software patents We wish to avoid the danger that redistributors of a free program will individually obtain patent in effect making the program proprietary To prevent this
Definition: GPL-2.0-only.txt:51
friend QDebug operator<<(QDebug os, const CodeDocument &obj)
Definition: codedocument.cpp:523
void setFileExtension(const QString &new_var)
Definition: codedocument.cpp:69
CodeGenerationPolicy * commonPolicy() const
Definition: uml.cpp:2283
QString toString(const ID::Type &id)
Definition: basictypes.cpp:1300
QString m_pathName
Definition: codedocument.h:107
void setTag(const QString &value)
Definition: textblock.cpp:117
virtual QString getPath() const
Definition: codedocument.cpp:97
std::string Type
Definition: basictypes.h:371
QString getFileExtension() const
Definition: codedocument.cpp:79
Definition: codedocument.h:29
void removeChildTagFromMap(const QString &tag)
Definition: codedocument.cpp:482
The base class for UML objects.
Definition: umlobject.h:69
CodeDocument()
Definition: codedocument.cpp:26
TextBlockList * getTextBlockList() const
Definition: codegenobjectwithtextblocks.cpp:45
Definition: codeblock.h:16
QString getPackage() const
Definition: codedocument.cpp:120
QString m_fileExtension
Definition: codedocument.h:105
ID::Type fromString(const QString &id)
Definition: basictypes.cpp:1305
friend class HierarchicalCodeBlock
Definition: codedocument.h:31
virtual void loadFromXMI1(QDomElement &root)
Definition: codedocument.cpp:345
QString getHeadingFile(const QString &str)
Definition: codegenerationpolicy.cpp:542
Definition: codegenobjectwithtextblocks.h:28
CodeComment * getHeader() const
Definition: codedocument.cpp:180
TextBlockList m_textblockVector
Definition: codegenobjectwithtextblocks.h:93
UMLObject * findObjectById(Uml::ID::Type id)
Definition: umldoc.cpp:1039
it is up to the author donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License If the distribution and or use of the Library is restricted in certain countries either by patents or by copyrighted the original copyright holder who places the Library under this License may add an geographical distribution limitation excluding those so that distribution is permitted only in or among countries not thus excluded In such this License incorporates the limitation as if written in the body of this License The Free Software Foundation may publish revised and or new versions of the Library General Public License from time to time Such new versions will be similar in spirit to the present but may differ in detail to address new problems or concerns Each version is given a distinguishing version number If the Library specifies a version number of this License which applies to it and any later you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation If the Library does not specify a license version number
Definition: LGPL-2.0-only.txt:368
virtual void setAttributesOnNode(QXmlStreamWriter &writer)
Definition: codedocument.cpp:354
#define uWarning()
Definition: debug_utils.h:110
void setPackage(UMLPackage *new_var)
Definition: codedocument.cpp:88
type show c for details The hypothetical commands show w and show c should show the appropriate parts of the General Public License Of the commands you use may be called something other than show w and show c
Definition: GPL-2.0-only.txt:301
static UMLApp * app()
Definition: uml.cpp:275
QDebug operator<<(QDebug os, const CodeDocument &obj)
Definition: codedocument.cpp:523
bool m_writeOutCode
Definition: codedocument.h:110
virtual void synchronize()
Definition: codedocument.cpp:326
virtual void updateContent()
Definition: codedocument.cpp:448
virtual void setAttributesFromNode(QDomElement &element)
Definition: codegenobjectwithtextblocks.cpp:372
bool insertTextBlock(TextBlock *newBlock, TextBlock *existingBlock, bool after=true)
Definition: codedocument.cpp:213
QString cleanName(const QString &name)
Definition: codedocument.cpp:267
virtual CodeBlock * newCodeBlock()
Definition: codedocument.cpp:457
void updateHeader()
Definition: codedocument.cpp:276
virtual ~CodeDocument()
Definition: codedocument.cpp:37
bool insertTextBlock(TextBlock *newBlock, TextBlock *existingBlock, bool after=true)
Definition: hierarchicalcodeblock.cpp:106
UMLObject * findUMLObject(const QString &name, UMLObject::ObjectType type=UMLObject::ot_UMLObject, UMLObject *currentObj=0)
Definition: umldoc.cpp:1068
Definition: hierarchicalcodeblock.h:20
int m_lastTagIndex
Definition: codedocument.h:103
QString m_filename
Definition: codedocument.h:104
QString getFileName() const
Definition: codedocument.cpp:60
TextBlock * findTextBlockByTag(const QString &tag, bool descendIntoChildren=false) const
Definition: codedocument.cpp:500
virtual CodeBlockWithComments * newCodeBlockWithComments()
Definition: codedocument.cpp:466
QList< TextBlock * > TextBlockList
Definition: textblocklist.h:12
virtual void setAttributesOnNode(QXmlStreamWriter &writer)
Definition: codegenobjectwithtextblocks.cpp:354
QString ID() const
Definition: codedocument.cpp:140
Definition: textblock.h:22
void setHeader(CodeComment *comment)
Definition: codedocument.cpp:171
UMLPackage * asUMLPackage()
Definition: umlobject.cpp:1405
void setText(const QString &text)
Definition: textblock.cpp:76
bool getWriteOutCode() const
Definition: codedocument.cpp:162
virtual TextBlock * findCodeClassFieldTextBlockByTag(const QString &tag)
Definition: codedocument.cpp:517
void setID(const QString &new_id)
Definition: codedocument.cpp:131
UMLDoc * document() const
Definition: uml.cpp:1063
QString getTag() const
Definition: textblock.cpp:106
virtual void setAttributesFromNode(QDomElement &element)
Definition: codedocument.cpp:385
UMLPackage * m_package
Definition: codedocument.h:108
virtual QString toString() const
Definition: codedocument.cpp:299
virtual QString getUniqueTag(const QString &prefix=QString())
Definition: codedocument.cpp:190
QString m_ID
Definition: codedocument.h:106
Non-graphical information for a Package.
Definition: package.h:27