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

umbrello/umbrello

UMLCategory Class Reference

#include <category.h>

Inheritance diagram for UMLCategory:

Inheritance graph
[legend]

List of all members.


Detailed Description

This class contains the non-graphical information required for a UML Category.

This class inherits from UMLCanvasObject which contains most of the information. The UMLDoc class creates instances of this type.

Information for a non-graphical UML Category.

Author:
Sharan Rao
See also:
UMLCanvasObject Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org

Definition at line 28 of file category.h.


Public Types

enum  Category_Type { ct_Disjoint_Specialisation, ct_Overlapping_Specialisation, ct_Union }

Public Member Functions

 UMLCategory (const QString &name=QString(), Uml::IDType id=Uml::id_None)
 ~UMLCategory ()
virtual void init ()
void copyInto (UMLObject *lhs) const
virtual UMLObject * clone () const
void saveToXMI (QDomDocument &qDoc, QDomElement &qElement)
UMLCategory::Category_Type getType ()
void setType (Category_Type type)

Protected Member Functions

bool load (QDomElement &element)

Member Enumeration Documentation

enum UMLCategory::Category_Type

Enumerator:
ct_Disjoint_Specialisation 
ct_Overlapping_Specialisation 
ct_Union 

Definition at line 32 of file category.h.


Constructor & Destructor Documentation

UMLCategory::UMLCategory ( const QString &  name = QString(),
Uml::IDType  id = Uml::id_None 
) [explicit]

Constructs an Category.

Parameters:
name The name of the Category.
id The unique id to assign to this Category.

Definition at line 14 of file category.cpp.

UMLCategory::~UMLCategory (  ) 

Standard deconstructor.

Definition at line 18 of file category.cpp.


Member Function Documentation

void UMLCategory::init (  )  [virtual]

Initializes key variables of the class.

Reimplemented from UMLCanvasObject.

Definition at line 20 of file category.cpp.

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

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

Reimplemented from UMLCanvasObject.

Definition at line 25 of file category.cpp.

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

Make a clone of this object.

Implements UMLObject.

Definition at line 34 of file category.cpp.

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

Creates the <UML:Category> XMI element.

Implements UMLObject.

Definition at line 40 of file category.cpp.

UMLCategory::Category_Type UMLCategory::getType (  ) 

Get the category type.

Definition at line 52 of file category.cpp.

void UMLCategory::setType ( Category_Type  type  ) 

Set the category type.

Definition at line 56 of file category.cpp.

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

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

)

Reimplemented from UMLObject.

Definition at line 46 of file category.cpp.


The documentation for this class was generated from the following files:
  • category.h
  • category.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"
  • kate
  •     kate
  • umbrello
  •   umbrello
Generated for kdesdk by doxygen 1.5.4
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