|
|
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.
| UMLActor (QObject * parent, QString Name, int id)
| UMLActor |
Constructs an Actor.
Parameters:
| parent | The parent of this Actor. |
| name | The name of the Actor. |
| id | The unique id to assign to this Actor. |
| UMLActor (QObject * parent)
| UMLActor |
Constructs an Actor.
Parameters:
| parent | The 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:
| s | The 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.