/usr/lib/bouml/xmi2/134530.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 | class UmlFlow
!!!203394.cpp!!! write(inout out : FileOut) : void
out.indent();
out << "<outgoing";
out.idref(this);
out << "/>\n";
UmlItem * gp = parent()->parent();
FlowContainer * fc = dynamic_cast<FlowContainer *>(gp);
if (fc == 0)
// pin
fc = dynamic_cast<FlowContainer *>(gp->parent());
fc->memo_flow(this);
!!!200578.cpp!!! memo_incoming_flow() : void
target()->add_incoming_flow(this);
!!!200322.cpp!!! write_it(inout out : FileOut) : void
const char * k;
switch (parent()->parent()->kind()) {
case anActivity:
k = "edge";
break;
case anInterruptibleActivityRegion:
k = (stereotype() == "interrupt")
? "interruptingEdge" : "containedEdge";
break;
default:
// anExpansionRegion
k = "containedEdge";
}
out.indent();
out << '<' << k
<< ((is_control_flow()) ? " xmi:type=\"uml:ControlFlow\""
: " xmi:type=\"uml:ObjectFlow\"");
out.id(this);
if (!name().isEmpty() && (name() != "<flow>")) {
out << " name=\"";
out.quote(name());
out << '"';
}
out.ref(parent(), "source");
out.ref(target(), "target");
QCString w;
QCString g;
QCString s;
QCString t;
switch (_lang) {
case Uml:
w = weight();
g = guard();
s = selection();
t = transformation();
break;
case Cpp:
w = cppWeight();
g = cppGuard();
s = cppSelection();
t = cppTransformation();
break;
default:
// java
w = javaWeight();
g = javaGuard();
s = javaSelection();
t = javaTransformation();
}
write_selection(out, s);
if (! t.isEmpty())
out.ref(activity()->add_opaque_behavior(t, this, "OPAQUE_TRANS_BEHAVIOR_"),
"transformation", "OPAQUE_TRANS_BEHAVIOR_");
out << ">\n";
out.indent(+1);
write_description_properties(out);
if (! w.isEmpty()) {
out.indent();
out << "<weight xmi:type=\"uml:LiteralString\"";
out.id_prefix(this, "WEIGHT_");
out << " value=\"";
out.quote(w);
out << "\"/>\n";
}
if (! g.isEmpty()) {
out.indent();
out << "<guard xmi:type=\"uml:OpaqueExpression\"";
out.id_prefix(this, "GUARD_");
out << ">\n";
out.indent();
out << "\t<body>";
out.quote(g);
out << "</body>\n";
out.indent();
out << "</guard>\n";
}
out.indent(-1);
out.indent();
out << "</" << k << ">\n";
unload();
!!!203522.cpp!!! is_control_flow() : bool
if (_control_or_data == Unset)
((UmlActivityNode *) parent())->solve_output_flows(); // update _control_or_data
return (_control_or_data == IsControl);
!!!279171.cpp!!! set_control_or_data(in k : ControlOrData) : void
_control_or_data = k;
|