umbrello: umbrello/uml1model/actor.h Source File

umbrello 2.31.1 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

actor.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 ACTOR_H
12 #define ACTOR_H
13
14 #include "umlcanvasobject.h"
15
27 class UMLActor : public UMLCanvasObject
28 {
29 Q_OBJECT
30 public:
31 explicit UMLActor(const QString & name = QString(), Uml::ID::Type id = Uml::ID::None);
32 virtual ~UMLActor();
33
34 virtual void init();
35
36 virtual UMLObject* clone() const;
37
38 void saveToXMI1(QDomDocument & qDoc, QDomElement & qElement);
39
40 protected:
41 bool load1(QDomElement & element);
42 };
43
44 #endif
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
UMLCanvasObject
Non-graphical information for a UMLCanvasObject.
Definition: umlcanvasobject.h:34
UMLActor::UMLActor
UMLActor(const QString &name=QString(), Uml::ID::Type id=Uml::ID::None)
Definition: actor.cpp:19
Uml::ID::None
const Type None
special value for uninitialized ID
Definition: basictypes.h:370
umlcanvasobject.h
UMLActor::init
virtual void init()
Definition: actor.cpp:35
UMLObject::ot_Actor
@ ot_Actor
Definition: umlobject.h:83
UMLActor::~UMLActor
virtual ~UMLActor()
Definition: actor.cpp:28
Uml::ID::Type
std::string Type
Definition: basictypes.h:368
UMLActor::saveToXMI1
void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: actor.cpp:53
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
UMLObject::m_BaseType
ObjectType m_BaseType
objects type
Definition: umlobject.h:276
UMLActor::load1
bool load1(QDomElement &element)
Definition: actor.cpp:62
UMLActor
Information for a non-graphical UML Actor.
Definition: actor.h:28
UMLObject::save1
QDomElement save1(const QString &tag, QDomDocument &qDoc)
Definition: umlobject.cpp:844
UMLObject::copyInto
virtual void copyInto(UMLObject *lhs) const
Definition: umlobject.cpp:314
actor.h
UMLActor::clone
virtual UMLObject * clone() const
Definition: actor.cpp:43