umbrello/umbrello
UMLStereotype Class Reference
#include <stereotype.h>

Detailed Description
This class is used to set up information for a stereotype.Stereotypes are used essentially as properties of attributes and operations etc.
Sets up stereotype information.
Definition at line 28 of file stereotype.h.
Public Member Functions | |
| UMLStereotype (const QString &name, Uml::IDType id=Uml::id_None) | |
| UMLStereotype () | |
| bool | operator== (const UMLStereotype &rhs) |
| virtual | ~UMLStereotype () |
| virtual void | copyInto (UMLObject *lhs) const |
| virtual UMLObject * | clone () const |
| void | incrRefCount () |
| void | decrRefCount () |
| int | refCount () const |
| void | saveToXMI (QDomDocument &qDoc, QDomElement &qElement) |
| bool | showPropertiesDialog (QWidget *parent) |
Protected Attributes | |
| int | m_refCount |
Constructor & Destructor Documentation
| UMLStereotype::UMLStereotype | ( | const QString & | name, | |
| Uml::IDType | id = Uml::id_None | |||
| ) | [explicit] |
Sets up a stereotype.
- Parameters:
-
name The name of this UMLStereotype. id The unique id given to this UMLStereotype.
Definition at line 24 of file stereotype.cpp.
| UMLStereotype::UMLStereotype | ( | ) |
| UMLStereotype::~UMLStereotype | ( | ) | [virtual] |
Member Function Documentation
| bool UMLStereotype::operator== | ( | const UMLStereotype & | rhs | ) |
| void UMLStereotype::copyInto | ( | UMLObject * | lhs | ) | const [virtual] |
Copy the internal presentation of this object into the new object.
Reimplemented from UMLObject.
Definition at line 54 of file stereotype.cpp.
| UMLObject * UMLStereotype::clone | ( | ) | const [virtual] |
| void UMLStereotype::incrRefCount | ( | ) |
| void UMLStereotype::decrRefCount | ( | ) |
| int UMLStereotype::refCount | ( | ) | const |
| void UMLStereotype::saveToXMI | ( | QDomDocument & | qDoc, | |
| QDomElement & | qElement | |||
| ) | [virtual] |
Saves to the <UML:StereoType> XMI element.
Implements UMLObject.
Definition at line 68 of file stereotype.cpp.
| bool UMLStereotype::showPropertiesDialog | ( | QWidget * | parent | ) |
Display the properties configuration dialog for the stereotype (just a line edit).
Definition at line 74 of file stereotype.cpp.
Member Data Documentation
int UMLStereotype::m_refCount [protected] |
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.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference