/usr/lib/bouml/xmi2/149634.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 | class UmlCollaborationMessage
!!!142980.cpp!!! write(inout out : FileOut, in diagram : UmlItem, in msgs : UmlCollaborationMessage, inout index : unsigned) : void
unsigned sup = msgs.size();
UmlPackage * prj = UmlPackage::getProject();
while (index != sup) {
const UmlCollaborationMessage * msg = msgs[index++];
QCString pfix = msg->hrank() + ".";
unsigned pfixlen = pfix.length();
#define MSG "MSG", msg->itsrank
#define SEND "MSGOCCSPECSEND", msg->itsrank
#define REC "MSGOCCSPECREC", msg->itsrank
#define BEH "BEHEXECSPEC", msg->itsrank
#define EXEC "EXECOCCSPEC", msg->itsrank
out.indent();
out << "<fragment xmi:type=\"uml:MessageOccurrenceSpecification\"";
out.id_prefix(diagram, SEND);
out.ref(diagram, "covered", msg->from()->lifeline());
out.ref(prj, "event",
(msg->operation() != 0) ? msg->operation()->event(FALSE)
: UmlOperation::event("SEND", msg->form()));
out.ref(diagram, "message", MSG);
out << "/>\n";
out.indent();
out << "<message xmi:type=\"uml:Message\"";
out.id_prefix(diagram, MSG);
out << " name=\"";
out.quote((msg->operation() != 0) ? msg->operation()->name()
: msg->form());
out << '"';
out.ref(diagram, "sendEvent", SEND);
out.ref(diagram, "receiveEvent", REC);
out.ref(diagram, "connector", msg->from()->connector(msg->to()));
out << "/>\n";
out.indent();
out << "<fragment xmi:type=\"uml:MessageOccurrenceSpecification\"";
out.id_prefix(diagram, REC);
out.ref(diagram, "covered", msg->to()->lifeline());
out.ref(prj, "event",
(msg->operation() != 0) ? msg->operation()->event(TRUE)
: UmlOperation::event("REC", msg->form()));
out.ref(diagram, "message", MSG);
out << "/>\n";
out.indent();
out << "<fragment xmi:type=\"uml:BehaviorExecutionSpecification\"";
out.id_prefix(diagram, BEH);
out.ref(diagram, "covered", msg->to()->lifeline());
out.ref(diagram, "start", REC);
out.ref(diagram, "finish", EXEC);
out << "/>\n";
if (index != sup) {
QCString pfix2 = msgs[index]->hrank() + ".";
if ((pfix2.length() > pfixlen) && !strncmp(pfix, pfix2, pfixlen))
write(out, diagram, msgs, index);
}
out.indent();
out << "<fragment xmi:type=\"uml:ExecutionOccurrenceSpecification\"";
out.id_prefix(diagram, EXEC);
out.ref(diagram, "covered", msg->to()->lifeline());
out.ref(prj, "event",
UmlOperation::event("EXEC",
(msg->operation() != 0) ? msg->operation()->name()
: msg->form()));
out.ref(diagram, "execution", BEH);
out << "/>\n";
}
|