/usr/lib/bouml/rose/6401.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 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 | class UmlClassView
!!!73089.cpp!!! UmlClassView(in id : item_id, in n : string)
ucv = 0;
cpt[kind()] += 1;
!!!131073.cpp!!! import(inout parent : UmlPackage, inout f : File) : void
QCString s;
if (f.read(s) != STRING)
f.syntaxError(s, " class view's name expected");
QCString a;
QCString id;
QCString ste;
QCString doc;
QDict<QCString> prop;
for (;;) {
int k = f.readDefinitionBeginning(a, id, ste, doc, prop);
if (k != ATOM)
f.syntaxError(a);
if (a == "file_name") {
if (f.read(a) != STRING)
f.syntaxError(a, "a filename");
File f2(a, f.name());
if (! f2.open(IO_ReadOnly))
UmlCom::trace("<br>cannot open '" + a + "' referenced in "
+ QCString(f.name()));
else {
f2.read("(");
f2.read("object");
f2.read("Petal");
f2.skipBlock();
f2.read("(");
f2.read("object");
f2.read("Class_Category");
import(parent, f2);
}
f.skipBlock();
return;
}
else if (!id.isEmpty()) {
f.unread(k, a);
UmlClassView * clv;
if (scanning) {
UmlPackage * pack = UmlBasePackage::create(parent, s);
clv = UmlBaseClassView::create(pack, s);
if (clv != 0)
newItem(clv, id);
if (!ste.isEmpty()) {
if (ste == "CORBAModule")
pack->set_IdlModule(s);
else
clv->set_Stereotype(ste);
}
if (!doc.isEmpty())
clv->set_Description(doc);
QCString * nmsp;
if ((nmsp = prop.find("Cplusplus/IsNamespace")) != 0) {
if (*nmsp == "TRUE")
pack->set_CppNamespace(s);
prop.remove("Cplusplus/IsNamespace");
}
clv->setProperties(prop);
}
else
clv = (UmlClassView *) findItem(id, aClassView);
if (clv == 0) {
UmlCom::trace("<br>cannot create class view named '" +
s + "' in '" + parent->fullName() + "'");
throw 0;
}
clv->import(f);
return;
}
else
f.skipNextForm();
}
!!!131201.cpp!!! import(inout f : File) : void
for (;;) {
QCString s;
switch (f.read(s)) {
case -1:
f.eof();
throw 0;
case ')':
return;
case ATOM:
if ((s == "logical_models") ||
(s == "logical_presentations")) {
f.read("(");
f.read("list");
f.read("unit_reference_list");
readObjects(f);
}
else
f.skipNextForm();
break;
default:
f.syntaxError(s);
}
}
!!!131329.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 == "Class") || (s == "Metaclass") ||
(s == "Instantiated_Class") || (s == "Parameterized_Class"))
UmlClass::import(f, this, s);
else if (s == "Association")
UmlRelation::import(f);
else if (s == "UseCase")
UmlUseCase::import(f, useCaseView());
else if (s == "UseCaseDiagram")
UmlUseCaseDiagram::import(f, useCaseView());
else if (s == "ObjectDiagram")
UmlCollaborationDiagram::import(f, this);
else if (s == "InteractionDiagram")
UmlSequenceDiagram::import(f, this);
else if (s == "ClassDiagram")
UmlClassDiagram::import(f, this);
else if (s == "Class_Category")
UmlClassView::import((UmlPackage *) parent(), f);
else if (s == "logical_presentations") {
f.read("(");
f.read("list");
f.read("unit_reference_list");
readObjects(f);
}
else {
if (s != "Mechanism")
UmlCom::trace("<br>" + s + " in " + QCString(f.name()) + " NOT MANAGED by ClassView::readObject()");
f.skipBlock();
}
}
!!!131969.cpp!!! useCaseView() : UmlUseCaseView
if ((ucv == 0) &&
((ucv = UmlBaseUseCaseView::create(parent(), name())) == 0)) {
UmlCom::trace("<br>cannot create use case view named '" +
name() + "' in '" + parent()->fullName() + "'");
throw 0;
}
return ucv;
|