umbrello  2.32.0
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
usecase.h
Go to the documentation of this file.
1 /***************************************************************************
2  * This program is free software; you can redistribute it and/or modify *
3  * it under the terms of the GNU General Public License as published by *
4  * the Free Software Foundation; either version 2 of the License, or *
5  * (at your option) any later version. *
6  * *
7  * copyright (C) 2002-2020 *
8  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9  ***************************************************************************/
10 
11 #ifndef USECASE_H
12 #define USECASE_H
13 
14 #include "umlcanvasobject.h"
15 
25 {
26 public:
27  explicit UMLUseCase(const QString & name = QString(), Uml::ID::Type id = Uml::ID::None);
28  ~UMLUseCase();
29 
30  virtual void init();
31 
32  virtual UMLObject* clone() const;
33 
34  void saveToXMI1(QXmlStreamWriter& writer);
35 
36 protected:
37  bool load1(QDomElement & element);
38 };
39 
40 #endif
Non-graphical information for a UMLCanvasObject.
Definition: umlcanvasobject.h:37
The base class for UML objects.
Definition: umlobject.h:75
QString name() const
Definition: umlobject.cpp:211
Information for a non-graphical UML UseCase.
Definition: usecase.h:25
~UMLUseCase()
Definition: usecase.cpp:28
bool load1(QDomElement &element)
Definition: usecase.cpp:62
void saveToXMI1(QXmlStreamWriter &writer)
Definition: usecase.cpp:53
virtual UMLObject * clone() const
Definition: usecase.cpp:43
virtual void init()
Definition: usecase.cpp:35
UMLUseCase(const QString &name=QString(), Uml::ID::Type id=Uml::ID::None)
Definition: usecase.cpp:19
const Type None
special value for uninitialized ID
Definition: basictypes.h:387
std::string Type
Definition: basictypes.h:385