umbrello 2.34.70-5524f40e1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
Public Slots | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
OwnedCodeBlock Class Referenceabstract

#include <ownedcodeblock.h>

Inheritance diagram for OwnedCodeBlock:
Collaboration diagram for OwnedCodeBlock:

Public Slots

virtual void syncToParent ()
 

Public Member Functions

 OwnedCodeBlock (UMLObject *parent)
 
virtual ~OwnedCodeBlock ()
 
UMLObjectgetParentObject ()
 
virtual void updateContent ()=0
 

Protected Member Functions

virtual void release ()
 
virtual void setAttributesOnNode (QXmlStreamWriter &writer)
 
virtual void setAttributesFromNode (QDomElement &element)
 
virtual void setAttributesFromObject (TextBlock *obj)
 

Private Member Functions

void initFields (UMLObject *parent)
 

Private Attributes

UMLObjectm_parentObject
 

Detailed Description

Describes any codeblock which is 'owned' by a UMLobject of some sort and should be in sync with that parent.

Constructor & Destructor Documentation

◆ OwnedCodeBlock()

OwnedCodeBlock::OwnedCodeBlock ( UMLObject parent)
explicit

Constructor

Here is the call graph for this function:

◆ ~OwnedCodeBlock()

OwnedCodeBlock::~OwnedCodeBlock ( )
virtual

Empty Destructor

Member Function Documentation

◆ getParentObject()

UMLObject * OwnedCodeBlock::getParentObject ( )

Get the value of m_parentObject.

Returns
the value of m_parentObject

◆ initFields()

void OwnedCodeBlock::initFields ( UMLObject parent)
private
Here is the call graph for this function:

◆ release()

void OwnedCodeBlock::release ( )
protectedvirtual

Causes the text block to release all of its connections and any other text blocks that it 'owns'. Needed to be called prior to deletion of the textblock.

Reimplemented in CodeAccessorMethod, CodeClassFieldDeclarationBlock, CodeMethodBlock, and OwnedHierarchicalCodeBlock.

◆ setAttributesFromNode()

void OwnedCodeBlock::setAttributesFromNode ( QDomElement &  elem)
protectedvirtual

Set the class attributes of this object from the passed element node.

Reimplemented in CodeAccessorMethod, CodeClassFieldDeclarationBlock, CodeMethodBlock, CodeOperation, DCodeAccessorMethod, JavaCodeAccessorMethod, OwnedHierarchicalCodeBlock, and RubyCodeAccessorMethod.

Here is the call graph for this function:

◆ setAttributesFromObject()

void OwnedCodeBlock::setAttributesFromObject ( TextBlock obj)
protectedvirtual

Set the class attributes from a passed object.

Reimplemented in CodeAccessorMethod, CodeClassFieldDeclarationBlock, CodeMethodBlock, CodeOperation, CPPHeaderClassDeclarationBlock, DClassDeclarationBlock, and OwnedHierarchicalCodeBlock.

Here is the call graph for this function:

◆ setAttributesOnNode()

void OwnedCodeBlock::setAttributesOnNode ( QXmlStreamWriter &  writer)
protectedvirtual

Reimplemented in CodeAccessorMethod, CodeClassFieldDeclarationBlock, CodeMethodBlock, CodeOperation, DCodeAccessorMethod, JavaCodeAccessorMethod, OwnedHierarchicalCodeBlock, and RubyCodeAccessorMethod.

Here is the call graph for this function:

◆ syncToParent

void OwnedCodeBlock::syncToParent ( )
virtualslot
Here is the call graph for this function:

◆ updateContent()

virtual void OwnedCodeBlock::updateContent ( )
pure virtual

Member Data Documentation

◆ m_parentObject

UMLObject* OwnedCodeBlock::m_parentObject
private

The documentation for this class was generated from the following files: