umbrello: umbrello/basictypes.h Source File

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

basictypes.h
Go to the documentation of this file.
1 /***************************************************************************
2 * Copyright (C) 2011 by Andi Fischer <andi.fischer@hispeed.ch> *
3 * *
4 * This is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2, or (at your option) *
7 * any later version. *
8 * *
9 * This software is distributed in the hope that it will be useful, *
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12 * GNU General Public License for more details. *
13 * *
14 * You should have received a copy of the GNU General Public License *
15 * along with this package; see the file COPYING. If not, write to *
16 * the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, *
17 * Boston, MA 02110-1301, USA. *
18 ***************************************************************************/
19
20 #ifndef BASICTYPES_H
21 #define BASICTYPES_H
22
23 // qt includes
24 #include <QFont>
25 #include <QString>
26
27 #include <string>
28
33 namespace Uml
34 {
35
39 namespace ModelType
40 {
41 enum Enum {
42 Logical,
43 UseCase,
44 Component,
45 Deployment,
46 EntityRelationship,
47 N_MODELTYPES // must remain last
48 };
49 QString toString(Enum item);
50 Enum fromString(const QString& item);
51 Enum fromInt(int item);
52 }
53
57 namespace Visibility
58 {
59 enum Enum {
60 Public,
61 Private,
62 Protected,
63 Implementation, // objects marked with this are declared in the implementation file.
64 FromParent = 3, // alias for Implementation, used by CodeGenerationPolicy
65 Unknown
66 };
67 QString toString(Enum item, bool mnemonic = false);
68 Enum fromString(const QString& item, bool checkUnknown = false);
69 Enum fromInt(int item);
70 }
71
75 namespace DiagramType
76 {
77 enum Enum {
78 //the values in this enum are saved out to the file
79 //for file compatibility, only add new values to the end
80 Undefined = 0,
81 Class,
82 UseCase,
83 Sequence,
84 Collaboration,
85 State,
86 Activity,
87 Component,
88 Deployment,
89 EntityRelationship,
90 Object,
91 N_DIAGRAMTYPES // must remain last
92 };
93 QString toString(Enum item);
94 QString toStringI18n(Enum item);
95 Enum fromString(const QString& item);
96 Enum fromInt(int item);
97 }
98
102 namespace AssociationType
103 {
104 // only append entries to this type
105 // it is used as xmi file attribute
106 enum Enum {
107 Generalization = 500,
108 Aggregation,
109 Dependency,
110 Association,
111 Association_Self,
112 Coll_Mesg_Async,
113 Seq_Message,
114 Coll_Mesg_Self,
115 Seq_Message_Self,
116 Containment,
117 Composition,
118 Realization,
119 UniAssociation,
120 Anchor,
121 State,
122 Activity,
123 Exception,
124 Category2Parent,
125 Child2Category,
126 Relationship,
127 Coll_Mesg_Sync,
128 // enter new entries before this line
129 Reserved,
130 Unknown = - 1
131 };
132 QString toString(Enum item);
133 QString toStringI18n(Enum item);
134 Enum fromString(const QString& item);
135 Enum fromInt(int item);
136 bool hasUMLRepresentation(Enum item);
137 }
138
142 namespace LayoutType
143 {
144 enum Enum {
145 Undefined = 0,
146 Direct,
147 Orthogonal,
148 Polyline,
149 Spline,
150 N_LAYOUTTYPES // must remain last
151 };
152 QString toString(Enum item);
153 Enum fromString(const QString& item);
154 Enum fromInt(int item);
155 }
156
160 namespace ShowStereoType
161 {
162 enum Enum {
163 None = 0,
164 Name,
165 Tags
166 };
167 }
168
172 namespace SignatureType
173 {
174 enum Enum {
175 NoSig = 600,
176 ShowSig,
177 SigNoVis,
178 NoSigNoVis
179 };
180 QString toString(Enum item);
181 Enum fromString(const QString& item);
182 Enum fromInt(int item);
183 }
184
188 namespace TextRole
189 {
190 enum Enum {
191 Floating = 700, //text widget on diagrams
192 MultiA, //Text for Multiple A
193 MultiB, //Text for Multiple B
194 Name, //middle text on most associations
195 Seq_Message, //message on seq diagram between two objects
196 Seq_Message_Self, //message to self on seq diagram - feature not implemented yet
197 Coll_Message, //message between two objects on a collab diagram
198 Coll_Message_Self, //message to object self on collab diagram
199 State,
200 RoleAName, //RoleA text on associations
201 RoleBName, //RoleB text on associations
202 ChangeA, //Changeability A text on associations
203 ChangeB, //Changeability B text on associations
204 Reserved //Enter new entries before this line
205 };
206 QString toString(Enum item);
207 Enum fromString(const QString& item);
208 Enum fromInt(int item);
209 }
210
214 namespace Changeability
215 {
216 enum Enum {
217 Changeable = 900,
218 Frozen,
219 AddOnly
220 };
221 QString toString(Enum item);
222 Enum fromString(const QString& item);
223 Enum fromInt(int item);
224 }
225
229 namespace SequenceMessage
230 {
231 enum Enum {
232 //This is saved out to the file so only add new entries at the end
233 Synchronous = 1000,
234 Asynchronous,
235 Creation,
236 Lost,
237 Found,
238 Destroy,
239 };
240 QString toString(Enum item);
241 Enum fromString(const QString& item);
242 Enum fromInt(int item);
243 }
244
248 namespace RoleType
249 {
250 enum Enum {
251 A,
252 B
253 };
254 QString toString(Enum item);
255 Enum fromString(const QString& item);
256 Enum fromInt(int item);
257 }
258
266 namespace ParameterDirection
267 {
268 enum Enum {
269 In,
270 InOut,
271 Out
272 };
273 QString toString(Enum item);
274 Enum fromString(const QString& item);
275 Enum fromInt(int item);
276 }
277
281 namespace PrimitiveTypes
282 {
283 enum Enum {
284 String,
285 Boolean,
286 UnlimitedNatural,
287 Integer,
288 Real,
289 Reserved
290 };
291
292 const int n_types = int(Reserved);
293
294 QString toString(Enum item);
295 QString toString(int item);
296 Enum fromString(const QString& item, bool strict = false);
297 Enum fromInt(int item);
298 }
299
303 namespace ProgrammingLanguage
304 {
305 enum Enum {
306 ActionScript,
307 Ada,
308 Cpp,
309 CSharp,
310 D,
311 IDL,
312 Java,
313 JavaScript,
314 MySQL,
315 Pascal,
316 Perl,
317 PHP,
318 PHP5,
319 PostgreSQL,
320 Python,
321 Ruby,
322 SQL,
323 Tcl,
324 Vala,
325 XMLSchema,
326 Reserved // for UML Primitive Types (no code generator)
327 };
328 QString toString(Enum item);
329 Enum fromString(const QString& item);
330 Enum fromInt(int item);
331 QStringList toExtensions(Enum item);
332 QString toExtensionsDescription(Enum item);
333 bool isCaseSensitive(Enum item);
334 QString scopeSeparator(Enum item);
335 }
336
342 namespace Region
343 {
344 enum Enum {
345 Error = 0,
346 West,
347 North,
348 East,
349 South,
350 NorthWest,
351 NorthEast,
352 SouthEast,
353 SouthWest,
354 Center
355 };
356 QString toString(Enum item);
357 Enum fromString(const QString& item);
358 Enum fromInt(int item);
359 }
360
364 class Corner
365 {
366 public:
367 enum Enum {
368 TopLeft = 0x1,
369 TopRight = 0x2,
370 BottomRight = 0x4,
371 BottomLeft = 0x8
372 };
373 static QString toString(Enum item);
374 static Enum fromString(const QString& item);
375 static Enum fromInt(int item);
376 };
377 Q_DECLARE_FLAGS(Corners, Corner::Enum)
378 Q_DECLARE_OPERATORS_FOR_FLAGS(Corners)
379
380
383 namespace ID
384 {
385 typedef std::string Type;
386
387 const Type None = "-1";
388 const Type Reserved = "0";
389
390 QString toString(const ID::Type &id);
391 ID::Type fromString(const QString &id);
392 QDebug operator<<(QDebug out, ID::Type &type);
393 }
394
395 QFont systemFont();
396
397 } // end namespace Uml
398
399 static inline QString toString(Uml::ProgrammingLanguage::Enum lang)
400 {
401 return Uml::ProgrammingLanguage::toString(lang);
402 }
403
404 static inline QString toString(Uml::Visibility::Enum visibility)
405 {
406 return Uml::Visibility::toString(visibility);
407 }
408
409 qreal toDoubleFromAnyLocale(const QString &s);
410
411 #endif
toString
static QString toString(Uml::ProgrammingLanguage::Enum lang)
Definition: basictypes.h:399
toDoubleFromAnyLocale
qreal toDoubleFromAnyLocale(const QString &s)
Definition: basictypes.cpp:1349
B
Definition: testbasictypes.cpp:39
Uml::Corner
Definition: basictypes.h:365
Uml::Corner::fromString
static Enum fromString(const QString &item)
Definition: basictypes.cpp:1279
Uml::Corner::Enum
Enum
Definition: basictypes.h:367
Uml::Corner::TopRight
@ TopRight
Definition: basictypes.h:369
Uml::Corner::TopLeft
@ TopLeft
Definition: basictypes.h:368
Uml::Corner::BottomRight
@ BottomRight
Definition: basictypes.h:370
Uml::Corner::BottomLeft
@ BottomLeft
Definition: basictypes.h:371
Uml::Corner::toString
static QString toString(Enum item)
Definition: basictypes.cpp:1259
Uml::Corner::fromInt
static Enum fromInt(int item)
Definition: basictypes.cpp:1297
int
int int y int
Definition: cxx11-lambda-functions-and-expressions.h:4
Uml::AssociationType::toString
QString toString(Enum item)
Definition: basictypes.cpp:283
Uml::AssociationType::toStringI18n
QString toStringI18n(Enum item)
Definition: basictypes.cpp:339
Uml::AssociationType::hasUMLRepresentation
bool hasUMLRepresentation(Enum item)
Definition: basictypes.cpp:460
Uml::AssociationType::Enum
Enum
Definition: basictypes.h:106
Uml::AssociationType::Seq_Message
@ Seq_Message
Definition: basictypes.h:113
Uml::AssociationType::Composition
@ Composition
Definition: basictypes.h:117
Uml::AssociationType::Coll_Mesg_Self
@ Coll_Mesg_Self
Definition: basictypes.h:114
Uml::AssociationType::UniAssociation
@ UniAssociation
Definition: basictypes.h:119
Uml::AssociationType::Dependency
@ Dependency
Definition: basictypes.h:109
Uml::AssociationType::Seq_Message_Self
@ Seq_Message_Self
Definition: basictypes.h:115
Uml::AssociationType::Aggregation
@ Aggregation
Definition: basictypes.h:108
Uml::AssociationType::Association
@ Association
Definition: basictypes.h:110
Uml::AssociationType::Unknown
@ Unknown
Definition: basictypes.h:130
Uml::AssociationType::Relationship
@ Relationship
Definition: basictypes.h:126
Uml::AssociationType::Reserved
@ Reserved
Definition: basictypes.h:129
Uml::AssociationType::Containment
@ Containment
Definition: basictypes.h:116
Uml::AssociationType::Association_Self
@ Association_Self
Definition: basictypes.h:111
Uml::AssociationType::State
@ State
Definition: basictypes.h:121
Uml::AssociationType::Generalization
@ Generalization
Definition: basictypes.h:107
Uml::AssociationType::Category2Parent
@ Category2Parent
Definition: basictypes.h:124
Uml::AssociationType::Anchor
@ Anchor
Definition: basictypes.h:120
Uml::AssociationType::Coll_Mesg_Sync
@ Coll_Mesg_Sync
Definition: basictypes.h:127
Uml::AssociationType::Coll_Mesg_Async
@ Coll_Mesg_Async
Definition: basictypes.h:112
Uml::AssociationType::Exception
@ Exception
Definition: basictypes.h:123
Uml::AssociationType::Activity
@ Activity
Definition: basictypes.h:122
Uml::AssociationType::Child2Category
@ Child2Category
Definition: basictypes.h:125
Uml::AssociationType::Realization
@ Realization
Definition: basictypes.h:118
Uml::AssociationType::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:449
Uml::AssociationType::fromString
Enum fromString(const QString &item)
Definition: basictypes.cpp:396
Uml::Changeability::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:711
Uml::Changeability::fromString
Enum fromString(const QString &item)
Definition: basictypes.cpp:695
Uml::Changeability::Enum
Enum
Definition: basictypes.h:216
Uml::Changeability::Frozen
@ Frozen
Definition: basictypes.h:218
Uml::Changeability::Changeable
@ Changeable
Definition: basictypes.h:217
Uml::Changeability::AddOnly
@ AddOnly
Definition: basictypes.h:219
Uml::Changeability::toString
QString toString(Enum item)
Definition: basictypes.cpp:677
Uml::DiagramType::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:267
Uml::DiagramType::toString
QString toString(Enum item)
Definition: basictypes.cpp:168
Uml::DiagramType::fromString
Enum fromString(const QString &item)
Definition: basictypes.cpp:236
Uml::DiagramType::Enum
Enum
Definition: basictypes.h:77
Uml::DiagramType::Component
@ Component
Definition: basictypes.h:87
Uml::DiagramType::Collaboration
@ Collaboration
Definition: basictypes.h:84
Uml::DiagramType::Activity
@ Activity
Definition: basictypes.h:86
Uml::DiagramType::Undefined
@ Undefined
Definition: basictypes.h:80
Uml::DiagramType::N_DIAGRAMTYPES
@ N_DIAGRAMTYPES
Definition: basictypes.h:91
Uml::DiagramType::State
@ State
Definition: basictypes.h:85
Uml::DiagramType::Object
@ Object
Definition: basictypes.h:90
Uml::DiagramType::UseCase
@ UseCase
Definition: basictypes.h:82
Uml::DiagramType::Sequence
@ Sequence
Definition: basictypes.h:83
Uml::DiagramType::Class
@ Class
Definition: basictypes.h:81
Uml::DiagramType::EntityRelationship
@ EntityRelationship
Definition: basictypes.h:89
Uml::DiagramType::Deployment
@ Deployment
Definition: basictypes.h:88
Uml::DiagramType::toStringI18n
QString toStringI18n(Enum item)
Definition: basictypes.cpp:203
Uml::ID::toString
QString toString(const ID::Type &id)
Definition: basictypes.cpp:1314
Uml::ID::None
const Type None
special value for uninitialized ID
Definition: basictypes.h:387
Uml::ID::fromString
ID::Type fromString(const QString &id)
Definition: basictypes.cpp:1319
Uml::ID::Type
std::string Type
Definition: basictypes.h:385
Uml::ID::operator<<
QDebug operator<<(QDebug out, ID::Type &type)
Definition: basictypes.cpp:1308
Uml::ID::Reserved
const Type Reserved
special value for illegal ID
Definition: basictypes.h:388
Uml::LayoutType::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:523
Uml::LayoutType::fromString
Enum fromString(const QString &item)
Definition: basictypes.cpp:505
Uml::LayoutType::toString
QString toString(Enum item)
Definition: basictypes.cpp:485
Uml::LayoutType::Enum
Enum
Definition: basictypes.h:144
Uml::LayoutType::Polyline
@ Polyline
Definition: basictypes.h:148
Uml::LayoutType::Orthogonal
@ Orthogonal
Definition: basictypes.h:147
Uml::LayoutType::N_LAYOUTTYPES
@ N_LAYOUTTYPES
Definition: basictypes.h:150
Uml::LayoutType::Spline
@ Spline
Definition: basictypes.h:149
Uml::LayoutType::Direct
@ Direct
Definition: basictypes.h:146
Uml::LayoutType::Undefined
@ Undefined
Definition: basictypes.h:145
Uml::ModelType::fromString
Enum fromString(const QString &item)
Definition: basictypes.cpp:69
Uml::ModelType::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:88
Uml::ModelType::Enum
Enum
Definition: basictypes.h:41
Uml::ModelType::N_MODELTYPES
@ N_MODELTYPES
Definition: basictypes.h:47
Uml::ModelType::Logical
@ Logical
Definition: basictypes.h:42
Uml::ModelType::EntityRelationship
@ EntityRelationship
Definition: basictypes.h:46
Uml::ModelType::UseCase
@ UseCase
Definition: basictypes.h:43
Uml::ModelType::Deployment
@ Deployment
Definition: basictypes.h:45
Uml::ModelType::Component
@ Component
Definition: basictypes.h:44
Uml::ModelType::toString
QString toString(Enum item)
Definition: basictypes.cpp:47
Uml::ParameterDirection::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:859
Uml::ParameterDirection::Enum
Enum
Definition: basictypes.h:268
Uml::ParameterDirection::InOut
@ InOut
Definition: basictypes.h:270
Uml::ParameterDirection::In
@ In
Definition: basictypes.h:269
Uml::ParameterDirection::Out
@ Out
Definition: basictypes.h:271
Uml::ParameterDirection::fromString
Enum fromString(const QString &item)
Definition: basictypes.cpp:843
Uml::ParameterDirection::toString
QString toString(Enum item)
Definition: basictypes.cpp:825
Uml::PrimitiveTypes::fromString
Enum fromString(const QString &item, bool strict)
Definition: basictypes.cpp:899
Uml::PrimitiveTypes::toString
QString toString(Enum item)
Definition: basictypes.cpp:879
Uml::PrimitiveTypes::n_types
const int n_types
Definition: basictypes.h:292
Uml::PrimitiveTypes::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:908
Uml::PrimitiveTypes::Enum
Enum
Definition: basictypes.h:283
Uml::PrimitiveTypes::UnlimitedNatural
@ UnlimitedNatural
Definition: basictypes.h:286
Uml::PrimitiveTypes::Boolean
@ Boolean
Definition: basictypes.h:285
Uml::PrimitiveTypes::Integer
@ Integer
Definition: basictypes.h:287
Uml::PrimitiveTypes::String
@ String
Definition: basictypes.h:284
Uml::PrimitiveTypes::Real
@ Real
Definition: basictypes.h:288
Uml::PrimitiveTypes::Reserved
@ Reserved
Definition: basictypes.h:289
Uml::ProgrammingLanguage::scopeSeparator
QString scopeSeparator(Enum item)
Definition: basictypes.cpp:1161
Uml::ProgrammingLanguage::toExtensionsDescription
QString toExtensionsDescription(Enum item)
Definition: basictypes.cpp:1115
Uml::ProgrammingLanguage::isCaseSensitive
bool isCaseSensitive(Enum item)
Definition: basictypes.cpp:1152
Uml::ProgrammingLanguage::toExtensions
QStringList toExtensions(Enum item)
Definition: basictypes.cpp:1036
Uml::ProgrammingLanguage::Enum
Enum
Definition: basictypes.h:305
Uml::ProgrammingLanguage::Ruby
@ Ruby
Definition: basictypes.h:321
Uml::ProgrammingLanguage::IDL
@ IDL
Definition: basictypes.h:311
Uml::ProgrammingLanguage::Tcl
@ Tcl
Definition: basictypes.h:323
Uml::ProgrammingLanguage::Java
@ Java
Definition: basictypes.h:312
Uml::ProgrammingLanguage::XMLSchema
@ XMLSchema
Definition: basictypes.h:325
Uml::ProgrammingLanguage::CSharp
@ CSharp
Definition: basictypes.h:309
Uml::ProgrammingLanguage::Vala
@ Vala
Definition: basictypes.h:324
Uml::ProgrammingLanguage::Python
@ Python
Definition: basictypes.h:320
Uml::ProgrammingLanguage::ActionScript
@ ActionScript
Definition: basictypes.h:306
Uml::ProgrammingLanguage::Reserved
@ Reserved
Definition: basictypes.h:326
Uml::ProgrammingLanguage::PHP
@ PHP
Definition: basictypes.h:317
Uml::ProgrammingLanguage::PostgreSQL
@ PostgreSQL
Definition: basictypes.h:319
Uml::ProgrammingLanguage::D
@ D
Definition: basictypes.h:310
Uml::ProgrammingLanguage::JavaScript
@ JavaScript
Definition: basictypes.h:313
Uml::ProgrammingLanguage::Cpp
@ Cpp
Definition: basictypes.h:308
Uml::ProgrammingLanguage::PHP5
@ PHP5
Definition: basictypes.h:318
Uml::ProgrammingLanguage::Perl
@ Perl
Definition: basictypes.h:316
Uml::ProgrammingLanguage::Ada
@ Ada
Definition: basictypes.h:307
Uml::ProgrammingLanguage::SQL
@ SQL
Definition: basictypes.h:322
Uml::ProgrammingLanguage::Pascal
@ Pascal
Definition: basictypes.h:315
Uml::ProgrammingLanguage::MySQL
@ MySQL
Definition: basictypes.h:314
Uml::ProgrammingLanguage::fromString
Enum fromString(const QString &item)
Definition: basictypes.cpp:976
Uml::ProgrammingLanguage::toString
QString toString(Enum item)
Definition: basictypes.cpp:924
Uml::ProgrammingLanguage::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:1026
Uml::Region::toString
QString toString(Enum item)
Definition: basictypes.cpp:1183
Uml::Region::Enum
Enum
Definition: basictypes.h:344
Uml::Region::Center
@ Center
Definition: basictypes.h:354
Uml::Region::North
@ North
Definition: basictypes.h:347
Uml::Region::SouthEast
@ SouthEast
Definition: basictypes.h:352
Uml::Region::East
@ East
Definition: basictypes.h:348
Uml::Region::SouthWest
@ SouthWest
Definition: basictypes.h:353
Uml::Region::NorthEast
@ NorthEast
Definition: basictypes.h:351
Uml::Region::NorthWest
@ NorthWest
Definition: basictypes.h:350
Uml::Region::Error
@ Error
Definition: basictypes.h:345
Uml::Region::South
@ South
Definition: basictypes.h:349
Uml::Region::West
@ West
Definition: basictypes.h:346
Uml::Region::fromString
Enum fromString(const QString &item)
Definition: basictypes.cpp:1215
Uml::Region::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:1245
Uml::RoleType::fromString
Enum fromString(const QString &item)
Definition: basictypes.cpp:797
Uml::RoleType::toString
QString toString(Enum item)
Definition: basictypes.cpp:781
Uml::RoleType::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:811
Uml::RoleType::Enum
Enum
Definition: basictypes.h:250
Uml::RoleType::A
@ A
Definition: basictypes.h:251
Uml::SequenceMessage::toString
QString toString(Enum item)
Definition: basictypes.cpp:725
Uml::SequenceMessage::fromString
Enum fromString(const QString &item)
Definition: basictypes.cpp:747
Uml::SequenceMessage::Enum
Enum
Definition: basictypes.h:231
Uml::SequenceMessage::Creation
@ Creation
Definition: basictypes.h:235
Uml::SequenceMessage::Found
@ Found
Definition: basictypes.h:237
Uml::SequenceMessage::Destroy
@ Destroy
Definition: basictypes.h:238
Uml::SequenceMessage::Lost
@ Lost
Definition: basictypes.h:236
Uml::SequenceMessage::Synchronous
@ Synchronous
Definition: basictypes.h:233
Uml::SequenceMessage::Asynchronous
@ Asynchronous
Definition: basictypes.h:234
Uml::SequenceMessage::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:767
Uml::ShowStereoType::Enum
Enum
Definition: basictypes.h:162
Uml::ShowStereoType::None
@ None
no display of stereotype
Definition: basictypes.h:163
Uml::ShowStereoType::Name
@ Name
stereotype name only
Definition: basictypes.h:164
Uml::ShowStereoType::Tags
@ Tags
stereotype name and tagged values
Definition: basictypes.h:165
Uml::SignatureType::toString
QString toString(Enum item)
Definition: basictypes.cpp:536
Uml::SignatureType::Enum
Enum
Definition: basictypes.h:174
Uml::SignatureType::NoSigNoVis
@ NoSigNoVis
Definition: basictypes.h:178
Uml::SignatureType::ShowSig
@ ShowSig
Definition: basictypes.h:176
Uml::SignatureType::SigNoVis
@ SigNoVis
Definition: basictypes.h:177
Uml::SignatureType::NoSig
@ NoSig
Definition: basictypes.h:175
Uml::SignatureType::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:574
Uml::SignatureType::fromString
Enum fromString(const QString &item)
Definition: basictypes.cpp:556
Uml::TextRole::Enum
Enum
Definition: basictypes.h:190
Uml::TextRole::Reserved
@ Reserved
Definition: basictypes.h:204
Uml::TextRole::Coll_Message
@ Coll_Message
Definition: basictypes.h:197
Uml::TextRole::Seq_Message_Self
@ Seq_Message_Self
Definition: basictypes.h:196
Uml::TextRole::Floating
@ Floating
Definition: basictypes.h:191
Uml::TextRole::MultiA
@ MultiA
Definition: basictypes.h:192
Uml::TextRole::Coll_Message_Self
@ Coll_Message_Self
Definition: basictypes.h:198
Uml::TextRole::Name
@ Name
Definition: basictypes.h:194
Uml::TextRole::ChangeB
@ ChangeB
Definition: basictypes.h:203
Uml::TextRole::RoleAName
@ RoleAName
Definition: basictypes.h:200
Uml::TextRole::Seq_Message
@ Seq_Message
Definition: basictypes.h:195
Uml::TextRole::State
@ State
Definition: basictypes.h:199
Uml::TextRole::RoleBName
@ RoleBName
Definition: basictypes.h:201
Uml::TextRole::ChangeA
@ ChangeA
Definition: basictypes.h:202
Uml::TextRole::MultiB
@ MultiB
Definition: basictypes.h:193
Uml::TextRole::fromString
Enum fromString(const QString &item)
Definition: basictypes.cpp:626
Uml::TextRole::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:662
Uml::TextRole::toString
QString toString(Enum item)
Definition: basictypes.cpp:588
Uml::Visibility::fromInt
Enum fromInt(int item)
Definition: basictypes.cpp:152
Uml::Visibility::Enum
Enum
Definition: basictypes.h:59
Uml::Visibility::Public
@ Public
Definition: basictypes.h:60
Uml::Visibility::FromParent
@ FromParent
Definition: basictypes.h:64
Uml::Visibility::Unknown
@ Unknown
Definition: basictypes.h:65
Uml::Visibility::Protected
@ Protected
Definition: basictypes.h:62
Uml::Visibility::Implementation
@ Implementation
Definition: basictypes.h:63
Uml::Visibility::Private
@ Private
Definition: basictypes.h:61
Uml::Visibility::toString
QString toString(Enum item, bool mnemonic)
Definition: basictypes.cpp:107
Uml::Visibility::fromString
Enum fromString(const QString &item, bool checkUnkown)
Definition: basictypes.cpp:127
Uml
Definition: basictypes.cpp:37
Uml::systemFont
QFont systemFont()
Definition: basictypes.cpp:1332
visibility
Definition: visibility.py:1