umbrello: umbrello/uml1model/classifier.h Source File

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

classifier.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 #ifndef CLASSIFIER_H
11 #define CLASSIFIER_H
12
13 #include "package.h"
14 #include "umlattributelist.h"
15 #include "umloperationlist.h"
16 #include "umlclassifierlistitemlist.h"
17 #include "classifierlistitem.h"
18 #include "umltemplatelist.h"
19 #include "model_utils.h"
20
21 // forward declarations
22 class UMLAssociation;
23 class IDChangeLog;
24 class UMLClassifierSet;
25
39 class UMLClassifier : public UMLPackage
40 {
41 Q_OBJECT
42 public:
43
47 enum ClassifierType { ALL = 0, CLASS, INTERFACE, DATATYPE };
48
49 explicit UMLClassifier(const QString & name = QString(), Uml::ID::Type id = Uml::ID::None);
50 virtual ~UMLClassifier();
51
52 virtual void copyInto(UMLObject *lhs) const;
53
54 UMLObject* clone() const;
55
56 virtual void setNameCmd(const QString &strName);
57
58 virtual UMLAttribute* createAttribute(const QString &name = QString(),
59 UMLObject *type = 0,
60 Uml::Visibility::Enum vis = Uml::Visibility::Private,
61 const QString &init = QString());
62
63 UMLAttribute* addAttribute(const QString &name, Uml::ID::Type id = Uml::ID::None);
64 UMLAttribute* addAttribute(const QString &name, UMLObject *type, Uml::Visibility::Enum scope);
65
66 bool addAttribute(UMLAttribute* att, IDChangeLog* log = 0,
67 int position = -1);
68
69 int removeAttribute(UMLAttribute *att);
70
71 UMLAttributeList getAttributeList() const;
72 UMLAttributeList getAttributeList(Uml::Visibility::Enum scope) const;
73 UMLAttributeList getAttributeListStatic(Uml::Visibility::Enum scope) const;
74
75 UMLOperation* createOperation(const QString &name = QString(),
76 bool *isExistingOp = 0,
77 Model_Utils::NameAndType_List *params = 0);
78
79 bool addOperation(UMLOperation* op, int position = -1);
80 bool addOperation(UMLOperation* op, IDChangeLog* log);
81
82 UMLOperation * checkOperationSignature(const QString& name,
83 UMLAttributeList opParams,
84 UMLOperation *exemptOp = 0);
85
86 int removeOperation(UMLOperation *op);
87
88 int operations();
89
90 UMLOperationList getOpList(bool includeInherited = false, UMLClassifierSet *alreadyTraversed = 0);
91
92 UMLObject* createTemplate(const QString& name = QString());
93
94 UMLTemplate* addTemplate(const QString &name, Uml::ID::Type id = Uml::ID::None);
95
96 bool addTemplate(UMLTemplate* newTemplate, IDChangeLog* log = 0);
97 bool addTemplate(UMLTemplate* templt, int position);
98
99 int removeTemplate(UMLTemplate* umltemplate);
100
101 UMLTemplate *findTemplate(const QString& name);
102
103 int templates();
104
105 UMLTemplateList getTemplateList() const;
106
107 int takeItem(UMLClassifierListItem* item);
108
109 virtual UMLClassifierListItemList getFilteredList(UMLObject::ObjectType ot) const;
110
111 virtual bool resolveRef();
112
113 UMLOperationList findOperations(const QString &n);
114
115 virtual UMLObject* findChildObjectById(Uml::ID::Type id, bool considerAncestors = false);
116
117 UMLOperation* findOperation(const QString& name,
118 Model_Utils::NameAndType_List params);
119
120 UMLClassifierList findSuperClassConcepts(ClassifierType type = ALL);
121
122 UMLClassifierList findSubClassConcepts(ClassifierType type = ALL);
123
124 virtual bool acceptAssociationType(Uml::AssociationType::Enum type);
125
126 void setBaseType(UMLObject::ObjectType ot);
127
128 bool isInterface() const;
129
130 bool hasAbstractOps();
131 bool hasAssociations();
132 bool hasAttributes();
133 bool hasStaticAttributes();
134 bool hasMethods();
135 bool hasAccessorMethods();
136 bool hasOperationMethods();
137 bool hasVectorFields();
138
144 // UMLClassifierList getPlainAssocChildClassifierList();
145 // UMLClassifierList getAggregateChildClassifierList();
146 // UMLClassifierList getCompositionChildClassifierList();
147
148 virtual UMLClassifierListItem* makeChildObject(const QString& xmiTag);
149
150 virtual UMLAssociationList getUniAssociationToBeImplemented();
151
152 signals:
153
154 void operationAdded(UMLClassifierListItem *);
155 void operationRemoved(UMLClassifierListItem *);
156
157 void templateAdded(UMLClassifierListItem*);
158 void templateRemoved(UMLClassifierListItem*);
159
160 // only applies when (m_Type == ot_Class)
161 void attributeAdded(UMLClassifierListItem*);
162 void attributeRemoved(UMLClassifierListItem*);
163
164 private:
165
166 UMLAssociation *m_pClassAssoc;
167
174 // UMLClassifierList findAssocClassifierObjsInRoles (UMLAssociationList * list);
175
176 protected:
177
178 void saveToXMI1(QDomDocument& qDoc, QDomElement& qElement);
179
180 virtual bool load1(QDomElement& element);
181
182 };
183
184 #endif // CLASSIFIER_H
UMLObject::id
virtual Uml::ID::Type id() const
Definition: umlobject.cpp:425
UMLClassifier::UMLClassifier
UMLClassifier(const QString &name=QString(), Uml::ID::Type id=Uml::ID::None)
Definition: classifier.cpp:64
UMLEntity
Non-graphical Information for an Entity.
Definition: entity.h:35
umlattributelist.h
UMLObject::asUMLClassifier
UMLClassifier * asUMLClassifier()
Definition: umlobject.cpp:1308
template.h
instance.h
UMLOperation::addParm
void addParm(UMLAttribute *parameter, int position=-1)
Definition: operation.cpp:276
UMLClassifier::findOperations
UMLOperationList findOperations(const QString &n)
Definition: classifier.cpp:522
UMLClassifier::getOpList
UMLOperationList getOpList(bool includeInherited=false, UMLClassifierSet *alreadyTraversed=0)
Definition: classifier.cpp:939
namespace_enum_literal::A
@ A
Definition: namespace-enum-literal.h:3
UMLClassifier::getUniAssociationToBeImplemented
virtual UMLAssociationList getUniAssociationToBeImplemented()
Definition: classifier.cpp:1325
UMLClassifier::takeItem
int takeItem(UMLClassifierListItem *item)
Definition: classifier.cpp:1168
UMLObject::ObjectType
ObjectType
Definition: umlobject.h:80
UMLClassifier::saveToXMI1
void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: classifier.cpp:1361
Uml::Visibility::Implementation
@ Implementation
Definition: basictypes.h:63
UMLClassifier::isInterface
bool isInterface() const
Definition: classifier.cpp:118
UMLCanvasObject::copyInto
virtual void copyInto(UMLObject *lhs) const
Definition: umlcanvasobject.cpp:298
UMLCanvasObject::getSuperClasses
UMLClassifierList getSuperClasses(bool withRealizations=true)
Definition: umlcanvasobject.cpp:349
instanceattribute.h
UMLClassifier::templateRemoved
void templateRemoved(UMLClassifierListItem *)
UMLObject::asUMLOperation
UMLOperation * asUMLOperation()
Definition: umlobject.cpp:1323
UMLAttributeList
Definition: umlattributelist.h:27
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
UMLObject::asUMLClassifierListItem
UMLClassifierListItem * asUMLClassifierListItem()
Definition: umlobject.cpp:1309
umloperationlist.h
UMLApp::activeLanguageIsCaseSensitive
bool activeLanguageIsCaseSensitive()
Definition: uml.cpp:2517
Uml::AssociationType::Containment
@ Containment
Definition: basictypes.h:116
stereotype.h
UMLClassifier::acceptAssociationType
virtual bool acceptAssociationType(Uml::AssociationType::Enum type)
Definition: classifier.cpp:726
UMLOperation::getParmList
UMLAttributeList getParmList() const
Definition: operation.cpp:178
UMLCanvasObject::uniqChildName
virtual QString uniqChildName(const UMLObject::ObjectType type, const QString &prefix=QString())
Definition: umlcanvasobject.cpp:180
umlattributedialog.h
UMLObject::ot_Association
@ ot_Association
Definition: umlobject.h:91
entity.h
UMLAttribute::setParmKind
void setParmKind(Uml::ParameterDirection::Enum pk)
Definition: attribute.cpp:117
UMLClassifier::operationAdded
void operationAdded(UMLClassifierListItem *)
UMLClassifier::getFilteredList
virtual UMLClassifierListItemList getFilteredList(UMLObject::ObjectType ot) const
Definition: classifier.cpp:998
UMLObject::asUMLAttribute
UMLAttribute * asUMLAttribute()
Definition: umlobject.cpp:1304
Uml::ProgrammingLanguage::Java
@ Java
Definition: basictypes.h:278
namespace_enum_literal::test
test
Definition: namespace-enum-literal.h:3
UMLObject::resolveRef
virtual bool resolveRef()
Definition: umlobject.cpp:738
UMLOperation::isConstructorOperation
bool isConstructorOperation()
Definition: operation.cpp:369
UMLObject::ot_Class
@ ot_Class
Definition: umlobject.h:89
operation.h
UMLClassifier::createOperation
UMLOperation * createOperation(const QString &name=QString(), bool *isExistingOp=0, Model_Utils::NameAndType_List *params=0)
Definition: classifier.cpp:236
UMLOperation::isDestructorOperation
bool isDestructorOperation()
Definition: operation.cpp:391
Uml::ID::None
const Type None
special value for uninitialized ID
Definition: basictypes.h:353
UMLClassifier::INTERFACE
@ INTERFACE
Definition: classifier.h:47
Model_Utils::NameAndType::m_initialValue
QString m_initialValue
Definition: model_utils.h:117
umloperationdialog.h
UMLObject::ot_Attribute
@ ot_Attribute
Definition: umlobject.h:92
UniqueID::init
void init()
Definition: uniqueid.cpp:37
UMLEntity::signalEntityAttributeRemoved
void signalEntityAttributeRemoved(UMLClassifierListItem *eattr)
Definition: entity.cpp:401
UMLPackage::saveToXMI1
virtual void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: package.cpp:387
UMLClassifier::hasVectorFields
bool hasVectorFields()
Definition: classifier.cpp:1317
UMLClassifierSet
holds set of classifiers for recursive loop detection
Definition: classifier.cpp:50
object_factory.h
UMLEnumLiteral
Sets up attribute information.
Definition: enumliteral.h:26
Settings::ClassState::defaultAttributeScope
Uml::Visibility::Enum defaultAttributeScope
Definition: optionstate.h:131
UMLObject::ot_Interface
@ ot_Interface
Definition: umlobject.h:86
Uml::SignatureType::SigNoVis
@ SigNoVis
Definition: basictypes.h:165
Model_Utils::NameAndType::m_type
UMLObject * m_type
Definition: model_utils.h:115
Uml::ID::toString
QString toString(const ID::Type &id)
Definition: basictypes.cpp:1263
UMLObject::emitModified
void emitModified()
Definition: umlobject.cpp:385
association.h
UMLClassifier::makeChildObject
virtual UMLClassifierListItem * makeChildObject(const QString &xmiTag)
Definition: classifier.cpp:1444
UMLOperation::toString
QString toString(Uml::SignatureType::Enum sig=Uml::SignatureType::NoSig, bool withStereotype=false)
Definition: operation.cpp:205
UMLClassifier::~UMLClassifier
virtual ~UMLClassifier()
Definition: classifier.cpp:74
UMLObject::setName
virtual void setName(const QString &strName)
Definition: umlobject.cpp:192
UMLObject::isStatic
bool isStatic() const
Definition: umlobject.cpp:366
UMLClassifier::getTemplateList
UMLTemplateList getTemplateList() const
Definition: classifier.cpp:1148
UMLCanvasObject::findChildObjectById
virtual UMLObject * findChildObjectById(Uml::ID::Type id, bool considerAncestors=false)
Definition: umlcanvasobject.cpp:261
UMLTemplateDialog
Definition: umltemplatedialog.h:32
UMLClassifierList
QList< UMLClassifier * > UMLClassifierList
Definition: umlclassifierlist.h:17
UMLClassifier::checkOperationSignature
UMLOperation * checkOperationSignature(const QString &name, UMLAttributeList opParams, UMLOperation *exemptOp=0)
Definition: classifier.cpp:134
UMLClassifier::resolveRef
virtual bool resolveRef()
Definition: classifier.cpp:691
UMLAttributeDialog
Definition: umlattributedialog.h:32
UMLObject::ot_Package
@ ot_Package
Definition: umlobject.h:85
Uml::ID::Type
std::string Type
Definition: basictypes.h:351
UMLClassifier::clone
UMLObject * clone() const
Definition: classifier.cpp:657
Icon_Utils::it_Class
@ it_Class
Definition: icon_utils.h:85
UMLClassifier::hasStaticAttributes
bool hasStaticAttributes()
Definition: classifier.cpp:1279
Uml::AssociationType::UniAssociation
@ UniAssociation
Definition: basictypes.h:119
UMLObject::ot_UMLObject
@ ot_UMLObject
Definition: umlobject.h:82
Uml::AssociationType::Relationship
@ Relationship
Definition: basictypes.h:126
model_utils.h
UMLOperation::saveToXMI1
void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: operation.cpp:515
UMLClassifier::ALL
@ ALL
Definition: classifier.h:47
UMLClassifierSet::level
int level
Definition: classifier.cpp:55
UMLObject
The base class for UML objects.
Definition: umlobject.h:74
UMLObject::isAbstract
bool isAbstract() const
Definition: umlobject.cpp:348
Model_Utils::NameAndType_List
QLinkedList< NameAndType > NameAndType_List
Auxiliary type for OpDescriptor.
Definition: model_utils.h:126
UMLObject::ot_InstanceAttribute
@ ot_InstanceAttribute
Definition: umlobject.h:110
UMLObject::asUMLEnum
UMLEnum * asUMLEnum()
Definition: umlobject.cpp:1315
Icon_Utils::it_Datatype
@ it_Datatype
Definition: icon_utils.h:99
Uml::AssociationType::Association_Self
@ Association_Self
Definition: basictypes.h:111
UMLClassifier::hasMethods
bool hasMethods()
Definition: classifier.cpp:1305
UMLObject::baseType
ObjectType baseType() const
Definition: umlobject.cpp:397
umltemplatedialog.h
optionstate.h
UMLClassifier::removeAttribute
int removeAttribute(UMLAttribute *att)
Definition: classifier.cpp:893
Settings::optionState
OptionState & optionState()
Definition: optionstate.cpp:362
UMLObject::ot_EnumLiteral
@ ot_EnumLiteral
Definition: umlobject.h:94
UMLDoc::signalUMLObjectCreated
void signalUMLObjectCreated(UMLObject *o)
Definition: umldoc.cpp:1983
UMLObject::asUMLEntity
UMLEntity * asUMLEntity()
Definition: umlobject.cpp:1312
UMLClassifier::getAttributeListStatic
UMLAttributeList getAttributeListStatic(Uml::Visibility::Enum scope) const
Definition: classifier.cpp:487
UMLObject::m_BaseType
ObjectType m_BaseType
objects type
Definition: umlobject.h:276
umlclassifierlistitemlist.h
UMLClassifier::copyInto
virtual void copyInto(UMLObject *lhs) const
Definition: classifier.cpp:642
Uml::AssociationType::Aggregation
@ Aggregation
Definition: basictypes.h:108
Uml::Visibility::Public
@ Public
Definition: basictypes.h:60
IDChangeLog::removeChangeByNewID
void removeChangeByNewID(Uml::ID::Type OldID)
Definition: idchangelog.cpp:124
UMLObject::setStereotypeCmd
void setStereotypeCmd(const QString &_name)
Definition: umlobject.cpp:534
UMLClassifier::hasAbstractOps
bool hasAbstractOps()
Definition: classifier.cpp:909
UMLObject::setUMLParent
void setUMLParent(UMLObject *parent)
Definition: umlobject.cpp:657
IDChangeLog
Definition: idchangelog.h:27
UMLClassifier::hasAssociations
bool hasAssociations()
Definition: classifier.cpp:1255
classifierlistitem.h
entityattribute.h
UMLClassifier::load1
virtual bool load1(QDomElement &element)
Definition: classifier.cpp:1468
UMLObject::visibility
Uml::Visibility::Enum visibility() const
Definition: umlobject.cpp:466
uniqueid.h
UMLClassifier::ClassifierType
ClassifierType
Definition: classifier.h:47
UMLCanvasObject::getSpecificAssocs
UMLAssociationList getSpecificAssocs(Uml::AssociationType::Enum assocType)
Definition: umlcanvasobject.cpp:61
attribute.h
UMLClassifier::findChildObjectById
virtual UMLObject * findChildObjectById(Uml::ID::Type id, bool considerAncestors=false)
Definition: classifier.cpp:546
a
QString a
Definition: petalnode.cpp:18
UMLClassifier::addOperation
bool addOperation(UMLOperation *op, int position=-1)
Definition: classifier.cpp:310
UMLClassifier::operationRemoved
void operationRemoved(UMLClassifierListItem *)
uWarning
#define uWarning()
Definition: debug_utils.h:124
UMLClassifier::findSuperClassConcepts
UMLClassifierList findSuperClassConcepts(ClassifierType type=ALL)
Definition: classifier.cpp:609
UMLObject::saveToXMI1
virtual void saveToXMI1(QDomDocument &qDoc, QDomElement &qElement)
Definition: umlobject.cpp:833
UMLObject::save1
QDomElement save1(const QString &tag, QDomDocument &qDoc)
Definition: umlobject.cpp:844
UMLClassifier::setBaseType
void setBaseType(UMLObject::ObjectType ot)
Definition: classifier.cpp:83
UMLClassifier::removeOperation
int removeOperation(UMLOperation *op)
Definition: classifier.cpp:370
i18n
#define i18n
Definition: main.cpp:39
UMLPackage::removeObject
void removeObject(UMLObject *pObject)
Definition: package.cpp:190
UMLClassifier::hasAttributes
bool hasAttributes()
Definition: classifier.cpp:1266
Uml::AssociationType::Association
@ Association
Definition: basictypes.h:110
UMLObjectList::copyInto
virtual void copyInto(UMLObjectList *rhs) const
Definition: umlobjectlist.cpp:26
UMLPackage::resolveRef
virtual bool resolveRef()
Definition: package.cpp:369
UMLObject::ot_Datatype
@ ot_Datatype
Definition: umlobject.h:87
Model_Utils::isCommonXMI1Attribute
bool isCommonXMI1Attribute(const QString &tag)
Definition: model_utils.cpp:761
UMLObject::m_bAbstract
bool m_bAbstract
state of whether the object is abstract or not
Definition: umlobject.h:278
UMLObject::ot_EntityAttribute
@ ot_EntityAttribute
Definition: umlobject.h:102
Model_Utils::NameAndType_ListIt
QLinkedList< NameAndType >::iterator NameAndType_ListIt
Auxiliary type for OpDescriptor.
Definition: model_utils.h:127
Model_Utils::treeViewChangeIcon
void treeViewChangeIcon(UMLObject *object, Icon_Utils::IconType to)
Definition: model_utils.cpp:415
uDebug
#define uDebug()
Definition: debug_utils.h:122
UMLCanvasObject::getSubClasses
UMLClassifierList getSubClasses()
Definition: umlcanvasobject.cpp:377
UMLOperationDialog
Definition: umloperationdialog.h:41
UMLPackage::m_objects
UMLObjectList m_objects
Definition: package.h:75
UMLObject::modified
void modified()
Uml::ProgrammingLanguage::Cpp
@ Cpp
Definition: basictypes.h:274
Uml::AssociationType::Enum
Enum
Definition: basictypes.h:106
MyProject\connect
connect()
Definition: namespaces-multiple.php:5
Uml::AssociationType::Generalization
@ Generalization
Definition: basictypes.h:107
UMLObject::setAbstract
void setAbstract(bool bAbstract)
Definition: umlobject.cpp:356
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:269
UMLDoc
Definition: umldoc.h:75
Model_Utils::NameAndType
Definition: model_utils.h:113
UMLAttribute
Sets up attribute information.
Definition: attribute.h:28
UMLClassifier::hasOperationMethods
bool hasOperationMethods()
Definition: classifier.cpp:1297
UMLClassifier::m_pClassAssoc
UMLAssociation * m_pClassAssoc
Definition: classifier.h:166
UMLClassifier::getAttributeList
UMLAttributeList getAttributeList() const
Definition: classifier.cpp:436
UMLCanvasObject::subordinates
UMLObjectList & subordinates() const
Definition: umlcanvasobject.h:80
UMLClassifier::findSubClassConcepts
UMLClassifierList findSubClassConcepts(ClassifierType type=ALL)
Definition: classifier.cpp:570
UMLCanvasObject::findChildObject
virtual UMLObject * findChildObject(const QString &n, UMLObject::ObjectType t=UMLObject::ot_UMLObject)
Definition: umlcanvasobject.cpp:238
Uml
Definition: basictypes.cpp:37
UniqueID::gen
Uml::ID::Type gen()
Definition: uniqueid.cpp:26
UMLDoc::tagEq
static bool tagEq(const QString &tag, const QString &pattern)
Definition: umldoc.cpp:3550
UMLClassifier::createTemplate
UMLObject * createTemplate(const QString &name=QString())
Definition: classifier.cpp:393
UMLOperation::setVirtual
void setVirtual(bool b)
Definition: operation.cpp:454
UMLCanvasObject::getAggregations
UMLAssociationList getAggregations()
Definition: umlcanvasobject.cpp:412
Uml::Visibility::Enum
Enum
Definition: basictypes.h:59
UMLObject::m_nId
Uml::ID::Type m_nId
object's id
Definition: umlobject.h:272
UMLClassifierListItemList
Definition: umlclassifierlistitemlist.h:27
UMLClassifier::templates
int templates()
Definition: classifier.cpp:1135
UMLEnum::signalEnumLiteralRemoved
void signalEnumLiteralRemoved(UMLClassifierListItem *elit)
Definition: enum.cpp:232
Settings::OptionState::classState
ClassState classState
Definition: optionstate.h:329
UMLObject::asUMLTemplate
UMLTemplate * asUMLTemplate()
Definition: umlobject.cpp:1328
classifier.h
uError
#define uError()
Definition: debug_utils.h:123
UMLOperation
Definition: operation.h:25
UMLObject::loadFromXMI1
virtual bool loadFromXMI1(QDomElement &element)
Definition: umlobject.cpp:954
Icon_Utils::IconType
IconType
Definition: icon_utils.h:47
uml.h
Icon_Utils::it_Interface
@ it_Interface
Definition: icon_utils.h:96
UMLClassifier::hasAccessorMethods
bool hasAccessorMethods()
Definition: classifier.cpp:1289
enumliteral.h
UMLClassifier::attributeAdded
void attributeAdded(UMLClassifierListItem *)
UMLInstanceAttribute
Sets up instanceattribute information.
Definition: instanceattribute.h:26
UMLClassifierSet::UMLClassifierSet
UMLClassifierSet()
Definition: classifier.cpp:52
UMLObject::setUMLPackage
bool setUMLPackage(UMLPackage *pPkg)
Definition: umlobject.cpp:615
Object_Factory::makeObjectFromXMI
UMLObject * makeObjectFromXMI(const QString &xmiTag, const QString &stereoID)
Definition: object_factory.cpp:374
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
debug_utils.h
umlassociationlist.h
UMLAssociation
Sets up association information.
Definition: association.h:33
icon_utils.h
UMLCanvasObject::getRealizations
virtual UMLAssociationList getRealizations()
Definition: umlcanvasobject.cpp:402
UMLCanvasObject::getCompositions
UMLAssociationList getCompositions()
Definition: umlcanvasobject.cpp:422
Icon_Utils::it_Package
@ it_Package
Definition: icon_utils.h:90
UMLObject::ot_Template
@ ot_Template
Definition: umlobject.h:95
UMLClassifier::findTemplate
UMLTemplate * findTemplate(const QString &name)
Definition: classifier.cpp:1119
UMLObject::setNameCmd
virtual void setNameCmd(const QString &strName)
Definition: umlobject.cpp:202
Uml::AssociationType::Composition
@ Composition
Definition: basictypes.h:117
UMLClassifier::CLASS
@ CLASS
Definition: classifier.h:47
UMLClassifier::findOperation
UMLOperation * findOperation(const QString &name, Model_Utils::NameAndType_List params)
Definition: classifier.cpp:179
UMLTemplateList
QList< UMLTemplate * > UMLTemplateList
Definition: umltemplatelist.h:18
idchangelog.h
UMLTemplate
Sets up template information.
Definition: template.h:27
uIgnoreZeroPointer
#define uIgnoreZeroPointer(a)
Definition: debug_utils.h:134
UMLObject::ot_Operation
@ ot_Operation
Definition: umlobject.h:93
UMLObject::init
void init()
Definition: umlobject.cpp:126
Uml::Visibility::Private
@ Private
Definition: basictypes.h:61
namespace_enum_literal::B
@ B
Definition: namespace-enum-literal.h:3
Model_Utils::NameAndType::m_direction
Uml::ParameterDirection::Enum m_direction
Definition: model_utils.h:116
package.h
UMLEntityAttribute
Sets up entityattribute information.
Definition: entityattribute.h:26
Uml::AssociationType::Dependency
@ Dependency
Definition: basictypes.h:109
UMLClassifier::operations
int operations()
Definition: classifier.cpp:926
Uml::Visibility::Protected
@ Protected
Definition: basictypes.h:62
UMLObject::stereotype
QString stereotype(bool includeAdornments=false) const
Definition: umlobject.cpp:558
UMLOperationList
QList< UMLOperation * > UMLOperationList
Definition: umloperationlist.h:18
umltemplatelist.h
Uml::ProgrammingLanguage::CSharp
@ CSharp
Definition: basictypes.h:275
UMLClassifier::DATATYPE
@ DATATYPE
Definition: classifier.h:47
UMLCanvasObject::associations
int associations()
Definition: umlcanvasobject.cpp:314
UMLClassifier::createAttribute
virtual UMLAttribute * createAttribute(const QString &name=QString(), UMLObject *type=0, Uml::Visibility::Enum vis=Uml::Visibility::Private, const QString &init=QString())
Definition: classifier.cpp:756
UMLClassifierListItem
A base class for classifier list items (e.g. attributes)
Definition: classifierlistitem.h:30
UMLEnum
Non-graphical Information for an Enum.
Definition: enum.h:29
UMLAssociationList
QList< UMLAssociation * > UMLAssociationList
Definition: umlassociationlist.h:18
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1055
Model_Utils::NameAndType::m_name
QString m_name
< Data structure filled by parseAttribute().
Definition: model_utils.h:114
Uml::AssociationType::Realization
@ Realization
Definition: basictypes.h:118
umldoc.h
UMLClassifier::removeTemplate
int removeTemplate(UMLTemplate *umltemplate)
Definition: classifier.cpp:1102
UMLClassifier::setNameCmd
virtual void setNameCmd(const QString &strName)
Definition: classifier.cpp:668
UMLClassifier::templateAdded
void templateAdded(UMLClassifierListItem *)
UMLClassifier::addTemplate
UMLTemplate * addTemplate(const QString &name, Uml::ID::Type id=Uml::ID::None)
Definition: classifier.cpp:1024
UMLClassifier::attributeRemoved
void attributeRemoved(UMLClassifierListItem *)
UMLClassifier::addAttribute
UMLAttribute * addAttribute(const QString &name, Uml::ID::Type id=Uml::ID::None)
Definition: classifier.cpp:810
UMLPackage
Non-graphical information for a Package.
Definition: package.h:33
enum.h