/usr/lib/bouml/xmi2/148994.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 | class UmlMessage
!!!139268.cpp!!! write_connectors(inout out : FileOut, in diagram : UmlItem, in msgs : UmlMessage) : void
unsigned sup = msgs.size();
unsigned index;
QAsciiDict<char> connectors;
connectors.setAutoDelete(TRUE);
for (index = 0; index != sup; index += 1) {
UmlMessage * msg = msgs.at(index);
if ((msg->from() != 0) || (msg->to() != 0))
// lost or found
continue;
const char * k = msg->from()->connector(msg->to());
if (connectors.find(k) == 0) {
char * kk = new char[strlen(k) + 1];
strcpy(kk, k);
connectors.insert(kk, kk);
out.indent();
out << "<ownedConnector xmi:type=\"uml:Connector\"";
out.id_prefix(diagram, k);
out << ">\n";
static int endrank = 0;
out.indent();
out << "\t<end xmi:type=\"uml:ConnectorEnd\"";
out.id_prefix(diagram, "END", ++endrank);
out.ref(diagram, "role", msg->from()->attribute());
out << "/>\n";
out.indent();
out << "\t<end xmi:type=\"uml:ConnectorEnd\"";
out.id_prefix(diagram, "END", ++endrank);
out.ref(diagram, "role", msg->to()->attribute());
out << "/>\n";
out.indent();
out << "</ownedConnector>\n";
}
}
|