/usr/lib/bouml/xmi2import/8193.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 | class UmlArtifact
!!!245762.cpp!!! solveManifestation(in s : string, in idref : string) : void
QMap<QCString, UmlItem *>::Iterator it = All.find(idref);
if (it == All.end()) {
if (!FileIn::isBypassedId(idref))
UmlCom::trace("manifestation : unknown utilized element reference '" + idref + "'<br>");
return;
}
UmlItem * target = *it;
if (!FromBouml || (s != "dependency")) {
switch (target->kind()) {
case aClass:
if (s != "source")
break;
else if (stereotype().isEmpty())
set_Stereotype("source");
else if (stereotype() != "source")
break;
addAssociatedClass((UmlClass *) target);
return;
case anArtifact:
if (!FromBouml)
break;
addAssociatedArtifact((UmlArtifact *) target);
return;
default:
break;
}
}
UmlNcRelation * rel = UmlNcRelation::create(aDependency, this, target);
if (rel == 0)
UmlCom::trace("cannot create manifestation from '" + name() +
"' to '" + target->name() + "'");
else
rel->set_Stereotype("manifest");
!!!192514.cpp!!! init() : void
declareFct("ownedmember", "uml:Artifact", &importIt);
declareFct("packagedelement", "uml:Artifact", &importIt);
!!!196482.cpp!!! importIt(inout in : FileIn, inout token : Token, inout where : UmlItem) : void
where = where->container(anArtifact, token, in);
if (where == 0)
return;
QCString s = token.valueOf("name");
if (s.isEmpty()) {
static unsigned n = 0;
s.sprintf("anonymous_artifact_%u", ++n);
}
UmlArtifact * artifact = create((UmlDeploymentView *) where, s);
if (artifact == 0)
in.error("cannot create artifact '" + s +
"' in '" + where->name() + "'");
artifact->addItem(token.xmiId(), in);
if (! token.closed()) {
QCString k = token.what();
const char * kstr = k;
while (in.read(), !token.close(kstr)) {
if (token.what() == "manifestation")
Manifestation::import(in, token, artifact);
else
artifact->UmlItem::import(in, token);
}
}
artifact->unload(TRUE, FALSE);
|