umbrello API Documentation

UMLActor Class Reference

This class contains the non-graphical information required for a UML Actor. Information for a non-graphical UML Actor. More...

#include <actor.h>

Inheritance diagram for UMLActor:

UMLCanvasObject UMLObject List of all members.

Public Member Functions

 UMLActor (const QString &name="", Uml::IDType id=Uml::id_None)
 Constructs an Actor.
 ~UMLActor ()
 Standard deconstructor.
virtual void init ()
 Initializes key variables of the class.
virtual UMLObjectclone () const
 Make a clone of this object.
void saveToXMI (QDomDocument &qDoc, QDomElement &qElement)
 Creates the <UML:Actor> XMI element.

Protected Member Functions

bool load (QDomElement &element)
 Loads the <UML:Actor> XMI element (empty.).

Detailed Description

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

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

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

Definition at line 28 of file actor.h.


Constructor & Destructor Documentation

UMLActor::UMLActor const QString &  name = "",
Uml::IDType  id = Uml::id_None
[explicit]
 

Constructs an Actor.

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

Definition at line 14 of file actor.cpp.

References init().

Referenced by clone().

UMLActor::~UMLActor  ) 
 

Standard deconstructor.

Definition at line 18 of file actor.cpp.


Member Function Documentation

void UMLActor::init  )  [virtual]
 

Initializes key variables of the class.

Reimplemented from UMLCanvasObject.

Definition at line 20 of file actor.cpp.

Referenced by UMLActor().

UMLObject * UMLActor::clone  )  const [virtual]
 

Make a clone of this object.

Implements UMLObject.

Definition at line 24 of file actor.cpp.

References clone(), UMLObject::copyInto(), and UMLActor().

Referenced by clone().

void UMLActor::saveToXMI QDomDocument &  qDoc,
QDomElement &  qElement
[virtual]
 

Creates the <UML:Actor> XMI element.

Implements UMLObject.

Definition at line 30 of file actor.cpp.

References UMLObject::save().

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

Loads the <UML:Actor> XMI element (empty.).

Reimplemented from UMLObject.

Definition at line 35 of file actor.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:08:06 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003