umbrello/umbrello
#include <cppheadercodedocument.h>
Additional Inherited Members | |
Public Slots inherited from ClassifierCodeDocument | |
void | addAssociationClassField (UMLAssociation *assoc, bool syncToParentIfAdded=true) |
void | addAttributeClassField (UMLClassifierListItem *at, bool syncToParentIfAdded=true) |
void | addOperation (UMLClassifierListItem *obj) |
void | removeAssociationClassField (UMLAssociation *assoc) |
void | removeAttributeClassField (UMLClassifierListItem *at) |
void | removeOperation (UMLClassifierListItem *obj) |
void | syncToParent () |
Protected Attributes inherited from CodeGenObjectWithTextBlocks | |
QMap< QString, TextBlock * > | m_textBlockTagMap |
TextBlockList | m_textblockVector |
Detailed Description
class CPPHeaderCodeDocument A CPP UMLClassifier Header Code Document.
We carve the CPP document up into 2 documents, "source" and "header". This one represents the header portion. The sections of each are as follows:
- header
- includes
- import statements
- class declaration
- guts of the class (e.g. field decl, accessor methods, operations, dependant classes)
Definition at line 35 of file cppheadercodedocument.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
Definition at line 37 of file cppheadercodedocument.cpp.
|
virtual |
Destructor.
Definition at line 65 of file cppheadercodedocument.cpp.
Member Function Documentation
|
virtual |
Add a code operation to this cpp classifier code document.
In the vannilla version, we just tack all operations on the end of the document.
- Parameters
-
op the code operation
- Returns
- bool which is true IF the code operation was added successfully
Implements ClassifierCodeDocument.
Definition at line 288 of file cppheadercodedocument.cpp.
|
protected |
|
protectedvirtual |
Need to overwrite this for cpp header since we need to pick up the header class declaration block.
Reimplemented from CodeGenObjectWithTextBlocks.
Definition at line 84 of file cppheadercodedocument.cpp.
|
protected |
Create a new code comment.
IN this case it is a CPPCodeDocumentation object.
|
protectedvirtual |
Save the XMI representation of this object.
Reimplemented from CodeDocument.
Definition at line 229 of file cppheadercodedocument.cpp.
|
virtual |
Save the XMI representation of this object.
- Returns
- bool status of save
Implements ClassifierCodeDocument.
Definition at line 347 of file cppheadercodedocument.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.