/usr/lib/bouml/rose/7169.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 120 121 122 123 124 125 126 127 | class UmlDeploymentView
!!!128364.cpp!!! import(inout f : File) : void
QCString s;
for (;;) {
switch (f.read(s)) {
case -1:
f.eof();
throw 0;
case ')':
return;
case ATOM:
if (s == "ProcsNDevs") {
f.read("(");
f.read("list");
readObjects(f);
}
else
f.skipNextForm();
break;
default:
f.syntaxError(s);
}
}
!!!128492.cpp!!! readObjects(inout f : File) : void
for (;;) {
QCString s;
switch (f.read(s)) {
case ')':
return;
case '(':
break;
default:
f.syntaxError(s);
}
f.read("object");
if (f.read(s) != ATOM)
f.syntaxError(s, "an atom");
if ((s == "Processor") || (s == "Device"))
UmlNode::import(f, this, s.lower());
else if (s == "Process_Diagram")
UmlDeploymentDiagram::import(f, this);
else {
UmlCom::trace("<br>" + s + " in " + QCString(f.name()) + " NOT MANAGED by DeploymentView::readObject()");
f.skipBlock();
}
}
!!!130306.cpp!!! create(inout parent : UmlPackage, in s : str, in bn : string) : UmlDeploymentView
UmlDeploymentView * r = UmlBaseDeploymentView::create(parent, s);
if (r != 0)
r->_base_name = bn;
return r;
!!!128236.cpp!!! import(inout parent : UmlPackage, inout f : File) : void
QCString s;
QCString id;
QCString ste;
QCString doc;
QDict<QCString> prop;
int k;
for (;;) {
k = f.readDefinitionBeginning(s, id, ste, doc, prop);
if (s == "file_name") {
if (f.read(s) != STRING)
f.syntaxError(s, "a filename");
File f2(s, f.name());
if (! f2.open(IO_ReadOnly))
UmlCom::trace("<br>cannot open '" + s + "' referenced in "
+ QCString(f.name()));
else {
f2.read("(");
f2.read("object");
f2.read("Petal");
f2.skipBlock();
f2.read("(");
f2.read("object");
f2.read("Processes");
import(parent, f2);
}
f.skipBlock();
return;
}
else if (!id.isEmpty()) {
f.unread(k, s);
UmlDeploymentView * dv;
if (scanning) {
dv = UmlBaseDeploymentView::create(parent, "Deployment View");
if (dv != 0)
newItem(dv, id);
if (!ste.isEmpty())
dv->set_Stereotype(ste);
if (!doc.isEmpty())
dv->set_Description(doc);
dv->setProperties(prop);
}
else
dv = (UmlDeploymentView *) findItem(id, aDeploymentView);
if (dv == 0) {
UmlCom::trace("<br>cannot create deployment view in '" +
parent->fullName() + "'");
throw 0;
}
dv->import(f);
return;
}
else
f.skipNextForm();
}
|