UMLStereotype Class Reference
This class is used to set up information for a stereotype. Sets up stereotype information. More...
#include <stereotype.h>
Inheritance diagram for UMLStereotype:

Public Member Functions | |
| UMLStereotype (const QString &name, Uml::IDType id=Uml::id_None) | |
| Sets up a stereotype. | |
| UMLStereotype () | |
| Sets up a stereotype. | |
| bool | operator== (UMLStereotype &rhs) |
| Overloaded '==' operator. | |
| virtual | ~UMLStereotype () |
| destructor | |
| virtual void | copyInto (UMLStereotype *rhs) const |
| Copy the internal presentation of this object into the new object. | |
| virtual UMLObject * | clone () const |
| Make a clone of this object. | |
| void | incrRefCount () |
| Increments the reference count for this stereotype. | |
| void | decrRefCount () |
| Decrements the reference count for this stereotype. | |
| int | refCount () const |
| Returns the reference count for this stereotype. | |
| void | saveToXMI (QDomDocument &qDoc, QDomElement &qElement) |
| Saves to the <UML:StereoType> XMI element. | |
| bool | showPropertiesDialog (QWidget *parent) |
| Display the properties configuration dialog for the stereotype (just a line edit). | |
Protected Attributes | |
| int | m_refCount |
| Each stereotype object is reference counted, i.e. | |
Detailed Description
This class is used to set up information for a stereotype. Sets up stereotype information.Stereotypes are used essentially as properties of attributes and operations etc.
- Author:
- Jonathan Riddell
Oliver Kellogg Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 28 of file stereotype.h.
Constructor & Destructor Documentation
|
||||||||||||
|
Sets up a stereotype.
Definition at line 24 of file stereotype.cpp. References UMLDoc::findStereotype(), UMLApp::getDocument(), and m_refCount. |
|
|
Sets up a stereotype.
Definition at line 35 of file stereotype.cpp. References m_refCount. Referenced by clone(). |
|
|
destructor
Definition at line 40 of file stereotype.cpp. |
Member Function Documentation
|
|
Overloaded '==' operator.
Definition at line 42 of file stereotype.cpp. |
|
|
Copy the internal presentation of this object into the new object.
Definition at line 54 of file stereotype.cpp. References UMLObject::copyInto(). Referenced by clone(). |
|
|
Make a clone of this object.
Implements UMLObject. Definition at line 59 of file stereotype.cpp. References clone(), copyInto(), and UMLStereotype(). Referenced by clone(). |
|
|
Increments the reference count for this stereotype.
Definition at line 83 of file stereotype.cpp. References m_refCount. Referenced by UMLObject::loadFromXMI(), and UMLObject::resolveRef(). |
|
|
Decrements the reference count for this stereotype.
Definition at line 87 of file stereotype.cpp. References m_refCount. Referenced by UMLObject::setUMLStereotype(). |
|
|
Returns the reference count for this stereotype.
Definition at line 91 of file stereotype.cpp. References m_refCount. Referenced by UMLObject::setUMLStereotype(). |
|
||||||||||||
|
Saves to the <UML:StereoType> XMI element.
Implements UMLObject. Definition at line 68 of file stereotype.cpp. References UMLObject::save(). |
|
|
Display the properties configuration dialog for the stereotype (just a line edit).
Definition at line 74 of file stereotype.cpp. References UMLObject::getName(), and UMLObject::setName(). |
Member Data Documentation
|
|
Each stereotype object is reference counted, i.e. client code manages it such that it comes into existence as soon as there is at least one user, and ceases existing when the number of users drops to 0. m_refCount reflects the number of users. It is externally managed, i.e. client code must take care to call incrRefCount() and decrRefCount() as appropriate. Definition at line 100 of file stereotype.h. Referenced by decrRefCount(), incrRefCount(), refCount(), and UMLStereotype(). |
The documentation for this class was generated from the following files:
