/usr/lib/bouml/xmi2/3200.bodies is in bouml-plugouts-src 4.21-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 | class UmlBaseItem
!!!21376.cpp!!! set_Name(in s : string) : bool
UmlCom::send_cmd(_identifier, setNameCmd, s);
if (UmlCom::read_bool()) {
_name = s;
return TRUE;
}
else
return FALSE;
!!!21376.java!!! set_Name(in s : string) : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.setNameCmd, s);
UmlCom.check();
_name = s;
!!!21504.cpp!!! stereotype() : string
read_if_needed_();
return _stereotype;
!!!21504.java!!! stereotype() : string
read_if_needed_();
return _stereotype;
!!!21632.cpp!!! set_Stereotype(in s : string) : bool
return set_it_(_stereotype, s, setStereotypeCmd);
!!!21632.java!!! set_Stereotype(in s : string) : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.setStereotypeCmd, s);
UmlCom.check();
if (_defined) _stereotype = s;
!!!246144.cpp!!! applyStereotype() : bool
UmlCom::send_cmd(_identifier, applyStereotypeCmd);
if (UmlCom::read_bool() == 0) return FALSE;
unload(false, false);
return TRUE;
!!!246144.java!!! applyStereotype() : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.applyStereotypeCmd);
UmlCom.check();
unload(false, false);
!!!21760.cpp!!! description() : string
read_if_needed_();
return _description;
!!!21760.java!!! description() : string
read_if_needed_();
return _description;
!!!21888.cpp!!! set_Description(in s : string) : bool
return set_it_(_description, s, setDescriptionCmd);
!!!21888.java!!! set_Description(in s : string) : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.setDescriptionCmd, s);
UmlCom.check();
if (_defined) _description = s;
!!!22016.cpp!!! parent() : UmlItem
if (_parent == 0) {
UmlCom::send_cmd(_identifier, parentCmd);
_parent = UmlBaseItem::read_();
}
return _parent;
!!!22016.java!!! parent() : UmlItem
if (_parent == null) {
UmlCom.send_cmd(identifier_(), OnInstanceCmd.parentCmd);
_parent = UmlBaseItem.read_();
}
return _parent;
!!!22144.cpp!!! children() : UmlItem
if (_children == 0)
read_children_();
return *_children;
!!!22144.java!!! children() : UmlItem
if (_children == null)
read_children_();
return (UmlItem[]) _children.clone();
!!!22272.cpp!!! childrenVisible() : bool
UmlCom::send_cmd(_identifier, isOpenCmd);
return UmlCom::read_bool();
!!!22272.java!!! childrenVisible() : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.isOpenCmd);
return UmlCom.read_bool();
!!!22400.cpp!!! set_childrenVisible(in y : bool) : bool
UmlCom::send_cmd(_identifier, setOpenCmd, (char) y);
return UmlCom::read_bool();
!!!22400.java!!! set_childrenVisible(in y : bool) : bool
UmlCom.send_cmd(_identifier, OnInstanceCmd.setOpenCmd, (y) ? (byte) 1 : (byte) 0);
UmlCom.check();
!!!22528.cpp!!! propertyValue(in k : string, inout v : string) : string
read_if_needed_();
QCString * s = _dict[k];
if (s == 0)
return FALSE;
v = *s;
return TRUE;
!!!22528.java!!! propertyValue(in k : string, inout v : string) : string
read_if_needed_();
if (_dict == null)
return null;
return (String) _dict.get(k);
!!!22656.cpp!!! set_PropertyValue(in k : string, in v : string) : bool
read_if_needed_();
UmlCom::send_cmd(_identifier, setCoupleValueCmd, k, v);
if (UmlCom::read_bool()) {
if (_defined) {
QCString * s = _dict[k];
if (s == 0)
_dict.insert(k, new QCString(v));
else
*s = v;
}
return TRUE;
}
else
return FALSE;
!!!22656.java!!! set_PropertyValue(in k : string, in v : string) : bool
read_if_needed_();
UmlCom.send_cmd(identifier_(), OnInstanceCmd.setCoupleValueCmd, k, v);
UmlCom.check();
if (_dict == null)
_dict = new Hashtable();
_dict.put(k, v);
!!!22784.cpp!!! properties() : string
read_if_needed_();
return _dict;
!!!22784.java!!! properties() : string
read_if_needed_();
return (_dict == null)
? new Hashtable()
: (Hashtable) _dict.clone();
!!!150656.cpp!!! moveAfter(in x : UmlItem) : bool
UmlCom::send_cmd(_identifier, moveAfterCmd, (x != 0) ? ((UmlBaseItem *) x)->_identifier : 0);
if (UmlCom::read_bool()) {
((UmlBaseItem *) parent())->reread_children_if_needed_();
return TRUE;
}
else
return FALSE;
!!!150656.java!!! moveAfter(in x : UmlItem) : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.moveAfterCmd,
(x != null) ? x.identifier_() : 0);
UmlCom.check();
parent().reread_children_if_needed_();
!!!22912.cpp!!! supportFile() : string
UmlCom::send_cmd(_identifier, supportFileCmd);
return UmlCom::read_string();
!!!22912.java!!! supportFile() : string
UmlCom.send_cmd(identifier_(), OnInstanceCmd.supportFileCmd);
return UmlCom.read_string();
!!!23040.cpp!!! isWritable() : bool
UmlCom::send_cmd(_identifier, isWritableCmd);
return UmlCom::read_bool();
!!!23040.java!!! isWritable() : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.isWritableCmd);
return UmlCom.read_bool();
!!!23168.cpp!!! apply(in cmd : string) : int
UmlCom::send_cmd(_identifier, applyCmd, cmd);
return (int) UmlCom::read_unsigned();
!!!23168.java!!! apply(in cmd : string) : int
UmlCom.send_cmd(identifier_(), OnInstanceCmd.applyCmd, cmd);
return UmlCom.read_unsigned();
!!!23296.cpp!!! isMarked() : bool
read_if_needed_();
return _marked;
!!!23296.java!!! isMarked() : bool
read_if_needed_();
return _marked;
!!!23424.cpp!!! set_isMarked(in y : bool) : bool
return set_it_(_marked, y, setMarkedCmd);
!!!23424.java!!! set_isMarked(in y : bool) : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.setMarkedCmd, (y) ? (byte) 1 : (byte) 0);
UmlCom.check();
_marked = y;
!!!23552.cpp!!! referencedBy() : UmlItem
UmlCom::send_cmd(_identifier, referencedByCmd);
QVector<UmlItem> result;
UmlCom::read_item_list(result);
return result;
!!!23552.java!!! referencedBy() : UmlItem
UmlCom.send_cmd(identifier_(), OnInstanceCmd.childrenCmd);
return UmlCom.read_item_list();
!!!213504.cpp!!! getIdentifier() : int
read_if_needed_();
return _modeler_id;
!!!213504.java!!! getIdentifier() : int
read_if_needed_();
return _modeler_id;
!!!23680.cpp!!! unload(in rec : bool, in del : bool) : void
_defined = FALSE;
_stereotype = 0;
_dict.clear();
_description = 0;
if (_children != 0) {
if (rec) {
for (unsigned chindex = 0; chindex != _children->size(); chindex += 1) {
_children->at(chindex)->unload(TRUE, del);
if (del)
delete _children->at(chindex);
}
}
delete _children;
_children = 0;
}
!!!23680.java!!! unload(in rec : bool, in del : bool) : void
_defined = false;
_stereotype = null;
_dict = null;
_description = null;
if (_children != null) {
if (rec)
for (int chindex = 0; chindex != _children.length; chindex += 1) {
_children[chindex].unload(true, del);
if (del)
_all.remove(new Long(_children[chindex].identifier_()));
}
_children = null;
}
!!!213376.cpp!!! deleteIt() : bool
UmlCom::send_cmd(_identifier, deleteCmd);
if (UmlCom::read_bool() == 0) return FALSE;
parent()->unload(TRUE);
return TRUE;
!!!213376.java!!! deleteIt() : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.deleteCmd);
UmlCom.check();
parent().unload(true, false);
!!!23808.cpp!!! isToolRunning(in id : int) : bool
UmlCom::send_cmd(miscGlobalCmd, toolRunningCmd, id, "");
return UmlCom::read_bool();
!!!23808.java!!! isToolRunning(in id : int) : bool
UmlCom.send_cmd(CmdFamily.miscGlobalCmd, MiscGlobalCmd._toolRunningCmd, id, "");
return UmlCom.read_bool();
!!!23936.cpp!!! markedItems() : UmlItem
UmlCom::send_cmd(miscGlobalCmd, allMarkedCmd);
QVector<UmlItem> result;
UmlCom::read_item_list(result);
return result;
!!!23936.java!!! markedItems() : UmlItem
UmlCom.send_cmd(CmdFamily.miscGlobalCmd, MiscGlobalCmd._allMarkedCmd);
return UmlCom.read_item_list();
!!!24064.cpp!!! read_if_needed_() : void
if (!_defined) {
#if defined(WITHCPP) & defined(WITHJAVA) & defined(WITHPHP) & defined(WITHPYTHON) & defined(WITHIDL)
UmlCom::send_cmd(_identifier, getDefCmd);
read_uml_();
read_cpp_();
read_java_();
read_php_();
read_python_();
read_idl_();
#else
# if defined(WITHCPP) & !defined(WITHJAVA) & !defined(WITHPHP) & !defined(WITHPYTHON) & !defined(WITHIDL)
UmlCom::send_cmd(_identifier, getCppDefCmd);
read_uml_();
read_cpp_();
# else
# if !defined(WITHCPP) & defined(WITHJAVA) & !defined(WITHPHP) & !defined(WITHPYTHON) & !defined(WITHIDL)
UmlCom::send_cmd(_identifier, getJavaDefCmd);
read_uml_();
read_java_();
# else
# if !defined(WITHCPP) & !defined(WITHJAVA) & defined(WITHPHP) & !defined(WITHPYTHON) & !defined(WITHIDL)
UmlCom::send_cmd(_identifier, getPhpDefCmd);
read_uml_();
read_php_();
# else
# if !defined(WITHCPP) & !defined(WITHJAVA) & !defined(WITHPHP) & defined(WITHPYTHON) & !defined(WITHIDL)
UmlCom::send_cmd(_identifier, getPythonDefCmd);
read_uml_();
read_python_();
# else
# if !defined(WITHCPP) & !defined(WITHJAVA) & !defined(WITHPHP) & !defined(WITHPYTHON) & defined(WITHIDL)
UmlCom::send_cmd(_identifier, getIdlDefCmd);
read_uml_();
read_idl_();
# else
# if !defined(WITHCPP) & !defined(WITHJAVA) & !defined(WITHPHP) & !defined(WITHPYTHON) & !defined(WITHIDL)
UmlCom::send_cmd(_identifier, getUmlDefCmd);
read_uml_();
# else
... WITHCPP and WITHJAVA and WITHPHP and WITHPYTHON and WITHIDL must be both defined or undefined
... or only one of them must be defined
# endif
# endif
# endif
# endif
# endif
# endif
#endif
_defined = TRUE;
}
!!!24064.java!!! read_if_needed_() : void
if (!_defined) {
UmlCom.send_cmd(identifier_(), OnInstanceCmd.getDefCmd);
read_uml_();
read_cpp_();
read_java_();
read_php_();
read_python_();
read_idl_();
_defined = true;
}
!!!24192.cpp!!! create_(in k : anItemKind, in s : str) : UmlItem
UmlCom::send_cmd(_identifier, createCmd, k, s);
UmlItem * result = UmlBaseItem::read_();
if (result != 0) {
if (_children != 0) {
unsigned n = _children->count();
_children->resize(n + 1);
_children->insert(n, result);
}
((UmlBaseItem *) result)->_parent = (UmlItem *) this;
}
return result;
!!!24192.java!!! create_(in k : anItemKind, in s : str) : UmlItem
UmlCom.send_cmd(identifier_(), OnInstanceCmd.createCmd, k, s);
UmlItem result = UmlBaseItem.read_();
if (result != null) {
if (_children != null) {
int n = _children.length;
UmlItem[] ch = new UmlItem[n + 1];
int index;
for (index = 0; index != n; index += 1)
ch[index] = _children[index];
ch[index] = result;
_children = ch;
}
((UmlBaseItem) result)._parent = (UmlItem) this;
}
else
throw new RuntimeException("can't be created");
return result;
!!!24320.cpp!!! read_uml_() : void
_stereotype = UmlCom::read_string();
unsigned n = UmlCom::read_unsigned();
while (n--) {
QCString k = UmlCom::read_string();
_dict.insert(k, new QCString(UmlCom::read_string()));
}
_description = UmlCom::read_string();
_marked = UmlCom::read_bool();
_modeler_id = (int) UmlCom::read_unsigned();
!!!24320.java!!! read_uml_() : void
_stereotype = UmlCom.read_string();
int n = UmlCom.read_unsigned();
if (n != 0) {
_dict = new Hashtable(n);
do {
String k = UmlCom.read_string();
_dict.put(k, UmlCom.read_string());
} while (--n != 0);
}
else
_dict = null;
_description = UmlCom.read_string();
_marked = UmlCom.read_bool();
_modeler_id = UmlCom.read_unsigned();
!!!24832.cpp!!! read_children_() : void
UmlCom::send_cmd(_identifier, childrenCmd);
_children = new QVector<UmlItem>;
UmlCom::read_item_list(*_children);
unsigned n = _children->size();
while (n--)
((UmlBaseItem *) _children->at(n))->_parent = (UmlItem *) this;
!!!24832.java!!! read_children_() : void
UmlCom.send_cmd(identifier_(), OnInstanceCmd.childrenCmd);
_children = UmlCom.read_item_list();
int n = _children.length;
while (n-- != 0)
((UmlBaseItem) _children[n])._parent = (UmlItem) this;
!!!24960.cpp!!! reread_children_if_needed_() : void
if (_children != 0) {
delete _children;
read_children_();
}
!!!24960.java!!! reread_children_if_needed_() : void
if (_children != null)
read_children_();
!!!25088.cpp!!! set_it_(inout r : bool, in v : bool, in cmd : OnInstanceCmd) : bool
UmlCom::send_cmd(_identifier, cmd, (char) v);
if (UmlCom::read_bool()) {
r = v;
return TRUE;
}
else
return FALSE;
!!!25088.java!!! set_it_(inout r : bool, in v : bool, in cmd : OnInstanceCmd) : bool
UmlCom.send_cmd(_identifier, cmd, (char) v);
if (UmlCom.read_bool()) {
r = v;
return true;
}
else
return false;
!!!25216.cpp!!! set_it_(inout r : aVisibility, in v : aVisibility, in cmd : OnInstanceCmd) : bool
UmlCom::send_cmd(_identifier, cmd, (char) v);
if (UmlCom::read_bool()) {
r = v;
return TRUE;
}
else
return FALSE;
!!!25216.java!!! set_it_(inout r : aVisibility, in v : aVisibility, in cmd : OnInstanceCmd) : bool
UmlCom.send_cmd(_identifier, cmd, (char) v);
if (UmlCom.read_bool()) {
r = v;
return true;
}
else
return false;
!!!25344.cpp!!! set_it_(inout r : aDirection, in v : aDirection, in cmd : OnInstanceCmd) : bool
UmlCom::send_cmd(_identifier, cmd, (char) v);
if (UmlCom::read_bool()) {
r = v;
return TRUE;
}
else
return FALSE;
!!!25344.java!!! set_it_(inout r : aDirection, in v : aDirection, in cmd : OnInstanceCmd) : bool
UmlCom.send_cmd(_identifier, cmd, (char) v);
if (UmlCom.read_bool()) {
r = v;
return true;
}
else
return false;
!!!25472.cpp!!! set_it_(inout r : string, in v : str, in cmd : OnInstanceCmd) : bool
UmlCom::send_cmd(_identifier, cmd, v);
if (UmlCom::read_bool()) {
if (_defined) r = v;
return TRUE;
}
else
return FALSE;
!!!25472.java!!! set_it_(inout r : string, in v : str, in cmd : OnInstanceCmd) : bool
UmlCom.send_cmd(_identifier, cmd, v);
if (UmlCom.read_bool()) {
if (_defined) r = v;
return true;
}
else
return false;
!!!25600.cpp!!! set_it_(inout r : UmlTypeSpec, in t : UmlTypeSpec, in cmd : OnInstanceCmd) : bool
UmlCom::send_cmd(_identifier, cmd, t);
if (UmlCom::read_bool()) {
if (_defined) r = t;
return TRUE;
}
else
return FALSE;
!!!25600.java!!! set_it_(inout r : UmlTypeSpec, in t : UmlTypeSpec, in cmd : OnInstanceCmd) : bool
UmlCom.send_cmd(_identifier, cmd, t);
if (UmlCom.read_bool()) {
if (_defined) r = t;
return true;
}
else
return false;
!!!25728.cpp!!! read_() : UmlItem
void * id = UmlCom::read_id();
if (id == 0)
return 0;
anItemKind kind = (anItemKind) UmlCom::read_char();
const char * name = UmlCom::read_string();
#ifndef WIN32
//cout << "UmlBaseItem::read id " << id << " kind " << kind << " name " << name << '\n';
#endif
UmlItem * result = _all[id];
if (result == 0) {
switch (kind) {
case aRelation:
return new UmlRelation(id, name);
case anAttribute:
return new UmlAttribute(id, name);
case anOperation:
return new UmlOperation(id, name);
case anExtraClassMember:
return new UmlExtraClassMember(id, name);
case aClass:
return new UmlClass(id, name);
case anUseCase:
return new UmlUseCase(id, name);
case aComponent:
return new UmlComponent(id, name);
case anArtifact:
return new UmlArtifact(id, name);
case aNode:
return new UmlNode(id, name);
case aNcRelation:
return new UmlNcRelation(id, name);
case aClassDiagram:
return new UmlClassDiagram(id, name);
case anUseCaseDiagram:
return new UmlUseCaseDiagram(id, name);
case aSequenceDiagram:
return new UmlSequenceDiagram(id, name);
case aCollaborationDiagram:
return new UmlCollaborationDiagram(id, name);
case aComponentDiagram:
return new UmlComponentDiagram(id, name);
case aDeploymentDiagram:
return new UmlDeploymentDiagram(id, name);
case aClassView:
return new UmlClassView(id, name);
case anUseCaseView:
return new UmlUseCaseView(id, name);
case aComponentView:
return new UmlComponentView(id, name);
case aDeploymentView:
return new UmlDeploymentView(id, name);
case aPackage:
return new UmlPackage(id, name);
case aState:
return new UmlState(id, name);
case aTransition:
return new UmlTransition(id, name);
case aRegion:
return new UmlRegion(id, name);
case aStateDiagram:
return new UmlStateDiagram(id, name);
case aStateAction:
return new UmlStateAction(id);
case anInitialPseudoState:
return new UmlInitialPseudoState(id);
case anEntryPointPseudoState:
return new UmlEntryPointPseudoState(id, name);
case aFinalState:
return new UmlFinalState(id);
case aTerminatePseudoState:
return new UmlTerminatePseudoState(id);
case anExitPointPseudoState:
return new UmlExitPointPseudoState(id, name);
case aDeepHistoryPseudoState:
return new UmlDeepHistoryPseudoState(id);
case aShallowHistoryPseudoState:
return new UmlShallowHistoryPseudoState(id);
case aJunctionPseudoState:
return new UmlJunctionPseudoState(id);
case aChoicePseudoState:
return new UmlChoicePseudoState(id);
case aForkPseudoState:
return new UmlForkPseudoState(id);
case aJoinPseudoState:
return new UmlJoinPseudoState(id);
case anObjectDiagram:
return new UmlObjectDiagram(id, name);
case anActivityDiagram:
return new UmlActivityDiagram(id, name);
case anActivity:
return new UmlActivity(id, name);
case aFlow:
return new UmlFlow(id, name);
case anActivityParameter:
return new UmlActivityParameter(id, name);
case aParameterSet:
return new UmlParameterSet(id, name);
case anExpansionRegion:
return new UmlExpansionRegion(id, name);
case anInterruptibleActivityRegion:
return new UmlInterruptibleActivityRegion(id, name);
case anOpaqueAction:
return new UmlOpaqueAction(id, name);
case anAcceptEventAction:
return new UmlAcceptEventAction(id, name);
case aReadVariableValueAction:
return new UmlReadVariableValueAction(id, name);
case aClearVariableValueAction:
return new UmlClearVariableValueAction(id, name);
case aWriteVariableValueAction:
return new UmlWriteVariableValueAction(id, name);
case anAddVariableValueAction:
return new UmlAddVariableValueAction(id, name);
case aRemoveVariableValueAction:
return new UmlRemoveVariableValueAction(id, name);
case aCallBehaviorAction:
return new UmlCallBehaviorAction(id, name);
case aCallOperationAction:
return new UmlCallOperationAction(id, name);
case aSendObjectAction:
return new UmlSendObjectAction(id, name);
case aSendSignalAction:
return new UmlSendSignalAction(id, name);
case aBroadcastSignalAction:
return new UmlBroadcastSignalAction(id, name);
case anUnmarshallAction:
return new UmlUnmarshallAction(id, name);
case aValueSpecificationAction:
return new UmlValueSpecificationAction(id, name);
case anActivityObject:
return new UmlActivityObject(id, name);
case anExpansionNode:
return new UmlExpansionNode(id, name);
case anActivityPin:
return new UmlActivityPin(id, name);
case anInitialActivityNode:
return new UmlInitialActivityNode(id, name);
case aFlowFinalActivityNode:
return new UmlFlowFinalActivityNode(id, name);
case anActivityFinalActivityNode:
return new UmlActivityFinalActivityNode(id, name);
case aDecisionActivityNode:
return new UmlDecisionActivityNode(id, name);
case aMergeActivityNode:
return new UmlMergeActivityNode(id, name);
case aForkActivityNode:
return new UmlForkActivityNode(id, name);
case aJoinActivityNode:
return new UmlJoinActivityNode(id, name);
case aPartition:
return new UmlActivityPartition(id, name);
case aClassInstance:
return new UmlClassInstance(id, name);
case anAcceptCallAction:
return new UmlAcceptCallAction(id, name);
case aReplyAction:
return new UmlReplyAction(id, name);
case aCreateObjectAction:
return new UmlCreateObjectAction(id, name);
case aDestroyObjectAction:
return new UmlDestroyObjectAction(id, name);
case aTestIdentityAction:
return new UmlTestIdentityAction(id, name);
case aRaiseExceptionAction:
return new UmlRaiseExceptionAction(id, name);
case aReduceAction:
return new UmlReduceAction(id, name);
default:
UmlCom::bye(-1);
UmlCom::fatal_error(QCString("unknown item type ") + QCString().setNum(kind));
}
}
return result;
!!!25728.java!!! read_() : UmlItem
long id = UmlCom.read_id();
if (id == 0)
return null;
int kind = (int) UmlCom.read_char();
String name = UmlCom.read_string();
UmlItem result = (UmlItem) _all.get(new Long(id));
if (result == null) {
switch (kind) {
case anItemKind._aRelation:
return new UmlRelation(id, name);
case anItemKind._anAttribute:
return new UmlAttribute(id, name);
case anItemKind._anOperation:
return new UmlOperation(id, name);
case anItemKind._anExtraClassMember:
return new UmlExtraClassMember(id, name);
case anItemKind._aClass:
return new UmlClass(id, name);
case anItemKind._anUseCase:
return new UmlUseCase(id, name);
case anItemKind._aComponent:
return new UmlComponent(id, name);
case anItemKind._anArtifact:
return new UmlArtifact(id, name);
case anItemKind._aNode:
return new UmlNode(id, name);
case anItemKind._aNcRelation:
return new UmlNcRelation(id, name);
case anItemKind._aClassDiagram:
return new UmlClassDiagram(id, name);
case anItemKind._anUseCaseDiagram:
return new UmlUseCaseDiagram(id, name);
case anItemKind._aSequenceDiagram:
return new UmlSequenceDiagram(id, name);
case anItemKind._aCollaborationDiagram:
return new UmlCollaborationDiagram(id, name);
case anItemKind._aComponentDiagram:
return new UmlComponentDiagram(id, name);
case anItemKind._aDeploymentDiagram:
return new UmlDeploymentDiagram(id, name);
case anItemKind._aClassView:
return new UmlClassView(id, name);
case anItemKind._anUseCaseView:
return new UmlUseCaseView(id, name);
case anItemKind._aComponentView:
return new UmlComponentView(id, name);
case anItemKind._aDeploymentView:
return new UmlDeploymentView(id, name);
case anItemKind._aPackage:
return new UmlPackage(id, name);
case anItemKind._aState:
return new UmlState(id, name);
case anItemKind._aTransition:
return new UmlTransition(id, name);
case anItemKind._aRegion:
return new UmlRegion(id, name);
case anItemKind._aStateDiagram:
return new UmlStateDiagram(id, name);
case anItemKind._aStateAction:
return new UmlStateAction(id);
case anItemKind._anInitialPseudoState:
return new UmlInitialPseudoState(id);
case anItemKind._anEntryPointPseudoState:
return new UmlEntryPointPseudoState(id, name);
case anItemKind._aFinalState:
return new UmlFinalState(id);
case anItemKind._aTerminatePseudoState:
return new UmlTerminatePseudoState(id);
case anItemKind._anExitPointPseudoState:
return new UmlExitPointPseudoState(id, name);
case anItemKind._aDeepHistoryPseudoState:
return new UmlDeepHistoryPseudoState(id);
case anItemKind._aShallowHistoryPseudoState:
return new UmlShallowHistoryPseudoState(id);
case anItemKind._aJunctionPseudoState:
return new UmlJunctionPseudoState(id);
case anItemKind._aChoicePseudoState:
return new UmlChoicePseudoState(id);
case anItemKind._aForkPseudoState:
return new UmlForkPseudoState(id);
case anItemKind._aJoinPseudoState:
return new UmlJoinPseudoState(id);
case anItemKind._anObjectDiagram:
return new UmlObjectDiagram(id, name);
case anItemKind._anActivityDiagram:
return new UmlActivityDiagram(id, name);
case anItemKind._anActivity:
return new UmlActivity(id, name);
case anItemKind._aFlow:
return new UmlFlow(id, name);
case anItemKind._anActivityParameter:
return new UmlActivityParameter(id, name);
case anItemKind._aParameterSet:
return new UmlParameterSet(id, name);
case anItemKind._anExpansionRegion:
return new UmlExpansionRegion(id, name);
case anItemKind._anInterruptibleActivityRegion:
return new UmlInterruptibleActivityRegion(id, name);
case anItemKind._anOpaqueAction:
return new UmlOpaqueAction(id, name);
case anItemKind._anAcceptEventAction:
return new UmlAcceptEventAction(id, name);
case anItemKind._aReadVariableValueAction:
return new UmlReadVariableValueAction(id, name);
case anItemKind._aClearVariableValueAction:
return new UmlClearVariableValueAction(id, name);
case anItemKind._aWriteVariableValueAction:
return new UmlWriteVariableValueAction(id, name);
case anItemKind._anAddVariableValueAction:
return new UmlAddVariableValueAction(id, name);
case anItemKind._aRemoveVariableValueAction:
return new UmlRemoveVariableValueAction(id, name);
case anItemKind._aCallBehaviorAction:
return new UmlCallBehaviorAction(id, name);
case anItemKind._aCallOperationAction:
return new UmlCallOperationAction(id, name);
case anItemKind._aSendObjectAction:
return new UmlSendObjectAction(id, name);
case anItemKind._aSendSignalAction:
return new UmlSendSignalAction(id, name);
case anItemKind._aBroadcastSignalAction:
return new UmlBroadcastSignalAction(id, name);
case anItemKind._anUnmarshallAction:
return new UmlUnmarshallAction(id, name);
case anItemKind._aValueSpecificationAction:
return new UmlValueSpecificationAction(id, name);
case anItemKind._anActivityObject:
return new UmlActivityObject(id, name);
case anItemKind._anExpansionNode:
return new UmlExpansionNode(id, name);
case anItemKind._anActivityPin:
return new UmlActivityPin(id, name);
case anItemKind._anInitialActivityNode:
return new UmlInitialActivityNode(id, name);
case anItemKind._aFlowFinalActivityNode:
return new UmlFlowFinalActivityNode(id, name);
case anItemKind._anActivityFinalActivityNode:
return new UmlActivityFinalActivityNode(id, name);
case anItemKind._aDecisionActivityNode:
return new UmlDecisionActivityNode(id, name);
case anItemKind._aMergeActivityNode:
return new UmlMergeActivityNode(id, name);
case anItemKind._aForkActivityNode:
return new UmlForkActivityNode(id, name);
case anItemKind._aJoinActivityNode:
return new UmlJoinActivityNode(id, name);
case anItemKind._aPartition:
return new UmlActivityPartition(id, name);
case anItemKind._aClassInstance:
return new UmlClassInstance(id, name);
case anItemKind._anAcceptCallAction:
return new UmlAcceptCallAction(id, name);
case anItemKind._aReplyAction:
return new UmlReplyAction(id, name);
case anItemKind._aCreateObjectAction:
return new UmlCreateObjectAction(id, name);
case anItemKind._aDestroyObjectAction:
return new UmlDestroyObjectAction(id, name);
case anItemKind._aTestIdentityAction:
return new UmlTestIdentityAction(id, name);
case anItemKind._aRaiseExceptionAction:
return new UmlRaiseExceptionAction(id, name);
case anItemKind._aReduceAction:
return new UmlReduceAction(id, name);
default:
UmlCom.bye(-1);
UmlCom.fatal_error(new String("unknown item type ") + String.valueOf(kind));
}
}
return result;
!!!25856.cpp!!! UmlBaseItem(in id : item_id, in n : string)
_all.insert(id, (UmlItem *) this);
if (_all.count()/_all.size() > 10)
_all.resize(_all.size() * 2 - 1);
!!!25856.java!!! UmlBaseItem(in id : item_id, in n : string)
_defined = false;
_identifier = id;
_name = n;
_all.put(new Long(id), this);
!!!25984.cpp!!! ~UmlBaseItem()
if (_children != 0)
delete _children;
_all.remove(_identifier);
!!!25984.java!!! ~UmlBaseItem()
if (_children != 0)
delete _children;
_all.remove(_identifier);
|