umbrello/umbrello
#include <rubyclassdeclarationblock.h>
![Inheritance graph](classRubyClassDeclarationBlock__inherit__graph.png)
Public Member Functions | |
RubyClassDeclarationBlock (RubyClassifierCodeDocument *parentDoc, const QString &start="", const QString &endText="end", const QString &comment="") | |
virtual | ~RubyClassDeclarationBlock () |
virtual void | loadFromXMI (QDomElement &root) |
virtual void | saveToXMI (QDomDocument &doc, QDomElement &root) |
void | updateContent () |
![]() | |
OwnedHierarchicalCodeBlock (UMLObject *parent, CodeDocument *parentDoc, const QString &start="", const QString &end="", const QString &comment="") | |
virtual | ~OwnedHierarchicalCodeBlock () |
CodeDocument * | getParentDocument () |
![]() | |
OwnedCodeBlock (UMLObject *parent) | |
virtual | ~OwnedCodeBlock () |
UMLObject * | getParentObject () |
![]() | |
HierarchicalCodeBlock (CodeDocument *doc, const QString &startString="", const QString &endString="", const QString &comment="") | |
virtual | ~HierarchicalCodeBlock () |
void | addCodeClassFieldMethods (CodeClassFieldList &list) |
bool | addTextBlock (TextBlock *add_object) |
QString | getEndText () const |
QString | getStartText () const |
QString | getUniqueTag () |
QString | getUniqueTag (const QString &prefix) |
bool | insertTextBlock (TextBlock *newBlock, TextBlock *existingBlock, bool after=true) |
virtual CodeBlock * | newCodeBlock () |
virtual CodeBlockWithComments * | newCodeBlockWithComments () |
virtual HierarchicalCodeBlock * | newHierarchicalCodeBlock () |
bool | removeTextBlock (TextBlock *remove_object) |
void | setEndText (const QString &new_var) |
void | setStartText (const QString &text) |
virtual QString | toString () const |
![]() | |
CodeBlockWithComments (CodeDocument *parent, const QString &body="", const QString &comment="") | |
virtual | ~CodeBlockWithComments () |
CodeComment * | getComment () const |
void | setComment (CodeComment *object) |
void | setOverallIndentationLevel (int level) |
![]() | |
CodeBlock (CodeDocument *parent, const QString &body="") | |
virtual | ~CodeBlock () |
ContentType | contentType () const |
void | setContentType (ContentType new_var) |
![]() | |
TextBlock (CodeDocument *parent, const QString &text="") | |
virtual | ~TextBlock () |
void | appendText (const QString &text) |
bool | canDelete () const |
virtual int | firstEditableLine () |
int | getIndentationLevel () const |
QString | getIndentationString (int level=0) const |
virtual QString | getNewEditorLine (int amount=0) |
CodeDocument * | getParentDocument () const |
QString | getTag () const |
QString | getText () const |
bool | getWriteOutText () const |
virtual int | lastEditableLine () |
void | setIndentationLevel (int level) |
void | setTag (const QString &value) |
void | setText (const QString &text) |
void | setWriteOutText (bool write) |
virtual QString | unformatText (const QString &text, const QString &indent="") |
![]() | |
CodeGenObjectWithTextBlocks (CodeDocument *parent) | |
virtual | ~CodeGenObjectWithTextBlocks () |
CodeBlockWithComments * | addOrUpdateTaggedCodeBlockWithComments (const QString &tag, const QString &text, const QString &ctext, int indentLevel, bool forceUserBlockUpdate) |
CodeComment * | addOrUpdateTaggedCodeComment (const QString &tag="", const QString &text="", int indentationLevel=0) |
CodeGenObjectWithTextBlocks * | findParentObjectForTaggedTextBlock (const QString &tag) |
TextBlock * | findTextBlockByTag (const QString &tag) |
virtual CodeBlockWithComments * | getCodeBlockWithComments (const QString &tag, const QString &comment, int indentLevel) |
virtual HierarchicalCodeBlock * | getHierarchicalCodeBlock (const QString &tag, const QString &comment, int indentLevel) |
TextBlockList * | getTextBlockList () const |
Additional Inherited Members | |
![]() | |
enum | ContentType { AutoGenerated =0, UserGenerated } |
![]() | |
void | syncToParent () |
![]() | |
virtual void | syncToParent () |
![]() | |
static QString | enumToString (const ContentType &val) |
![]() | |
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 () |
![]() | |
virtual void | release () |
virtual void | setAttributesFromNode (QDomElement &element) |
virtual void | setAttributesFromObject (TextBlock *obj) |
virtual void | setAttributesOnNode (QDomDocument &doc, QDomElement &blockElement) |
![]() | |
TextBlock * | findCodeClassFieldTextBlockByTag (const QString &tag) |
![]() | |
void | setCanDelete (bool canDelete) |
![]() | |
virtual void | loadChildTextBlocksFromNode (QDomElement &root) |
virtual void | resetTextBlocks () |
void | setAttributesFromObject (CodeGenObjectWithTextBlocks *obj) |
![]() | |
QMap< QString, TextBlock * > | m_textBlockTagMap |
TextBlockList | m_textblockVector |
Detailed Description
Definition at line 21 of file rubyclassdeclarationblock.h.
Constructor & Destructor Documentation
|
explicit |
Empty Constructor.
Definition at line 19 of file rubyclassdeclarationblock.cpp.
|
virtual |
Empty Destructor.
Definition at line 25 of file rubyclassdeclarationblock.cpp.
Member Function Documentation
|
virtual |
load params from the appropriate XMI element node.
Implements OwnedHierarchicalCodeBlock.
Definition at line 44 of file rubyclassdeclarationblock.cpp.
|
virtual |
Save the XMI representation of this object.
Implements OwnedHierarchicalCodeBlock.
Definition at line 32 of file rubyclassdeclarationblock.cpp.
|
virtual |
Update the start/end text of this codeblock.
update the start and end text for this ownedhierarchicalcodeblock.
Implements OwnedHierarchicalCodeBlock.
Definition at line 52 of file rubyclassdeclarationblock.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.