/usr/lib/bouml/xmi2import/143490.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 | class Token
!!!190850.cpp!!! read(inout in : FileIn, in any : bool) : void
_couples.clear();
const char * k;
BooL str;
// bypass comment
for (;;) {
k = in.readWord(any, str);
if (str || (*k != '<')) {
if (any)
continue;
else
in.error("'<...' expected");
}
k = in.readWord(any, str);
if (str || (*k != '!'))
break;
int minus = 0;
for (;;) {
char c = *in.readWord(TRUE, str);
if (! str) {
if (c == '-')
minus += 1;
else if ((c == '>') && (minus == 2))
break;
else
minus = 0;
}
}
}
char last;
// note : k is not a string
if (*k == '?') {
last = '?';
k = in.readWord(any, str);
}
else
last = '/';
if (!str && (*k == '/')) {
_close = TRUE;
k = in.readWord(any, str);
}
else
_close = FALSE;
if (str)
in.error("syntax error \"" + QCString(k) + "\" unexpected");
_what = k;
while (k = in.readWord(any, str), str || (*k != '>')) {
if (!str && (*k == last)) {
k = in.readWord(any, str);
if (str || (*k != '>'))
in.error("syntax error near '" + QCString(k) + "'>' expected");
_closed = TRUE;
return;
}
if (str) {
if (!any)
in.error("syntax error near '" + QCString(k) + "'");
}
else {
Couple cpl;
cpl.key = k;
if (!any || !strcmp(k, "xmi:id")) {
if (!any && !valueOf(k).isNull())
in.error("'" + cpl.key + "' duplicated");
if ((*in.readWord(FALSE, str) != '=') || str) {
if (! any)
in.error("syntax error near '" + QCString(k) + "', '=' expected");
}
else {
cpl.value = in.readWord(FALSE, str);
if (str)
_couples.append(cpl);
else if (! any)
in.error("syntax error after '='");
}
}
}
}
_closed = FALSE;
!!!189186.cpp!!! what() : string
return _what;
!!!189570.cpp!!! xmiType() : string
return valueOf("xmi:type");
!!!189698.cpp!!! xmiId() : string
return valueOf("xmi:id");
!!!205186.cpp!!! xmiIdref() : string
return valueOf("xmi:idref");
!!!189314.cpp!!! close() : bool
return _close;
!!!191234.cpp!!! close(in what : str) : bool
return _close && (_what == what);
!!!189442.cpp!!! closed() : bool
return _closed;
!!!189826.cpp!!! valueOf(in key : string) : string
QValueList<Couple>::ConstIterator iter;
for (iter = _couples.begin(); iter != _couples.end(); ++iter)
if ((*iter).key == key)
return (*iter).value;
static QCString null;
return null;
!!!254594.cpp!!! valueOf(in key : string, inout v : string) : bool
QValueList<Couple>::ConstIterator iter;
for (iter = _couples.begin(); iter != _couples.end(); ++iter) {
if ((*iter).key == key) {
v = (*iter).value;
return TRUE;
}
}
return FALSE;
|