/usr/lib/bouml/xmi2import/142978.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 | class UmlActivityParameter
!!!206722.cpp!!! readParameter(inout in : FileIn, inout token : Token) : void
QCString s;
s = token.valueOf("direction");
if ((s == "in") || (s == "pk_in"))
set_Direction(InputDirection);
else if ((s == "out") || (s == "pk_out"))
set_Direction(OutputDirection);
else if ((s == "inout") || (s == "pk_inout"))
set_Direction(InputOutputDirection);
else if ((s == "return") || (s == "pk_return"))
set_Direction(ReturnDirection);
else if (! s.isEmpty())
in.warning("wrong direction");
if (!(s = token.valueOf("effect")).isEmpty())
setEffect(s, in);
if (token.valueOf("isunique") == "true")
set_IsUnique(TRUE);
if (token.valueOf("isexception") == "true")
set_IsException(TRUE);
if (token.valueOf("isstream") == "true")
set_IsStream(TRUE);
if (!(s = token.valueOf("type")).isEmpty())
setType(s);
if (!token.closed()) {
QCString k = token.what();
const char * kstr = k;
while (in.read(), !token.close(kstr)) {
s = token.what();
if (s == "type") {
setType(token);
if (! token.closed())
in.finish(s);
}
else if (s == "lowervalue")
importMultiplicity(in, token, FALSE);
else if (s == "uppervalue")
importMultiplicity(in, token, TRUE);
else if (s == "defaultvalue") {
set_DefaultValue(token.valueOf("value"));
if (! token.closed())
in.finish(s);
}
else if (s == "upperbound") {
if (! token.closed())
in.finish(s);
}
else
UmlItem::import(in, token);
}
}
!!!206850.cpp!!! readParameterNode(inout in : FileIn, inout token : Token) : void
QCString s;
if (token.valueOf("iscontroltype") == "true")
set_IsControlType(TRUE);
if (!(s = token.valueOf("ordering")).isEmpty())
setOrdering(s, in);
if (!(s = token.valueOf("instate")).isEmpty())
setInState(s);
if (!(s = token.valueOf("selection")).isEmpty())
setSelection(s);
if (!(s = token.valueOf("type")).isEmpty())
setType(s);
if (!token.closed()) {
QCString k = token.what();
const char * kstr = k;
while (in.read(), !token.close(kstr)) {
s = token.what();
if (s == "selection") {
setSelection(token.xmiIdref());
if (! token.closed())
in.finish(s);
}
else if (s == "instate") {
setInState(token.xmiIdref());
if (! token.closed())
in.finish(s);
}
else if (s == "type") {
setType(token);
if (! token.closed())
in.finish(s);
}
else
UmlItem::import(in, token);
}
}
!!!207490.cpp!!! setEffect(in s : string, inout in : FileIn) : void
if (s == "create")
set_Effect(createEffect);
else if (s == "read")
set_Effect(readEffect);
else if (s == "update")
set_Effect(updateEffect);
else if (s == "delete")
set_Effect(deleteEffect);
else
in.warning("illegal effect '" + s + "'");
|