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(QDomDocument & qDoc, QDomElement & qElement);
35 
36 protected:
37  bool load1(QDomElement & element);
38 };
39 
40 #endif
UMLUseCase::load1
bool load1(QDomElement &element)
Definition: usecase.cpp:62
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
UMLCanvasObject
Non-graphical information for a UMLCanvasObject.
Definition: umlcanvasobject.h:34
UMLUseCase
Information for a non-graphical UML UseCase.
Definition: usecase.h:25
Uml::ID::None
const Type None
special value for uninitialized ID
Definition: basictypes.h:353
umlcanvasobject.h
Uml::ID::Type
std::string Type
Definition: basictypes.h:351
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
UMLUseCase::UMLUseCase
UMLUseCase(const QString &name=QString(), Uml::ID::Type id=Uml::ID::None)
Definition: usecase.cpp:19
UMLObject::m_BaseType
ObjectType m_BaseType
objects type
Definition: umlobject.h:276
UMLObject::save1
QDomElement save1(const QString &tag, QDomDocument &qDoc)
Definition: umlobject.cpp:845
UMLObject::copyInto
virtual void copyInto(UMLObject *lhs) const
Definition: umlobject.cpp:314
UMLUseCase::saveToXMI1
void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: usecase.cpp:53
UMLUseCase::clone
virtual UMLObject * clone() const
Definition: usecase.cpp:43
UMLUseCase::~UMLUseCase
~UMLUseCase()
Definition: usecase.cpp:28
UMLObject::ot_UseCase
@ ot_UseCase
Definition: umlobject.h:84
usecase.h
UMLUseCase::init
virtual void init()
Definition: usecase.cpp:35