umbrello/umbrello
UMLEnumLiteral Class Reference
#include <enumliteral.h>

Detailed Description
This class is used to set up information for an enum literal.Enum literals are the values that enums can be set to.
Sets up attribute information.
- See also:
- UMLObject Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 27 of file enumliteral.h.
Public Member Functions | |
| UMLEnumLiteral (UMLObject *parent, const QString &name, Uml::IDType id=Uml::id_None) | |
| UMLEnumLiteral (UMLObject *parent) | |
| bool | operator== (const UMLEnumLiteral &rhs) |
| virtual void | copyInto (UMLObject *lhs) const |
| virtual UMLObject * | clone () const |
| virtual | ~UMLEnumLiteral () |
| void | saveToXMI (QDomDocument &qDoc, QDomElement &qElement) |
| bool | showPropertiesDialog (QWidget *parent) |
Protected Member Functions | |
| bool | load (QDomElement &element) |
Constructor & Destructor Documentation
| UMLEnumLiteral::UMLEnumLiteral | ( | UMLObject * | parent, | |
| const QString & | name, | |||
| Uml::IDType | id = Uml::id_None | |||
| ) |
Sets up an enum literal.
- Parameters:
-
parent The parent of this UMLEnumLiteral. name The name of this UMLEnumLiteral. id The unique id given to this UMLEnumLiteral.
Definition at line 18 of file enumliteral.cpp.
| UMLEnumLiteral::UMLEnumLiteral | ( | UMLObject * | parent | ) |
Sets up an enum literal.
- Parameters:
-
parent The parent of this UMLEnumLiteral.
Definition at line 24 of file enumliteral.cpp.
| UMLEnumLiteral::~UMLEnumLiteral | ( | ) | [virtual] |
Member Function Documentation
| bool UMLEnumLiteral::operator== | ( | const UMLEnumLiteral & | rhs | ) |
| void UMLEnumLiteral::copyInto | ( | UMLObject * | lhs | ) | const [virtual] |
Copy the internal presentation of this object into the new object.
Reimplemented from UMLClassifierListItem.
Definition at line 40 of file enumliteral.cpp.
| UMLObject * UMLEnumLiteral::clone | ( | ) | const [virtual] |
Make a clone of this object.
Implements UMLClassifierListItem.
Definition at line 45 of file enumliteral.cpp.
| void UMLEnumLiteral::saveToXMI | ( | QDomDocument & | qDoc, | |
| QDomElement & | qElement | |||
| ) | [virtual] |
Creates the <UML:EnumLiteral> XMI element.
Implements UMLObject.
Definition at line 54 of file enumliteral.cpp.
| bool UMLEnumLiteral::showPropertiesDialog | ( | QWidget * | parent | ) | [virtual] |
Display the properties configuration dialog for the enum literal.
Implements UMLClassifierListItem.
Definition at line 63 of file enumliteral.cpp.
| bool UMLEnumLiteral::load | ( | QDomElement & | element | ) | [protected, virtual] |
Loads the <UML:EnumLiteral> XMI element (empty.
)
Reimplemented from UMLObject.
Definition at line 59 of file enumliteral.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference