• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • kdesdk
  • Sitemap
  • Contact Us
 

umbrello/umbrello

UMLEnumLiteral Class Reference

This class is used to set up information for an enum literal. More...

#include <enumliteral.h>

Inheritance diagram for UMLEnumLiteral:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 UMLEnumLiteral (UMLObject *parent)
 UMLEnumLiteral (UMLObject *parent, const QString &name, Uml::IDType id=Uml::id_None)
virtual ~UMLEnumLiteral ()
virtual UMLObject * clone () const
virtual void copyInto (UMLObject *lhs) const
bool operator== (const UMLEnumLiteral &rhs)
virtual void saveToXMI (QDomDocument &qDoc, QDomElement &qElement)
bool showPropertiesDialog (QWidget *parent)

Protected Member Functions

bool load (QDomElement &element)

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.

Author:
Paul Hensgen <phensgen@techie.com>
See also:
UMLObject Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org

Definition at line 25 of file enumliteral.h.


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 23 of file enumliteral.cpp.

UMLEnumLiteral::UMLEnumLiteral ( UMLObject *  parent  ) 

Sets up an enum literal.

Parameters:
parent The parent of this UMLEnumLiteral.

Definition at line 34 of file enumliteral.cpp.

UMLEnumLiteral::~UMLEnumLiteral (  )  [virtual]

Destructor.

Definition at line 43 of file enumliteral.cpp.


Member Function Documentation

UMLObject * UMLEnumLiteral::clone (  )  const [virtual]

Make a clone of this object.

Implements UMLClassifierListItem.

Definition at line 73 of file enumliteral.cpp.

void UMLEnumLiteral::copyInto ( UMLObject *  lhs  )  const [virtual]

Copy the internal presentation of this object into the new object.

Reimplemented from UMLClassifierListItem.

Definition at line 65 of file enumliteral.cpp.

bool UMLEnumLiteral::load ( QDomElement &  element  )  [protected, virtual]

Loads the <UML:EnumLiteral> XMI element (empty.

)

Reimplemented from UMLObject.

Definition at line 93 of file enumliteral.cpp.

bool UMLEnumLiteral::operator== ( const UMLEnumLiteral &  rhs  ) 

Overloaded '==' operator.

Reimplemented from UMLObject.

Definition at line 50 of file enumliteral.cpp.

void UMLEnumLiteral::saveToXMI ( QDomDocument &  qDoc,
QDomElement &  qElement 
) [virtual]

Creates the <UML:EnumLiteral> XMI element.

Implements UMLObject.

Definition at line 84 of file enumliteral.cpp.

bool UMLEnumLiteral::showPropertiesDialog ( QWidget *  parent  )  [virtual]

Display the properties configuration dialog for the enum literal.

Implements UMLClassifierListItem.

Definition at line 102 of file enumliteral.cpp.


The documentation for this class was generated from the following files:
  • enumliteral.h
  • enumliteral.cpp

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdesdk

Skip menu "kdesdk"
  • kapptemplate
  • kate
  •     kate
  • kbugbuster
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello
Generated for kdesdk by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal