#include <cppheadercodeoperation.h>
|
| CPPHeaderCodeOperation (CPPHeaderCodeDocument *doc, UMLOperation *op, const QString &body=QString(), const QString &comment=QString()) |
|
virtual | ~CPPHeaderCodeOperation () |
|
virtual int | lastEditableLine () |
|
virtual void | updateMethodDeclaration () |
|
virtual void | updateContent () |
|
| CodeOperation (ClassifierCodeDocument *doc, UMLOperation *parent, const QString &body=QString(), const QString &comment=QString()) |
|
virtual | ~CodeOperation () |
|
UMLOperation * | getParentOperation () |
|
virtual void | saveToXMI (QXmlStreamWriter &writer) |
|
virtual void | loadFromXMI (QDomElement &root) |
|
virtual void | setAttributesFromObject (TextBlock *obj) |
|
| CodeMethodBlock (ClassifierCodeDocument *doc, UMLObject *parentObj, const QString &body=QString(), const QString &comment=QString()) |
|
virtual | ~CodeMethodBlock () |
|
virtual QString | toString () const |
|
QString | getStartMethodText () const |
|
QString | getEndMethodText () const |
|
CodeDocument * | getParentDocument () |
|
| OwnedCodeBlock (UMLObject *parent) |
|
virtual | ~OwnedCodeBlock () |
|
UMLObject * | getParentObject () |
|
| CodeBlock (CodeDocument *parent, const QString &body=QString()) |
|
virtual | ~CodeBlock () |
|
void | setContentType (ContentType new_var) |
|
ContentType | contentType () const |
|
| TextBlock (CodeDocument *parent, const QString &text=QString()) |
|
virtual | ~TextBlock () |
|
void | setText (const QString &text) |
|
QString | getText () const |
|
void | appendText (const QString &text) |
|
void | setTag (const QString &value) |
|
QString | getTag () const |
|
CodeDocument * | getParentDocument () const |
|
void | setWriteOutText (bool write) |
|
bool | getWriteOutText () const |
|
void | setIndentationLevel (int level) |
|
int | getIndentationLevel () const |
|
QString | getIndentationString (int level=0) const |
|
virtual QString | unformatText (const QString &text, const QString &indent=QString()) |
|
bool | canDelete () const |
|
virtual QString | getNewEditorLine (int amount=0) |
|
virtual int | firstEditableLine () |
|
◆ CPPHeaderCodeOperation()
◆ ~CPPHeaderCodeOperation()
CPPHeaderCodeOperation::~CPPHeaderCodeOperation |
( |
| ) |
|
|
virtual |
◆ applyStereotypes()
Check to see if we have a valid stereotype to apply in the operation
◆ lastEditableLine()
int CPPHeaderCodeOperation::lastEditableLine |
( |
| ) |
|
|
virtual |
◆ updateContent()
void CPPHeaderCodeOperation::updateContent |
( |
| ) |
|
|
virtual |
This is the method called from within syncToparent() to update the *body* of the method. It is only called if the method is Auto-generated.
Reimplemented from CodeOperation.
◆ updateMethodDeclaration()
void CPPHeaderCodeOperation::updateMethodDeclaration |
( |
| ) |
|
|
virtual |
This is the method called from within syncToparent(). To update the start and end Method text. It is called whether or not the method is Auto or User generated.
Implements CodeOperation.
The documentation for this class was generated from the following files: