CPPHeaderCodeDocument Class Reference
class CPPHeaderCodeDocument A CPP UMLClassifier Header Code Document. More...
#include <cppheadercodedocument.h>
Inheritance diagram for CPPHeaderCodeDocument:

Public Member Functions | |
| CPPHeaderCodeDocument (UMLClassifier *classifier) | |
| Constructor. | |
| virtual | ~CPPHeaderCodeDocument () |
| Empty Destructor. | |
| bool | addCodeOperation (CodeOperation *op) |
| add a code operation to this cpp classifier code document. | |
Protected Member Functions | |
| void | resetTextBlocks () |
| Save the XMI representation of this object. | |
| virtual void | loadChildTextBlocksFromNode (QDomElement &root) |
| need to overwrite this for cpp header since we need to pick up the header class declaration block. | |
| void | addOrUpdateCodeClassFieldMethodsInCodeBlock (CodeClassFieldList &list, CPPHeaderClassDeclarationBlock *codeBlock) |
| CodeComment * | newCodeComment () |
| create a new code comment. | |
| void | updateContent () |
| Save the XMI representation of this object. | |
Detailed Description
class CPPHeaderCodeDocument A CPP UMLClassifier Header Code Document.
Definition at line 34 of file cppheadercodedocument.h.
Constructor & Destructor Documentation
|
|
Constructor. 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 54 of file cppheadercodedocument.cpp. References CodeDocument::setFileExtension(). |
|
|
Empty Destructor.
Definition at line 80 of file cppheadercodedocument.cpp. |
Member Function Documentation
|
|
add a code operation to this cpp classifier code document.
Implements ClassifierCodeDocument. Definition at line 276 of file cppheadercodedocument.cpp. References CodeGenObjectWithTextBlocks::addTextBlock(). |
|
|
Save the XMI representation of this object.
Reimplemented from CodeDocument. Definition at line 250 of file cppheadercodedocument.cpp. |
|
|
need to overwrite this for cpp header since we need to pick up the header class declaration block.
Reimplemented from CodeGenObjectWithTextBlocks. Definition at line 106 of file cppheadercodedocument.cpp. References CodeGenObjectWithTextBlocks::addTextBlock(), UMLDoc::findObjectById(), UMLApp::getDocument(), CodeDocument::getFileName(), CodeGenObjectWithTextBlocks::getHierarchicalCodeBlock(), UMLObject::loadFromXMI(), CodeBlockWithComments::loadFromXMI(), CodeBlock::loadFromXMI(), CodeComment::loadFromXMI(), CodeDocument::newCodeBlock(), CodeDocument::newCodeBlockWithComments(), and CodeDocument::newHierarchicalCodeBlock(). |
|
|
create a new code comment. IN this case it is a CPPCodeDocumentation object. |
|
The documentation for this class was generated from the following files:
