/usr/lib/bouml/xmi2/129026.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 | class UmlTransition
!!!197762.cpp!!! memo_incoming_trans() : void
(dynamic_cast<UmlStateItem *>(target()))->add_incoming_trans(this);
!!!198018.cpp!!! write(inout out : FileOut) : void
UmlStateItem * x = dynamic_cast<UmlStateItem *>(parent()->parent());
if (x == 0)
x = dynamic_cast<UmlStateItem *>(parent());
x->memo_trans(this);
out.indent();
out << "<outgoing";
out.idref(this);
out << "/>\n";
!!!198274.cpp!!! write_it(inout out : FileOut) : void
out.indent();
out << "<transition xmi:type=\"uml:Transition\"";
out.id(this);
if (!name().isEmpty() && (name() != "<transition>")) {
out << " name=\"";
out.quote(name());
out << '"';
}
out.ref(parent(), "source");
out.ref(target(), "target");
if (parent() == target())
out << " kind=\"" << ((isExternal()) ? "external" : "internal") << '"';
out << ">\n";
out.indent(+1);
write_description_properties(out);
QCString trig;
QCString grd;
QCString effect;
switch (_lang) {
case Uml:
trig = trigger();
grd = guard();
effect = activity();
break;
case Cpp:
trig = cppTrigger();
grd = cppGuard();
effect = cppActivity();
break;
default: // Java
trig = javaTrigger();
grd = javaGuard();
effect = javaActivity();
break;
}
if (! trig.isEmpty()) {
out.indent();
out << "<trigger xmi:type=\"uml:Trigger\"";
out.id_prefix(this, "TRIGGER_");
out << " name=\"";
out.quote(trig);
out << "\"/>\n";
}
if (! grd.isEmpty()) {
out.indent();
out << "<guard xmi:type=\"uml:Constraint\"";
out.id_prefix(this, "GUARD_");
out << ">\n";
out.indent();
out << "\t<specification xmi:type=\"uml:OpaqueExpression\"";
out.id_prefix(this, "GUARD_EXPR_");
out << ">\n";
out.indent();
out << "\t\t<body>";
out.quote(grd);
out << "</body>\n";
out.indent();
out << "\t</specification>\n";
out.indent();
out << "</guard>\n";
}
if (! effect.isEmpty()) {
out.indent();
out << "<effect xmi:type=\"uml:Activity\"";
out.id_prefix(this, "EFFECT_");
out << ">\n";
out.indent();
out << "\t<body>";
out.quote(effect);
out << "</body>\n";
out.indent();
out << "</effect>\n";
}
out.indent(-1);
out.indent();
out << "</transition>\n";
unload();
!!!199298.cpp!!! write_in(inout out : FileOut) : void
out.indent();
out << "<incoming";
out.idref(this);
out << "/>\n";
|