/usr/lib/bouml/rose/8321.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 | class UmlUseCase
!!!132737.cpp!!! item() : UmlItem
return this;
!!!128145.cpp!!! readObject(inout f : File, in s : string) : void
if (!UmlItem::scanning &&
((s == "superclasses") || (s == "visible_modules"))) {
f.read("(");
f.read("list");
if (f.read(s) != ATOM)
f.syntaxError(s, "an atom");
for (;;) {
switch (f.read(s)) {
case ')':
return;
case '(':
break;
default:
f.syntaxError(s);
}
f.read("object");
if (f.read(s) != ATOM)
f.syntaxError(s, "an atom");
aRelationKind rk;
if (s == "Dependency_Relationship")
rk = aDependency;
else if (s == "Inheritance_Relationship")
rk = aGeneralisation;
else {
f.skipBlock();
continue;
}
// dependency or generalisation
QCString id;
QCString ste;
QCString doc;
QDict<QCString> prop;
QCString s2;
int k;
do {
k = f.readDefinitionBeginning(s2, id, ste, doc, prop);
} while (id.isEmpty());
for (;;) {
if (k == ATOM) {
if (s2 == "quidu")
break;
f.skipNextForm();
k = f.read(s2);
}
else
f.syntaxError(s2);
}
if (f.read(s2) != STRING)
f.syntaxError(s2, "quidu value");
UmlUseCase * target = (UmlUseCase *) findItem(s2, anUseCase);
if (target != 0) {
UmlNcRelation * r = UmlNcRelation::create(rk, this, target);
if (r == 0) {
UmlCom::trace(((rk == aDependency)
? "<br>cannot create dependency from '"
: "<br>cannot create generalisation from '") +
fullName() + "' to '" + target->fullName() + "'");
throw 0;
}
newItem(r, id);
if (!doc.isEmpty())
r->set_Description(doc);
r->setProperties(prop);
}
f.skipBlock();
}
}
else
f.skipNextForm();
!!!129281.cpp!!! import(inout f : File, inout parent : UmlItem) : void
QCString s;
if (f.read(s) != STRING)
f.syntaxError(s, "use case's name");
QCString id;
QCString ste;
QCString doc;
QDict<QCString> prop;
QCString s2;
int k;
do {
k = f.readDefinitionBeginning(s2, id, ste, doc, prop);
} while (id.isEmpty());
UmlUseCase * x;
if (UmlItem::scanning) {
if ((x = UmlBaseUseCase::create(parent, s)) == 0) {
UmlCom::trace("<br>cannot create use case '" + s + "' in " +
parent->fullName());
throw 0;
}
newItem(x, id);
if (!doc.isEmpty())
x->set_Description(doc);
x->setProperties(prop);
}
else if ((x = (UmlUseCase *) findItem(id, anUseCase)) == 0) {
UmlCom::trace("<br>unknown use case '" + s + "' in " +
parent->fullName());
throw 0;
}
f.unread(k, s2);
x->Uc::import(f);
|