/usr/lib/bouml/xmi2import/133250.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 | class UmlActivity
!!!199042.cpp!!! container(in kind : anItemKind, in token : Token, inout in : FileIn) : UmlItem
switch (kind) {
case anExpansionRegion:
case anInterruptibleActivityRegion:
case aPartition:
case anOpaqueAction:
case anAcceptEventAction:
case aReadVariableValueAction:
case aClearVariableValueAction:
case aWriteVariableValueAction:
case anAddVariableValueAction:
case aRemoveVariableValueAction:
case aCallBehaviorAction:
case aCallOperationAction:
case aSendObjectAction:
case aSendSignalAction:
case aBroadcastSignalAction:
case anUnmarshallAction:
case aValueSpecificationAction:
case anAcceptCallAction:
case aReplyAction:
case aCreateObjectAction:
case aDestroyObjectAction:
case aTestIdentityAction:
case aRaiseExceptionAction:
case aReduceAction:
case anActivityObject:
case anInitialActivityNode:
case aFlowFinalActivityNode:
case anActivityFinalActivityNode:
case aDecisionActivityNode:
case aMergeActivityNode:
case aForkActivityNode:
case aJoinActivityNode:
return this;
default:
return parent()->container(kind, token, in);
}
!!!306819.cpp!!! solve(in idref : string) : void
QMap<QCString, UmlItem *>::Iterator it = All.find(idref);
if (it == All.end()) {
if (!FileIn::isBypassedId(idref))
UmlCom::trace("state : unknown operation reference '" + idref + "'<br>");
}
else if ((*it)->kind() == anOperation)
set_Specification((UmlOperation *) *it);
!!!192130.cpp!!! init() : void
declareFct("ownedmember", "uml:Activity", &importIt);
declareFct("packagedelement", "uml:Activity", &importIt);
UmlExpansionRegion::init();
UmlInterruptibleActivityRegion::init();
UmlActivityPartition::init();
UmlOpaqueAction::init();
UmlAcceptEventAction::init();
UmlReadVariableValueAction::init();
UmlClearVariableValueAction::init();
UmlWriteVariableValueAction::init();
UmlAddVariableValueAction::init();
UmlRemoveVariableValueAction::init();
UmlCallBehaviorAction::init();
UmlCallOperationAction::init();
UmlSendObjectAction::init();
UmlSendSignalAction::init();
UmlBroadcastSignalAction::init();
UmlUnmarshallAction::init();
UmlValueSpecificationAction::init();
UmlAcceptCallAction::init();
UmlReplyAction::init();
UmlCreateObjectAction::init();
UmlDestroyObjectAction::init();
UmlTestIdentityAction::init();
UmlRaiseExceptionAction::init();
UmlReduceAction::init();
UmlActivityControlNode::init();
UmlFlow::init();
!!!198274.cpp!!! importIt(inout in : FileIn, inout token : Token, inout where : UmlItem) : void
where = where->container(anActivity, token, in);
if (where != 0) {
QCString s = token.valueOf("name");
if (s.isEmpty()) {
static unsigned n = 0;
s.sprintf("anonymous_activity_%u", ++n);
}
UmlActivity * a = create((UmlClassView *) where, s);
if (a == 0)
in.error("cannot create activity '"
+ s + "' in '" + where->name() + "'");
a->addItem(token.xmiId(), in);
if (token.valueOf("isreadonly") == "true")
a->set_isReadOnly(TRUE);
if (token.valueOf("issingleexecution") == "true")
a->set_isSingleExecution(TRUE);
if (token.valueOf("isactive") == "true")
a->set_isActive(TRUE);
QCString spec = token.valueOf("specification");
if (! token.closed()) {
QCString k = token.what();
const char * kstr = k;
while (in.read(), !token.close(kstr)) {
s = token.what();
if ((s == "precondition") || (s == "postcondition") ||
(s == "localprecondition") || (s == "localpostcondition"))
a->readCondition(in, token);
else if (s == "ownedparameter")
a->readParameter(in, token);
else if ((s == "node") &&
(token.xmiType() == "uml:ActivityParameterNode"))
a->readParameterNode(in, token);
else if (s == "specification") {
spec = token.xmiIdref();
if (! token.closed())
in.finish(s);
}
else if (s == "ownedrule")
a->set_Constraint(UmlItem::readConstraint(in, token));
else
a->UmlItem::import(in, token);
}
}
if (! spec.isEmpty()) {
QMap<QCString, UmlItem *>::Iterator it = All.find(spec);
if (it == All.end())
Unresolved::addRef(a, spec);
else if ((*it)->kind() == anOperation)
a->set_Specification((UmlOperation *) *it);
}
a->unload(TRUE, FALSE);
}
!!!198402.cpp!!! readCondition(inout in : FileIn, inout token : Token) : void
if (! token.closed()) {
QCString k = token.what();
const char * kstr = k;
while (in.read(), !token.close(kstr)) {
QCString s = token.what();
if (s == "specification") {
QCString v = token.valueOf("body");
if (v.isNull())
v = token.valueOf("value"); // UMODEL
if (! v.isEmpty()) {
if (k[1] == 'r')
set_PreCondition(v);
else
set_PostCondition(v);
}
}
if (! token.closed())
in.finish(s);
}
}
!!!207234.cpp!!! readParameter(inout in : FileIn, inout token : Token) : void
// the parameter may already exist because of a
// ActivityParameterNode definition, search for it
UmlActivityParameter * param = 0;
QCString s = token.valueOf("name");
const QVector<UmlItem> ch = children();
unsigned int n = ch.size();
int i;
for (i = 0; i != (int) n; i += 1) {
UmlActivityParameter * p = dynamic_cast<UmlActivityParameter *>(ch[i]);
if ((p != 0) && (p->name() == s)) {
param = p;
break;
}
}
if (param == 0) {
param = UmlActivityParameter::create(this, s);
if (param == 0)
in.error("cannot create activity parameter '"
+ s + "' in '" + name() + "'");
param->addItem(token.xmiId(), in);
}
param->readParameter(in, token);
!!!207106.cpp!!! readParameterNode(inout in : FileIn, inout token : Token) : void
// the parameter node may already exist because of a
// ActivityParameter definition, search for it
UmlActivityParameter * param = 0;
QCString s = token.valueOf("name");
const QVector<UmlItem> ch = children();
unsigned int n = ch.size();
int i;
for (i = 0; i != (int) n; i += 1) {
UmlActivityParameter * p = dynamic_cast<UmlActivityParameter *>(ch[i]);
if ((p != 0) && (p->name() == s)) {
param = p;
break;
}
}
if (param == 0) {
param = UmlActivityParameter::create(this, s);
if (param == 0)
in.error("cannot create activity parameter node '"
+ s + "' in '" + name() + "'");
param->addItem(token.xmiId(), in);
}
param->readParameterNode(in, token);
|