/usr/lib/bouml/FileControl/2048.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 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 | class UmlBaseArtifact
!!!14336.cpp!!! create(inout parent : UmlDeploymentView, in s : str) : UmlArtifact
return (UmlArtifact *) parent->create_(anArtifact, s);
!!!14336.java!!! create(inout parent : UmlDeploymentView, in s : str) : UmlArtifact
return (UmlArtifact) parent.create_(anItemKind.anArtifact, s);
!!!14464.cpp!!! kind() : anItemKind
return anArtifact;
!!!14464.java!!! kind() : anItemKind
return anItemKind.anArtifact;
!!!14592.cpp!!! associatedDiagram() : UmlDeploymentDiagram
read_if_needed_();
return _assoc_diagram;
!!!14592.java!!! associatedDiagram() : UmlDeploymentDiagram
read_if_needed_();
return _assoc_diagram;
!!!14720.cpp!!! set_AssociatedDiagram(inout d : UmlDeploymentDiagram) : bool
UmlCom::send_cmd(_identifier, setAssocDiagramCmd, ((UmlBaseItem *) d)->_identifier);
if (UmlCom::read_bool()) {
_assoc_diagram = d;
return TRUE;
}
else
return FALSE;
!!!14720.java!!! set_AssociatedDiagram(inout d : UmlDeploymentDiagram) : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.setAssocDiagramCmd, d.identifier_());
UmlCom.check();
_assoc_diagram = d;
!!!14848.cpp!!! associatedClasses() : UmlClass
read_if_needed_();
return _assoc_classes;
!!!14848.java!!! associatedClasses() : UmlClass
read_if_needed_();
return (UmlClass[]) _assoc_classes.clone();
!!!14976.cpp!!! addAssociatedClass(inout cl : UmlClass) : bool
UmlCom::send_cmd(_identifier, addAssocClassCmd,
((UmlBaseClass *) cl)->_identifier);
if (UmlCom::read_bool()) {
if (_defined) {
_assoc_classes.resize(_assoc_classes.size() + 1);
_assoc_classes.insert(_assoc_classes.size() - 1, cl);
}
return TRUE;
}
else
return FALSE;
!!!14976.java!!! addAssociatedClass(inout cl : UmlClass) : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.addAssocClassCmd, cl.identifier_());
UmlCom.check();
if (defined_()) {
// code compatible with old Java versions
int n = _assoc_classes.length;
UmlClass[] a = new UmlClass[n + 1];
a[n] = cl;
while (n-- != 0)
a[n] = _assoc_classes[n];
_assoc_classes = a;
}
!!!15104.cpp!!! removeAssociatedClass(inout cl : UmlClass) : bool
UmlCom::send_cmd(_identifier, removeAssocClassCmd,
((UmlBaseClass *) cl)->_identifier);
if (UmlCom::read_bool()) {
if (_defined) {
unsigned index = (unsigned) _assoc_classes.findRef(cl);
if (((int) index) == -1)
// theo impossible
return FALSE;
unsigned last = _assoc_classes.size() - 1;
if (index != last)
_assoc_classes.insert(index, _assoc_classes[last]);
_assoc_classes.resize(last);
}
return TRUE;
}
else
return FALSE;
!!!15104.java!!! removeAssociatedClass(inout cl : UmlClass) : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.removeAssocClassCmd, cl.identifier_());
UmlCom.check();
if (defined_()) {
// code compatible with old Java versions
int n = _assoc_classes.length;
UmlClass[] a = new UmlClass[n - 1];
int i;
for (i = 0; _assoc_classes[i] != cl; i += 1)
a[i] = _assoc_classes[i];
while (++i != n)
a[i - 1] = _assoc_classes[i];
_assoc_classes = a;
}
!!!15232.cpp!!! set_AssociatedClasses(inout l : UmlClass) : bool
UmlCom::send_cmd(_identifier, setAssocClassesCmd, l);
if (UmlCom::read_bool()) {
if (_defined)
_assoc_classes = l;
return TRUE;
}
else
return FALSE;
!!!15232.java!!! set_AssociatedClasses(inout l : UmlClass) : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.setAssocClassesCmd, l);
UmlCom.check();
_assoc_classes = (UmlClass[]) l.clone();
!!!15360.cpp!!! associatedArtifacts() : UmlArtifact
read_if_needed_();
return _associated;
!!!15360.java!!! associatedArtifacts() : UmlArtifact
read_if_needed_();
return (UmlArtifact[]) _associated.clone();
!!!15488.cpp!!! addAssociatedArtifact(in cp : UmlArtifact) : bool
UmlCom::send_cmd(_identifier, addAssocArtifactCmd,
((UmlBaseArtifact *) cp)->_identifier);
if (UmlCom::read_bool()) {
if (_defined) {
_associated.resize(_associated.size() + 1);
_associated.insert(_associated.size() - 1, cp);
}
return TRUE;
}
else
return FALSE;
!!!15488.java!!! addAssociatedArtifact(in cp : UmlArtifact) : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.addAssocArtifactCmd, cp.identifier_());
UmlCom.check();
if (defined_()) {
// code compatible with old Java versions
int n = _associated.length;
UmlArtifact[] a = new UmlArtifact[n + 1];
a[n] = cp;
while (n-- != 0)
a[n] = _associated[n];
_associated = a;
}
!!!15616.cpp!!! removeAssociatedArtifact(in cp : UmlArtifact) : bool
UmlCom::send_cmd(_identifier, removeAssocArtifactCmd,
((UmlBaseArtifact *) cp)->_identifier);
if (UmlCom::read_bool()) {
if (_defined) {
unsigned index = (unsigned) _associated.findRef(cp);
if (((int) index) == -1)
// theo impossible
return FALSE;
unsigned last = _associated.size() - 1;
if (index != last)
_associated.insert(index, _associated[last]);
_associated.resize(last);
}
return TRUE;
}
else
return FALSE;
!!!15616.java!!! removeAssociatedArtifact(in cp : UmlArtifact) : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.removeAssocArtifactCmd, cp.identifier_());
UmlCom.check();
if (defined_()) {
// code compatible with old Java versions
int n = _associated.length;
UmlArtifact[] a = new UmlArtifact[n - 1];
int i;
for (i = 0; _associated[i] != cp; i += 1)
a[i] = _associated[i];
while (++i != n)
a[i - 1] = _associated[i];
_associated = a;
}
!!!15744.cpp!!! removeAllAssociatedArtifacts() : bool
UmlCom::send_cmd(_identifier, removeAllAssocArtifactsCmd);
if (UmlCom::read_bool()) {
_associated.clear();
return TRUE;
}
else
return FALSE;
!!!15744.java!!! removeAllAssociatedArtifacts() : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.removeAllAssocArtifactsCmd);
UmlCom.check();
_associated = new UmlArtifact[0];
!!!15872.cpp!!! cppHeader() : string
read_if_needed_();
return _cpp_h;
!!!15872.java!!! cppHeader() : string
read_if_needed_();
return _cpp_h;
!!!16000.cpp!!! set_CppHeader(in s : string) : bool
return set_it_(_cpp_h, s, setCppHCmd);
!!!16000.java!!! set_CppHeader(in s : string) : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.setCppHCmd, s);
UmlCom.check();
_cpp_h = s;
!!!16128.cpp!!! cppSource() : string
read_if_needed_();
return _cpp_src;
!!!16128.java!!! cppSource() : string
read_if_needed_();
return _cpp_src;
!!!16256.cpp!!! set_CppSource(in s : string) : bool
return set_it_(_cpp_src, s, setCppSrcCmd);
!!!16256.java!!! set_CppSource(in s : string) : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.setCppSrcCmd, s);
UmlCom.check();
_cpp_src = s;
!!!16384.cpp!!! javaSource() : string
read_if_needed_();
return _java_src;
!!!16384.java!!! javaSource() : string
read_if_needed_();
return _java_src;
!!!16512.cpp!!! set_JavaSource(in s : string) : bool
return set_it_(_java_src, s, setJavaSrcCmd);
!!!16512.java!!! set_JavaSource(in s : string) : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.setJavaSrcCmd, s);
UmlCom.check();
_java_src = s;
!!!16640.cpp!!! idlSource() : string
read_if_needed_();
return _idl_src;
!!!16640.java!!! idlSource() : string
read_if_needed_();
return _idl_src;
!!!16768.cpp!!! set_IdlSource(in s : string) : bool
return set_it_(_idl_src, s, setIdlSrcCmd);
!!!16768.java!!! set_IdlSource(in s : string) : bool
UmlCom.send_cmd(identifier_(), OnInstanceCmd.setIdlSrcCmd, s);
UmlCom.check();
_idl_src = s;
!!!16896.cpp!!! unload(in rec : bool, in del : bool) : void
_assoc_classes.clear();
_associated.clear();
#ifdef WITHCPP
_cpp_h = 0;
_cpp_src = 0;
#endif
#ifdef WITHJAVA
_java_src = 0;
#endif
#ifdef WITHIDL
_idl_src = 0;
#endif
UmlBaseItem::unload(rec, del);
!!!16896.java!!! unload(in rec : bool, in del : bool) : void
_assoc_classes = null;
_associated = null;
_cpp_h = null;
_cpp_src = null;
_java_src = null;
_idl_src = null;
super.unload(rec, del);
!!!17024.cpp!!! read_uml_() : void
_assoc_diagram = (UmlDeploymentDiagram *) UmlBaseItem::read_();
UmlBaseItem::read_uml_();
unsigned n;
unsigned index;
n = UmlCom::read_unsigned();
_assoc_classes.resize(n);
for (index = 0; index != n; index += 1)
_assoc_classes.insert(index, (UmlClass *) UmlBaseItem::read_());
n = UmlCom::read_unsigned();
_associated.resize(n);
for (index = 0; index != n; index += 1)
_associated.insert(index, (UmlArtifact *) UmlBaseItem::read_());
!!!17024.java!!! read_uml_() : void
_assoc_diagram = (UmlDeploymentDiagram) UmlBaseItem.read_();
super.read_uml_();
int n;
int index;
n = UmlCom.read_unsigned();
_assoc_classes = new UmlClass[n];
for (index = 0; index != n; index += 1)
_assoc_classes[index] = (UmlClass) UmlBaseItem.read_();
n = UmlCom.read_unsigned();
_associated = new UmlArtifact[n];
for (index = 0; index != n; index += 1)
_associated[index] = (UmlArtifact) UmlBaseItem.read_();
!!!17152.cpp!!! read_cpp_() : void
_cpp_h = UmlCom::read_string();
_cpp_src = UmlCom::read_string();
!!!17152.java!!! read_cpp_() : void
_cpp_h = UmlCom.read_string();
_cpp_src = UmlCom.read_string();
!!!17280.cpp!!! read_java_() : void
_java_src = UmlCom::read_string();
!!!17280.java!!! read_java_() : void
_java_src = UmlCom.read_string();
!!!17408.cpp!!! read_idl_() : void
_idl_src = UmlCom::read_string();
!!!17408.java!!! read_idl_() : void
_idl_src = UmlCom.read_string();
!!!17536.cpp!!! UmlBaseArtifact(in id : item_id, in n : string)
_assoc_diagram = 0;
|