|
|
This class contains the non-graphical information required for a UML UseCase. This class inherits from UMLObject which contains most of the information. The UMLDoc class creates instances of this type. All UseCases 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.
| UMLUseCase (QObject * parent, QString Name, int id)
| UMLUseCase |
Creates a UseCase object
Parameters:
| parent | The parent of the object. |
| name | The name of the object. |
| id | The id of the object. |
| UMLUseCase (QObject * parent)
| UMLUseCase |
Creates a UseCase object
Parameters:
| parent | The parent of the object. |
| ~UMLUseCase ()
| ~UMLUseCase |
Standard deconstructor
| bool serialize (QDataStream * s, bool archive)
| serialize |
[virtual]
Use to save or load this classes information
Parameters:
| s | Pointer to the datastream (file) to save/load from. |
| archive | If true will save the classes information, else will load the information. |
Returns: Returns the status 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.