File: Overload_Test_Impl.f

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 (319 lines) | stat: -rw-r--r-- 8,048 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
C       
C       File:          Overload_Test_Impl.f
C       Symbol:        Overload.Test-v1.0
C       Symbol Type:   class
C       Babel Version: 0.10.2
C       Description:   Server-side implementation for Overload.Test
C       
C       WARNING: Automatically generated; only changes within splicers preserved
C       
C       babel-version = 0.10.2
C       


C       
C       Symbol "Overload.Test" (version 1.0)
C       
C       This class is used as the work-horse, returning the value passed
C       in.
C       


C       DO-NOT-DELETE splicer.begin(_miscellaneous_code_start)
C       Insert extra code here...
C       DO-NOT-DELETE splicer.end(_miscellaneous_code_start)




C       
C       Class constructor called when the class is created.
C       

        subroutine Overload_Test__ctor_fi(self)
        implicit none
C       in Overload.Test self
        integer*8 self

C       DO-NOT-DELETE splicer.begin(Overload.Test._ctor)
C       Insert the implementation here...
C       DO-NOT-DELETE splicer.end(Overload.Test._ctor)
        end


C       
C       Class destructor called when the class is deleted.
C       

        subroutine Overload_Test__dtor_fi(self)
        implicit none
C       in Overload.Test self
        integer*8 self

C       DO-NOT-DELETE splicer.begin(Overload.Test._dtor)
C       Insert the implementation here...
C       DO-NOT-DELETE splicer.end(Overload.Test._dtor)
        end


C       
C       Static class initializer called exactly once before any user-defined method is dispatched
C       

        subroutine Overload_Test__load_fi()
        implicit none

C       DO-NOT-DELETE splicer.begin(Overload.Test._load)
C       Insert the implementation here...
C       DO-NOT-DELETE splicer.end(Overload.Test._load)
        end


C       
C       Method:  getValue[IntDouble]
C       

        subroutine Overload_Test_getValueIntDouble_fi(self, a, b,
     &     retval)
        implicit none
C       in Overload.Test self
        integer*8 self
C       in int a
        integer*4 a
C       in double b
        double precision b
C       out double retval
        double precision retval

C       DO-NOT-DELETE splicer.begin(Overload.Test.getValueIntDouble)
        retval = a + b
C       DO-NOT-DELETE splicer.end(Overload.Test.getValueIntDouble)
        end


C       
C       Method:  getValue[DoubleInt]
C       

        subroutine Overload_Test_getValueDoubleInt_fi(self, a, b,
     &     retval)
        implicit none
C       in Overload.Test self
        integer*8 self
C       in double a
        double precision a
C       in int b
        integer*4 b
C       out double retval
        double precision retval

C       DO-NOT-DELETE splicer.begin(Overload.Test.getValueDoubleInt)
        retval = a + b
C       DO-NOT-DELETE splicer.end(Overload.Test.getValueDoubleInt)
        end


C       
C       Method:  getValue[IntDoubleFloat]
C       

        subroutine Overload_Test_getValueIntDoubleFloat_fi(self, a, b,
     &     c, retval)
        implicit none
C       in Overload.Test self
        integer*8 self
C       in int a
        integer*4 a
C       in double b
        double precision b
C       in float c
        real c
C       out double retval
        double precision retval

C       DO-NOT-DELETE splicer.begin(Overload.Test.getValueIntDoubleFloat)
        retval = a + b + c
C       DO-NOT-DELETE splicer.end(Overload.Test.getValueIntDoubleFloat)
        end


C       
C       Method:  getValue[DoubleIntFloat]
C       

        subroutine Overload_Test_getValueDoubleIntFloat_fi(self, a, b,
     &     c, retval)
        implicit none
C       in Overload.Test self
        integer*8 self
C       in double a
        double precision a
C       in int b
        integer*4 b
C       in float c
        real c
C       out double retval
        double precision retval

C       DO-NOT-DELETE splicer.begin(Overload.Test.getValueDoubleIntFloat)
        retval = a + b + c
C       DO-NOT-DELETE splicer.end(Overload.Test.getValueDoubleIntFloat)
        end


C       
C       Method:  getValue[IntFloatDouble]
C       

        subroutine Overload_Test_getValueIntFloatDouble_fi(self, a, b,
     &     c, retval)
        implicit none
C       in Overload.Test self
        integer*8 self
C       in int a
        integer*4 a
C       in float b
        real b
C       in double c
        double precision c
C       out double retval
        double precision retval

C       DO-NOT-DELETE splicer.begin(Overload.Test.getValueIntFloatDouble)
        retval = a + b + c
C       DO-NOT-DELETE splicer.end(Overload.Test.getValueIntFloatDouble)
        end


C       
C       Method:  getValue[DoubleFloatInt]
C       

        subroutine Overload_Test_getValueDoubleFloatInt_fi(self, a, b,
     &     c, retval)
        implicit none
C       in Overload.Test self
        integer*8 self
C       in double a
        double precision a
C       in float b
        real b
C       in int c
        integer*4 c
C       out double retval
        double precision retval

C       DO-NOT-DELETE splicer.begin(Overload.Test.getValueDoubleFloatInt)
        retval = a + b + c
C       DO-NOT-DELETE splicer.end(Overload.Test.getValueDoubleFloatInt)
        end


C       
C       Method:  getValue[FloatIntDouble]
C       

        subroutine Overload_Test_getValueFloatIntDouble_fi(self, a, b,
     &     c, retval)
        implicit none
C       in Overload.Test self
        integer*8 self
C       in float a
        real a
C       in int b
        integer*4 b
C       in double c
        double precision c
C       out double retval
        double precision retval

C       DO-NOT-DELETE splicer.begin(Overload.Test.getValueFloatIntDouble)
        retval = a + b + c
C       DO-NOT-DELETE splicer.end(Overload.Test.getValueFloatIntDouble)
        end


C       
C       Method:  getValue[FloatDoubleInt]
C       

        subroutine Overload_Test_getValueFloatDoubleInt_fi(self, a, b,
     &     c, retval)
        implicit none
C       in Overload.Test self
        integer*8 self
C       in float a
        real a
C       in double b
        double precision b
C       in int c
        integer*4 c
C       out double retval
        double precision retval

C       DO-NOT-DELETE splicer.begin(Overload.Test.getValueFloatDoubleInt)
        retval = a + b + c
C       DO-NOT-DELETE splicer.end(Overload.Test.getValueFloatDoubleInt)
        end


C       
C       Method:  getValue[Exception]
C       

        subroutine Overload_Test_getValueException_fi(self, v, retval)
        implicit none
C       in Overload.Test self
        integer*8 self
C       in Overload.AnException v
        integer*8 v
C       out string retval
        character*(*) retval

C       DO-NOT-DELETE splicer.begin(Overload.Test.getValueException)
        call Overload_AnException_getNote_f(v, retval)
C       DO-NOT-DELETE splicer.end(Overload.Test.getValueException)
        end


C       
C       Method:  getValue[AClass]
C       

        subroutine Overload_Test_getValueAClass_fi(self, v, retval)
        implicit none
C       in Overload.Test self
        integer*8 self
C       in Overload.AClass v
        integer*8 v
C       out int retval
        integer*4 retval

C       DO-NOT-DELETE splicer.begin(Overload.Test.getValueAClass)
        call Overload_AClass_getValue_f(v, retval)
C       DO-NOT-DELETE splicer.end(Overload.Test.getValueAClass)
        end


C       
C       Method:  getValue[BClass]
C       

        subroutine Overload_Test_getValueBClass_fi(self, v, retval)
        implicit none
C       in Overload.Test self
        integer*8 self
C       in Overload.BClass v
        integer*8 v
C       out int retval
        integer*4 retval

C       DO-NOT-DELETE splicer.begin(Overload.Test.getValueBClass)
        call Overload_BClass_getValue_f(v, retval)
C       DO-NOT-DELETE splicer.end(Overload.Test.getValueBClass)
        end


C       DO-NOT-DELETE splicer.begin(_miscellaneous_code_end)
C       Insert extra code here...
C       DO-NOT-DELETE splicer.end(_miscellaneous_code_end)