class UMLActor

Information for a non-graphical UML Actor. More...

Definition#include <./actor.h>
InheritsUMLObject [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

This class contains the non-graphical information required for a UML Actor. This class inherits from UMLObject which contains most of the information. The UMLDoc class creates instances of this type. All Actors will need a unique id. This will be given by the UMLDoc class. If you don't leave it up to the UMLDoc class then call the method UMLDoc::getUniqueID to get a unique id.

See also: UMLObject, UMLDoc

 UMLActor (QObject * parent, QString Name, int id)

UMLActor

Constructs an Actor.

Parameters:
parentThe parent of this Actor.
nameThe name of the Actor.
idThe unique id to assign to this Actor.

 UMLActor (QObject * parent)

UMLActor

Constructs an Actor.

Parameters:
parentThe parent of this Actor.

 ~UMLActor ()

~UMLActor

Standard deconstructor.

bool  serialize (QDataStream * s, bool archive)

serialize

[virtual]

Allows the class to be loaded and saved.

Parameters:
sThe data stream to save/load to file to/from.

Returns: The success of the operation.

Reimplemented from UMLObject.

long  getClipSizeOf ()

getClipSizeOf

[virtual]

Returns the amount of bytes needed to serialize an instance object to the clipboard

Reimplemented from UMLObject.

bool  saveToXMI ( QDomDocument & qDoc, QDomElement & qElement )

saveToXMI

Reimplemented from UMLObject.

bool  loadFromXMI ( QDomElement & element )

loadFromXMI

Reimplemented from UMLObject.