#include <cppheadercodeaccessormethod.h>
|
enum | AccessorType {
GET =0
, SET
, ADD
, REMOVE
,
LIST
} |
|
enum | ContentType { AutoGenerated =0
, UserGenerated
} |
|
virtual void | syncToParent () |
|
virtual void | syncToParent () |
|
static QString | enumToString (const ContentType &val) |
|
static QString | getIndentation () |
|
static QString | getNewLineEndingChars () |
|
static QString | formatMultiLineText (const QString &work, const QString &linePrefix, const QString &breakStr, bool addBreak=true, bool lastLineHasBreak=true) |
|
static QString | encodeText (const QString &text, const QString &endLine) |
|
static QString | decodeText (const QString &text, const QString &endLine) |
|
virtual void | release () |
|
virtual void | setAttributesOnNode (QXmlStreamWriter &writer) |
|
virtual void | setAttributesFromNode (QDomElement &element) |
|
void | forceRelease () |
|
void | setStartMethodText (const QString &value) |
|
void | setEndMethodText (const QString &value) |
|
void | setCanDelete (bool canDelete) |
|
◆ CPPHeaderCodeAccessorMethod()
◆ ~CPPHeaderCodeAccessorMethod()
CPPHeaderCodeAccessorMethod::~CPPHeaderCodeAccessorMethod |
( |
| ) |
|
|
virtual |
◆ update()
void CPPHeaderCodeAccessorMethod::update |
( |
| ) |
|
Must be called before this object is usable
◆ updateContent()
void CPPHeaderCodeAccessorMethod::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.
Implements CodeAccessorMethod.
◆ updateMethodDeclaration()
void CPPHeaderCodeAccessorMethod::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 CodeAccessorMethod.
The documentation for this class was generated from the following files: