#include <cppmakecodedocument.h>
|
| CPPMakefileCodeDocument () |
|
virtual | ~CPPMakefileCodeDocument () |
|
QString | toString () const |
|
QString | getPath () const |
|
void | updateContent () |
|
| CodeDocument () |
|
virtual | ~CodeDocument () |
|
void | setFileExtension (const QString &new_var) |
|
QString | getFileExtension () const |
|
void | setFileName (const QString &new_var) |
|
QString | getFileName () const |
|
void | setPackage (UMLPackage *new_var) |
|
QString | getPackage () const |
|
void | setID (const QString &new_id) |
|
QString | ID () const |
|
void | setWriteOutCode (bool new_var) |
|
bool | getWriteOutCode () const |
|
void | setHeader (CodeComment *comment) |
|
CodeComment * | getHeader () const |
|
bool | insertTextBlock (TextBlock *newBlock, TextBlock *existingBlock, bool after=true) |
|
TextBlock * | findTextBlockByTag (const QString &tag, bool descendIntoChildren=false) const |
|
virtual void | saveToXMI (QXmlStreamWriter &writer) |
|
virtual void | loadFromXMI (QDomElement &root) |
|
virtual CodeBlock * | newCodeBlock () |
|
virtual HierarchicalCodeBlock * | newHierarchicalCodeBlock () |
|
virtual CodeBlockWithComments * | newCodeBlockWithComments () |
|
virtual QString | getUniqueTag (const QString &prefix=QString()) |
|
QString | cleanName (const QString &name) |
|
virtual void | synchronize () |
|
| CodeGenObjectWithTextBlocks (CodeDocument *parent) |
|
virtual | ~CodeGenObjectWithTextBlocks () |
|
virtual bool | addTextBlock (TextBlock *add_object) |
|
virtual bool | removeTextBlock (TextBlock *remove_object) |
|
TextBlockList * | getTextBlockList () const |
|
virtual HierarchicalCodeBlock * | getHierarchicalCodeBlock (const QString &tag, const QString &comment, int indentLevel) |
|
virtual CodeBlockWithComments * | getCodeBlockWithComments (const QString &tag, const QString &comment, int indentLevel) |
|
CodeComment * | addOrUpdateTaggedCodeComment (const QString &tag=QString(), const QString &text=QString(), int indentationLevel=0) |
|
CodeBlockWithComments * | addOrUpdateTaggedCodeBlockWithComments (const QString &tag, const QString &text, const QString &ctext, int indentLevel, bool forceUserBlockUpdate) |
|
TextBlock * | findTextBlockByTag (const QString &tag) |
|
CodeGenObjectWithTextBlocks * | findParentObjectForTaggedTextBlock (const QString &tag) |
|
◆ CPPMakefileCodeDocument()
CPPMakefileCodeDocument::CPPMakefileCodeDocument |
( |
| ) |
|
◆ ~CPPMakefileCodeDocument()
CPPMakefileCodeDocument::~CPPMakefileCodeDocument |
( |
| ) |
|
|
virtual |
◆ getPath()
QString CPPMakefileCodeDocument::getPath |
( |
| ) |
const |
|
virtual |
Get the value of the path to this code document.
- Returns
- the value of m_pathName
Reimplemented from CodeDocument.
◆ toString()
QString CPPMakefileCodeDocument::toString |
( |
| ) |
const |
|
virtual |
◆ updateContent()
void CPPMakefileCodeDocument::updateContent |
( |
| ) |
|
|
virtual |
Update the content of this code document. This is where you should lay out your code document structure of textblocks in the inheriting class, should it have any text in it. Vanilla code documents don't have much to do.. override this with a different version for your own documents.
Reimplemented from CodeDocument.
◆ DOCUMENT_ID_VALUE
const char * CPPMakefileCodeDocument::DOCUMENT_ID_VALUE = "Makefile_DOC" |
|
static |
The documentation for this class was generated from the following files: