This file is indexed.

/usr/lib/bouml/rose/7809.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
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
class UmlOperation
!!!128436.cpp!!!	import(inout f : File, inout parent : UmlClass) : void
  QCString s;

  if (f.read(s) != STRING)
    f.syntaxError(s, "operations's name");
    
  QCString id;
  QCString ste;
  QCString doc;
  QDict<QCString> prop;
  QCString s2;
  int k;
  
  do {
    k = f.readDefinitionBeginning(s2, id, ste, doc, prop);
  } while (id.isEmpty());

  UmlOperation * x;

  if (scanning) {
    QCString name;
    
    if (s.left(8) != "operator")
      name = (s.at(0) == '~')
	? ("~" + legalName(s.mid(1)))
	: legalName(s);
    else
      name = s;
    
    if ((x = UmlBaseOperation::create(parent, name)) == 0) {
      UmlCom::trace("<br>cannot create operation '" + s + "' in " +
		    parent->fullName());
      throw 0;
    }
    newItem(x, id);
    
    if (!ste.isEmpty()) {
      bool managed = FALSE;
      QStringList l = QStringList::split(",", QString(ste));
      
      for (QStringList::Iterator it = l.begin();
	   it != l.end();
	   ++it) {
	if ((*it) == "const") {
	  managed = TRUE;
	  x->set_isCppConst(TRUE);
	}
	else if ((*it) == "abstract") {
	  managed = TRUE;
	  x->set_isAbstract(TRUE);
	  x->set_isCppVirtual(TRUE);
	}
	else if ((*it) == "virtual") {
	  managed = TRUE;
	  x->set_isCppVirtual(TRUE);
	}
	else if ((*it) == "static") {
	  managed = TRUE;
	  x->set_isClassMember(TRUE);
	}
      }
      
      if (!managed)
	x->set_Stereotype(ste);
    }
    
    if (!doc.isEmpty())
      x->set_Description(doc);
  }
  else if ((x = (UmlOperation *) findItem(id, anOperation)) == 0) {
    UmlCom::trace("<br>unknown operation '" + s + "' in " +
		  parent->fullName());
    throw 0;
  }
  else {
    switch (((UmlClass *) x->parent())->language()) {
    case Cplusplus:
    case AnsiCplusplus:
    case VCplusplus:
      x->cplusplus(prop);
      break;
    case Oracle8:
      x->oracle8(prop);
      break;
    case Corba:
      x->corba(prop);
      break;
    case Java:
      x->java(prop);
      break;
    default:
      break;
    }
    
    x->setProperties(prop);
  }

  f.unread(k, s2);
  x->import(f);
!!!128620.cpp!!!	import(inout f : File) : void
  if (scanning) {
    f.skipBlock();
    return;
  }

  QCString s;
  UmlTypeSpec t;

  for (;;) {    
    switch (f.read(s)) {
    case -1:
      f.eof();
      throw 0;
    case ')':
      set_ReturnType(t);
      return;
    case ATOM:
      break;
    default:
      f.syntaxError(s);
    }
    
    // atom
    if (s == "parameters") {
      f.read("(");
      f.read("list");
      f.read("Parameters");
      importParameters(f);
    }
    else if (s == "result") {
      if (f.read(s) != STRING)
        f.syntaxError(s, "return type");
      t.explicit_type = s;
    }
    else if (s == "quidu") {
      if (f.read(s) != STRING)
	f.syntaxError(s, "wrong quidu");
      if (UmlClass::replaceType(t, s, "${type}")) {
	switch (((UmlClass *) parent())->language()) {
	case Cplusplus:
	case AnsiCplusplus:
	case VCplusplus:
	  set_CppDecl(replace(cppDecl(), "${type}", s));
	  set_CppDef(replace(cppDef(), "${type}", s));
	  break;
	case Oracle8:
	  break;
	case Corba:
	  set_IdlDecl(replace(idlDecl(), "${type}", s));
	  break;
	case Java:
	  set_JavaDecl(replace(javaDecl(), "${type}", s));
	  break;
	default:
	  break;
	}
      }
    }
    else if (s == "exceptions")
      importExceptions(f);
    else if (s == "opExportControl")
      set_Visibility(f.readVisibility());
    else
      f.skipNextForm();
  }

!!!128064.cpp!!!	importParameters(inout f : File) : void
  QCString s;
  unsigned rank = 0;
  const char * sep = "";
  QCString doc = description();

  for (;;) {
    switch (f.read(s)) {
    case ')':
      if (doc != description())
        set_Description(doc);
      return;
    case '(':
      // a parameter
      break;
    default:
      f.syntaxError(s);
    }

    f.read("object");
    f.read("Parameter");

    UmlParameter p;
    QCString ti;
	
    ti.sprintf("${t%u}", rank);

    if (f.read(p.name) != STRING)
      f.syntaxError(s, "parameter's name");

    QCString id;
    QCString ste;
    QCString p_doc;
    QDict<QCString> prop;
    int k;

    for (;;) {
      k = f.readDefinitionBeginning(s, id, ste, p_doc, prop);
      
      if (k == ')')
	break;
      
      if (s == "type") {
        if (f.read(s) != STRING)
          f.syntaxError(s, "parameter type");
	
	switch (((UmlClass *) parent())->language()) {
	case Corba:
	  if (strncmp(s,  "in ", 3) == 0) {
	    p.dir = InputDirection;
	    s = s.mid(3);
	  }
	  else if (strncmp(s,  "out ", 4) == 0) {
	    p.dir = OutputDirection;
	    s = s.mid(4);
	  }
	  else if (strncmp(s,  "inout ", 6) == 0) {
	    p.dir = InputOutputDirection;
	    s = s.mid(6);
	  }
	  else {
	    QCString err =
	      "<br>'" + s + "' : wrong parameter direction, in " + f.context();
	  
	    UmlCom::trace(err);
	    p.dir = InputOutputDirection;
	  }
	  break;
	default:
	  // !!!!!!!!!!!!!
	  p.dir = InputOutputDirection;
	}
	
        p.type.explicit_type = s;
      }
      else if (s == "quidu") {
	if (f.read(s) != STRING)
	  f.syntaxError(s, "wrong quidu");
	
	if (UmlClass::replaceType(p.type, s, ti))
	  ti = s;
      }
      else
	f.skipNextForm();
    }

    QCString d;
    int index;
    
    switch (((UmlClass *) parent())->language()) {
    case Cplusplus:
    case AnsiCplusplus:
    case VCplusplus:
      s.sprintf("%s%s ${p%u}", sep, (const char *) ti, rank);
      if ((index = (d = cppDecl()).find("${)}")) != -1)
	set_CppDecl(d.insert(index, s));
      if ((index = (d = cppDef()).find("${)}")) != -1)
	set_CppDef(d.insert(index, s));
      break;
    case Oracle8:
      break;
    case Corba:
      if ((index = (d = idlDecl()).find("${)}")) != -1) {
	s.sprintf("%s${d%u} %s ${p%u}", 
		  sep, rank, (const char *) ti, rank);
	set_IdlDecl(d.insert(index, s));
      }
      break;
    case Java:
      if ((index = (d = javaDecl()).find("${)}")) != -1) {
	s.sprintf("%s%s ${p%u}", sep, (const char *) ti, rank);
	set_JavaDecl(d.insert(index, s));
      }
      break;
    default:
      break;
    }
    
    addParameter(rank++, p);
    sep = ", ";
  }
!!!128250.cpp!!!	importExceptions(inout f : File) : void
  QCString s;
  unsigned rank = 0;
  
  if (f.read(s) != STRING)
    f.syntaxError(s, "the exceptions");
    
  int index = 0;
  
  while (!(s = s.mid(index).stripWhiteSpace()).isEmpty()) {
    if ((index = s.find(' ')) == -1)
      index = s.length();
      
    UmlTypeSpec t;
    int index2;
    
    t.explicit_type = s.left(index);
    
    if (((index2 = t.explicit_type.find("[")) != -1) &&
	(((const char *) t.explicit_type)[t.explicit_type.length() - 1]
	 == ']')) {
      QCString target_id =
	t.explicit_type.mid(index2+1, 
			    t.explicit_type.length() - index2 - 2);
      UmlClass * cl = (UmlClass *) UmlItem::findItem(target_id, aClass);
      
      if (cl != 0) {
	t.explicit_type = 0;
	t.type = cl;
      }
      else
	t.explicit_type.truncate(index2);
    }
    
    addException(rank++, t);
  }
!!!129483.cpp!!!	cplusplus(inout prop : string) : void
  set_CppDecl(CppSettings::operationDecl());
  set_CppDef(CppSettings::operationDef());
!!!129227.cpp!!!	corba(inout prop : string) : void
  QCString * v;
    
  if ((v = prop.find("CORBA/OperationIsOneWay")) != 0) {
    if (*v == "TRUE")
      set_isIdlOneway(TRUE);
    prop.remove("CORBA/OperationIsOneWay");
  }

  set_IdlDecl(IdlSettings::operationDecl());
!!!129099.cpp!!!	java(inout prop : string) : void
  QCString d = JavaSettings::operationDef();
  QCString * v;
    
  if ((v = prop.find("Java/Final")) != 0) {
    if (*v == "TRUE")
      set_isJavaFinal(TRUE);
    prop.remove("Java/Final");
  }
  if ((v = prop.find("Java/Synchronized")) != 0) {
    if (*v == "TRUE")
      set_isJavaSynchronized(TRUE);
    prop.remove("Java/Synchronized");
  }
  if ((v = prop.find("Java/Static")) != 0) {
    if (*v == "TRUE")
      set_isClassMember(TRUE);
    prop.remove("Java/Static");
  }
  if ((v = prop.find("Java/Abstract")) != 0) {
    if (*v == "TRUE")
      set_isAbstract(TRUE);
    prop.remove("Java/Abstract");
  }
  if ((v = prop.find("Java/Strictfp")) != 0) {
    if (*v == "TRUE") {
      int index = d.find("${final}");
      
      if (index != -1)
	d.insert(index, "strictfp ");
    }
      
    prop.remove("Java/Strictfp");
  }

  set_JavaDef(d);