/usr/lib/bouml/xmi2/128002.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 | class UmlComponent
!!!195586.cpp!!! write(inout out : FileOut) : void
const char * k = (parent()->kind() == anUseCase)
? "ownedUseCase"
: ((_uml_20) ? "ownedMember" : "packagedElement");
out.indent();
out << "<" << k << " xmi:type=\"uml:Component\"";
out.id(this);
out << " name=\"";
out.quote(name());
out << "\">\n";
out.indent(+1);
write_description_properties(out);
const QVector<UmlItem> ch = children();
unsigned n = ch.size();
unsigned index;
for (index = 0; index != n; index += 1)
ch[index]->write(out);
// provided
const QVector< UmlClass > & prov = providedClasses();
n = prov.size();
for (index = 0; index != n; index += 1) {
UmlClass * cl = prov[index];
out.indent();
out << "<interfaceRealization xmi:type=\"uml:InterfaceRealization\"";
out.id_prefix(this, "PROV_", index);
out.ref(cl, "supplier");
out.ref(this, "client");
out.ref(cl, "contract");
out << "/>\n";
}
// realizing
const QVector< UmlClass > & rea = realizingClasses();
n = rea.size();
for (index = 0; index != n; index += 1) {
UmlClass * cl = rea[index];
out.indent();
out << "<realization xmi:type=\"uml:ComponentRealization\"";
out.id_prefix(this, "REA_", index);
out.ref(cl, "supplier");
out.ref(this, "client");
out.ref(cl, "realizingClassifier");
out << "/>\n";
}
out.indent(-1);
out.indent();
out << "</" << k << ">\n";
// required
const QVector< UmlClass > & req = requiredClasses();
n = req.size();
for (index = 0; index != n; index += 1) {
UmlClass * cl = req[index];
out.indent();
out << "<" << k << " xmi:type=\"uml:Usage\"";
out.id_prefix(this, "REQ_", index);
out.ref(cl, "supplier");
out.ref(this, "client");
out << "/>\n";
}
unload();
|