File: ArrayTest_ArrayOps_Impl.h

package info (click to toggle)
babel 0.10.2-1
  • links: PTS
  • area: contrib
  • in suites: sarge
  • size: 43,932 kB
  • ctags: 29,707
  • sloc: java: 74,695; ansic: 73,142; cpp: 40,649; sh: 18,411; f90: 10,062; fortran: 6,727; python: 6,406; makefile: 3,866; xml: 118; perl: 48
file content (529 lines) | stat: -rw-r--r-- 12,567 bytes parent folder | download
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
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
/*
 * File:          ArrayTest_ArrayOps_Impl.h
 * Symbol:        ArrayTest.ArrayOps-v1.3
 * Symbol Type:   class
 * Babel Version: 0.10.2
 * Description:   Server-side implementation for ArrayTest.ArrayOps
 * 
 * WARNING: Automatically generated; only changes within splicers preserved
 * 
 * babel-version = 0.10.2
 */

#ifndef included_ArrayTest_ArrayOps_Impl_h
#define included_ArrayTest_ArrayOps_Impl_h

#ifndef included_sidl_header_h
#include "sidl_header.h"
#endif
#ifndef included_ArrayTest_ArrayOps_h
#include "ArrayTest_ArrayOps.h"
#endif

#line 23 "../../../../babel/regression/arrays/libC/ArrayTest_ArrayOps_Impl.h"
/* DO-NOT-DELETE splicer.begin(ArrayTest.ArrayOps._includes) */
/* Put additional include files here... */
/* DO-NOT-DELETE splicer.end(ArrayTest.ArrayOps._includes) */
#line 27 "ArrayTest_ArrayOps_Impl.h"

/*
 * Private data for class ArrayTest.ArrayOps
 */

struct ArrayTest_ArrayOps__data {
#line 32 "../../../../babel/regression/arrays/libC/ArrayTest_ArrayOps_Impl.h"
  /* DO-NOT-DELETE splicer.begin(ArrayTest.ArrayOps._data) */
  /* Put private data members here... */
  int ignore; /* dummy to force non-empty struct; remove if you add data */
  /* DO-NOT-DELETE splicer.end(ArrayTest.ArrayOps._data) */
#line 39 "ArrayTest_ArrayOps_Impl.h"
};

#ifdef __cplusplus
extern "C" {
#endif

/*
 * Access functions for class private data and built-in methods
 */

extern struct ArrayTest_ArrayOps__data*
ArrayTest_ArrayOps__get_data(
  ArrayTest_ArrayOps);

extern void
ArrayTest_ArrayOps__set_data(
  ArrayTest_ArrayOps,
  struct ArrayTest_ArrayOps__data*);

extern void
impl_ArrayTest_ArrayOps__load(
  void);

extern void
impl_ArrayTest_ArrayOps__ctor(
  /* in */ ArrayTest_ArrayOps self);

extern void
impl_ArrayTest_ArrayOps__dtor(
  /* in */ ArrayTest_ArrayOps self);

/*
 * User-defined object methods
 */

extern sidl_bool
impl_ArrayTest_ArrayOps_checkBool(
  /* in */ struct sidl_bool__array* a);

extern sidl_bool
impl_ArrayTest_ArrayOps_checkChar(
  /* in */ struct sidl_char__array* a);

extern sidl_bool
impl_ArrayTest_ArrayOps_checkInt(
  /* in */ struct sidl_int__array* a);

extern sidl_bool
impl_ArrayTest_ArrayOps_checkLong(
  /* in */ struct sidl_long__array* a);

extern sidl_bool
impl_ArrayTest_ArrayOps_checkString(
  /* in */ struct sidl_string__array* a);

extern sidl_bool
impl_ArrayTest_ArrayOps_checkDouble(
  /* in */ struct sidl_double__array* a);

extern sidl_bool
impl_ArrayTest_ArrayOps_checkFloat(
  /* in */ struct sidl_float__array* a);

extern sidl_bool
impl_ArrayTest_ArrayOps_checkFcomplex(
  /* in */ struct sidl_fcomplex__array* a);

extern sidl_bool
impl_ArrayTest_ArrayOps_checkDcomplex(
  /* in */ struct sidl_dcomplex__array* a);

extern sidl_bool
impl_ArrayTest_ArrayOps_check2Int(
  /* in */ struct sidl_int__array* a);

extern sidl_bool
impl_ArrayTest_ArrayOps_check2Double(
  /* in */ struct sidl_double__array* a);

extern sidl_bool
impl_ArrayTest_ArrayOps_check2Float(
  /* in */ struct sidl_float__array* a);

extern sidl_bool
impl_ArrayTest_ArrayOps_check2Fcomplex(
  /* in */ struct sidl_fcomplex__array* a);

extern sidl_bool
impl_ArrayTest_ArrayOps_check2Dcomplex(
  /* in */ struct sidl_dcomplex__array* a);

extern sidl_bool
impl_ArrayTest_ArrayOps_check3Int(
  /* in */ struct sidl_int__array* a);

extern sidl_bool
impl_ArrayTest_ArrayOps_check4Int(
  /* in */ struct sidl_int__array* a);

extern sidl_bool
impl_ArrayTest_ArrayOps_check5Int(
  /* in */ struct sidl_int__array* a);

extern sidl_bool
impl_ArrayTest_ArrayOps_check6Int(
  /* in */ struct sidl_int__array* a);

extern sidl_bool
impl_ArrayTest_ArrayOps_check7Int(
  /* in */ struct sidl_int__array* a);

extern int32_t
impl_ArrayTest_ArrayOps_checkObject(
  /* in */ struct ArrayTest_ArrayOps__array* a);

extern sidl_bool
impl_ArrayTest_ArrayOps_reverseBool(
  /* inout */ struct sidl_bool__array** a,
  /* in */ sidl_bool newArray);

extern sidl_bool
impl_ArrayTest_ArrayOps_reverseChar(
  /* inout */ struct sidl_char__array** a,
  /* in */ sidl_bool newArray);

extern sidl_bool
impl_ArrayTest_ArrayOps_reverseInt(
  /* inout */ struct sidl_int__array** a,
  /* in */ sidl_bool newArray);

extern sidl_bool
impl_ArrayTest_ArrayOps_reverseLong(
  /* inout */ struct sidl_long__array** a,
  /* in */ sidl_bool newArray);

extern sidl_bool
impl_ArrayTest_ArrayOps_reverseString(
  /* inout */ struct sidl_string__array** a,
  /* in */ sidl_bool newArray);

extern sidl_bool
impl_ArrayTest_ArrayOps_reverseDouble(
  /* inout */ struct sidl_double__array** a,
  /* in */ sidl_bool newArray);

extern sidl_bool
impl_ArrayTest_ArrayOps_reverseFloat(
  /* inout */ struct sidl_float__array** a,
  /* in */ sidl_bool newArray);

extern sidl_bool
impl_ArrayTest_ArrayOps_reverseFcomplex(
  /* inout */ struct sidl_fcomplex__array** a,
  /* in */ sidl_bool newArray);

extern sidl_bool
impl_ArrayTest_ArrayOps_reverseDcomplex(
  /* inout */ struct sidl_dcomplex__array** a,
  /* in */ sidl_bool newArray);

extern struct sidl_bool__array*
impl_ArrayTest_ArrayOps_createBool(
  /* in */ int32_t len);

extern struct sidl_char__array*
impl_ArrayTest_ArrayOps_createChar(
  /* in */ int32_t len);

extern struct sidl_int__array*
impl_ArrayTest_ArrayOps_createInt(
  /* in */ int32_t len);

extern struct sidl_long__array*
impl_ArrayTest_ArrayOps_createLong(
  /* in */ int32_t len);

extern struct sidl_string__array*
impl_ArrayTest_ArrayOps_createString(
  /* in */ int32_t len);

extern struct sidl_double__array*
impl_ArrayTest_ArrayOps_createDouble(
  /* in */ int32_t len);

extern struct sidl_float__array*
impl_ArrayTest_ArrayOps_createFloat(
  /* in */ int32_t len);

extern struct sidl_fcomplex__array*
impl_ArrayTest_ArrayOps_createFcomplex(
  /* in */ int32_t len);

extern struct sidl_dcomplex__array*
impl_ArrayTest_ArrayOps_createDcomplex(
  /* in */ int32_t len);

extern struct ArrayTest_ArrayOps__array*
impl_ArrayTest_ArrayOps_createObject(
  /* in */ int32_t len);

extern struct sidl_int__array*
impl_ArrayTest_ArrayOps_create2Int(
  /* in */ int32_t d1,
  /* in */ int32_t d2);

extern struct sidl_double__array*
impl_ArrayTest_ArrayOps_create2Double(
  /* in */ int32_t d1,
  /* in */ int32_t d2);

extern struct sidl_float__array*
impl_ArrayTest_ArrayOps_create2Float(
  /* in */ int32_t d1,
  /* in */ int32_t d2);

extern struct sidl_dcomplex__array*
impl_ArrayTest_ArrayOps_create2Dcomplex(
  /* in */ int32_t d1,
  /* in */ int32_t d2);

extern struct sidl_fcomplex__array*
impl_ArrayTest_ArrayOps_create2Fcomplex(
  /* in */ int32_t d1,
  /* in */ int32_t d2);

extern struct sidl_int__array*
impl_ArrayTest_ArrayOps_create3Int(
  void);

extern struct sidl_int__array*
impl_ArrayTest_ArrayOps_create4Int(
  void);

extern struct sidl_int__array*
impl_ArrayTest_ArrayOps_create5Int(
  void);

extern struct sidl_int__array*
impl_ArrayTest_ArrayOps_create6Int(
  void);

extern struct sidl_int__array*
impl_ArrayTest_ArrayOps_create7Int(
  void);

extern void
impl_ArrayTest_ArrayOps_makeBool(
  /* in */ int32_t len,
  /* out */ struct sidl_bool__array** a);

extern void
impl_ArrayTest_ArrayOps_makeChar(
  /* in */ int32_t len,
  /* out */ struct sidl_char__array** a);

extern void
impl_ArrayTest_ArrayOps_makeInt(
  /* in */ int32_t len,
  /* out */ struct sidl_int__array** a);

extern void
impl_ArrayTest_ArrayOps_makeLong(
  /* in */ int32_t len,
  /* out */ struct sidl_long__array** a);

extern void
impl_ArrayTest_ArrayOps_makeString(
  /* in */ int32_t len,
  /* out */ struct sidl_string__array** a);

extern void
impl_ArrayTest_ArrayOps_makeDouble(
  /* in */ int32_t len,
  /* out */ struct sidl_double__array** a);

extern void
impl_ArrayTest_ArrayOps_makeFloat(
  /* in */ int32_t len,
  /* out */ struct sidl_float__array** a);

extern void
impl_ArrayTest_ArrayOps_makeFcomplex(
  /* in */ int32_t len,
  /* out */ struct sidl_fcomplex__array** a);

extern void
impl_ArrayTest_ArrayOps_makeDcomplex(
  /* in */ int32_t len,
  /* out */ struct sidl_dcomplex__array** a);

extern void
impl_ArrayTest_ArrayOps_makeInOutBool(
  /* inout */ struct sidl_bool__array** a,
  /* in */ int32_t len);

extern void
impl_ArrayTest_ArrayOps_makeInOutChar(
  /* inout */ struct sidl_char__array** a,
  /* in */ int32_t len);

extern void
impl_ArrayTest_ArrayOps_makeInOutInt(
  /* inout */ struct sidl_int__array** a,
  /* in */ int32_t len);

extern void
impl_ArrayTest_ArrayOps_makeInOutLong(
  /* inout */ struct sidl_long__array** a,
  /* in */ int32_t len);

extern void
impl_ArrayTest_ArrayOps_makeInOutString(
  /* inout */ struct sidl_string__array** a,
  /* in */ int32_t len);

extern void
impl_ArrayTest_ArrayOps_makeInOutDouble(
  /* inout */ struct sidl_double__array** a,
  /* in */ int32_t len);

extern void
impl_ArrayTest_ArrayOps_makeInOutFloat(
  /* inout */ struct sidl_float__array** a,
  /* in */ int32_t len);

extern void
impl_ArrayTest_ArrayOps_makeInOutDcomplex(
  /* inout */ struct sidl_dcomplex__array** a,
  /* in */ int32_t len);

extern void
impl_ArrayTest_ArrayOps_makeInOutFcomplex(
  /* inout */ struct sidl_fcomplex__array** a,
  /* in */ int32_t len);

extern void
impl_ArrayTest_ArrayOps_makeInOut2Int(
  /* inout */ struct sidl_int__array** a,
  /* in */ int32_t d1,
  /* in */ int32_t d2);

extern void
impl_ArrayTest_ArrayOps_makeInOut2Double(
  /* inout */ struct sidl_double__array** a,
  /* in */ int32_t d1,
  /* in */ int32_t d2);

extern void
impl_ArrayTest_ArrayOps_makeInOut2Float(
  /* inout */ struct sidl_float__array** a,
  /* in */ int32_t d1,
  /* in */ int32_t d2);

extern void
impl_ArrayTest_ArrayOps_makeInOut2Dcomplex(
  /* inout */ struct sidl_dcomplex__array** a,
  /* in */ int32_t d1,
  /* in */ int32_t d2);

extern void
impl_ArrayTest_ArrayOps_makeInOut2Fcomplex(
  /* inout */ struct sidl_fcomplex__array** a,
  /* in */ int32_t d1,
  /* in */ int32_t d2);

extern void
impl_ArrayTest_ArrayOps_makeInOut3Int(
  /* inout */ struct sidl_int__array** a);

extern void
impl_ArrayTest_ArrayOps_makeInOut4Int(
  /* inout */ struct sidl_int__array** a);

extern void
impl_ArrayTest_ArrayOps_makeInOut5Int(
  /* inout */ struct sidl_int__array** a);

extern void
impl_ArrayTest_ArrayOps_makeInOut6Int(
  /* inout */ struct sidl_int__array** a);

extern void
impl_ArrayTest_ArrayOps_makeInOut7Int(
  /* inout */ struct sidl_int__array** a);

extern void
impl_ArrayTest_ArrayOps_checkGeneric(
  /* in */ struct sidl__array* a,
  /* out */ int32_t* dmn,
  /* out */ int32_t* tp);

extern struct sidl__array*
impl_ArrayTest_ArrayOps_createGeneric(
  /* in */ int32_t dmn,
  /* in */ int32_t tp);

extern struct sidl__array*
impl_ArrayTest_ArrayOps_passGeneric(
  /* in */ struct sidl__array* inArg,
  /* inout */ struct sidl__array** inOutArg,
  /* out */ struct sidl__array** outArg);

extern void
impl_ArrayTest_ArrayOps_initRarray1Int(
  /* inout */ int32_t* a,
  /* in */ int32_t n);

extern void
impl_ArrayTest_ArrayOps_initRarray3Int(
  /* inout */ int32_t* a,
  /* in */ int32_t n,
  /* in */ int32_t m,
  /* in */ int32_t o);

extern void
impl_ArrayTest_ArrayOps_initRarray7Int(
  /* inout */ int32_t* a,
  /* in */ int32_t n,
  /* in */ int32_t m,
  /* in */ int32_t o,
  /* in */ int32_t p,
  /* in */ int32_t q,
  /* in */ int32_t r,
  /* in */ int32_t s);

extern void
impl_ArrayTest_ArrayOps_initRarray1Double(
  /* inout */ double* a,
  /* in */ int32_t n);

extern void
impl_ArrayTest_ArrayOps_initRarray1Dcomplex(
  /* inout */ struct sidl_dcomplex* a,
  /* in */ int32_t n);

extern sidl_bool
impl_ArrayTest_ArrayOps_checkRarray1Int(
  /* in */ int32_t* a,
  /* in */ int32_t n);

extern sidl_bool
impl_ArrayTest_ArrayOps_checkRarray3Int(
  /* in */ int32_t* a,
  /* in */ int32_t n,
  /* in */ int32_t m,
  /* in */ int32_t o);

extern sidl_bool
impl_ArrayTest_ArrayOps_checkRarray7Int(
  /* in */ int32_t* a,
  /* in */ int32_t n,
  /* in */ int32_t m,
  /* in */ int32_t o,
  /* in */ int32_t p,
  /* in */ int32_t q,
  /* in */ int32_t r,
  /* in */ int32_t s);

extern sidl_bool
impl_ArrayTest_ArrayOps_checkRarray1Double(
  /* in */ double* a,
  /* in */ int32_t n);

extern sidl_bool
impl_ArrayTest_ArrayOps_checkRarray1Dcomplex(
  /* in */ struct sidl_dcomplex* a,
  /* in */ int32_t n);

extern void
impl_ArrayTest_ArrayOps_matrixMultiply(
  /* in */ int32_t* a,
  /* in */ int32_t* b,
  /* inout */ int32_t* res,
  /* in */ int32_t n,
  /* in */ int32_t m,
  /* in */ int32_t o);

extern sidl_bool
impl_ArrayTest_ArrayOps_checkMatrixMultiply(
  /* in */ int32_t* a,
  /* in */ int32_t* b,
  /* in */ int32_t* res,
  /* in */ int32_t n,
  /* in */ int32_t m,
  /* in */ int32_t o);

#ifdef __cplusplus
}
#endif
#endif