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
|
!
! File: Args_Cfloat_Impl.F90
! Symbol: Args.Cfloat-v1.0
! Symbol Type: class
! Babel Version: 0.10.2
! Description: Server-side implementation for Args.Cfloat
!
! WARNING: Automatically generated; only changes within splicers preserved
!
! babel-version = 0.10.2
!
!
! Symbol "Args.Cfloat" (version 1.0)
!
#include "sidl_ClassInfo_fAbbrev.h"
#include "Args_Cfloat_fAbbrev.h"
#include "sidl_BaseInterface_fAbbrev.h"
#include "sidl_BaseClass_fAbbrev.h"
! DO-NOT-DELETE splicer.begin(_miscellaneous_code_start)
! Insert extra code here...
! DO-NOT-DELETE splicer.end(_miscellaneous_code_start)
!
! Class constructor called when the class is created.
!
recursive subroutine Args_Cfloat__ctor_mi(self)
use Args_Cfloat
use Args_Cfloat_impl
! DO-NOT-DELETE splicer.begin(Args.Cfloat._ctor.use)
! Insert use statements here...
! DO-NOT-DELETE splicer.end(Args.Cfloat._ctor.use)
implicit none
type(Args_Cfloat_t) :: self ! in
! DO-NOT-DELETE splicer.begin(Args.Cfloat._ctor)
! Insert the implementation here...
! DO-NOT-DELETE splicer.end(Args.Cfloat._ctor)
end subroutine Args_Cfloat__ctor_mi
!
! Class destructor called when the class is deleted.
!
recursive subroutine Args_Cfloat__dtor_mi(self)
use Args_Cfloat
use Args_Cfloat_impl
! DO-NOT-DELETE splicer.begin(Args.Cfloat._dtor.use)
! Insert use statements here...
! DO-NOT-DELETE splicer.end(Args.Cfloat._dtor.use)
implicit none
type(Args_Cfloat_t) :: self ! in
! DO-NOT-DELETE splicer.begin(Args.Cfloat._dtor)
! Insert the implementation here...
! DO-NOT-DELETE splicer.end(Args.Cfloat._dtor)
end subroutine Args_Cfloat__dtor_mi
!
! Static class initializer called exactly once before any user-defined method is dispatched
!
recursive subroutine Args_Cfloat__load_mi()
use Args_Cfloat
use Args_Cfloat_impl
! DO-NOT-DELETE splicer.begin(Args.Cfloat._load.use)
! Insert use statements here...
! DO-NOT-DELETE splicer.end(Args.Cfloat._load.use)
implicit none
! DO-NOT-DELETE splicer.begin(Args.Cfloat._load)
! Insert the implementation here...
! DO-NOT-DELETE splicer.end(Args.Cfloat._load)
end subroutine Args_Cfloat__load_mi
!
! Method: returnback[]
!
recursive subroutine Args_Cfloat_returnback_mi(self, retval)
use Args_Cfloat
use Args_Cfloat_impl
! DO-NOT-DELETE splicer.begin(Args.Cfloat.returnback.use)
! Insert use statements here...
! DO-NOT-DELETE splicer.end(Args.Cfloat.returnback.use)
implicit none
type(Args_Cfloat_t) :: self ! in
real (selected_real_kind(6, 37)) :: retval ! out
! DO-NOT-DELETE splicer.begin(Args.Cfloat.returnback)
retval = 3.1
! DO-NOT-DELETE splicer.end(Args.Cfloat.returnback)
end subroutine Args_Cfloat_returnback_mi
!
! Method: passin[]
!
recursive subroutine Args_Cfloat_passin_mi(self, f, retval)
use Args_Cfloat
use Args_Cfloat_impl
! DO-NOT-DELETE splicer.begin(Args.Cfloat.passin.use)
! Insert use statements here...
! DO-NOT-DELETE splicer.end(Args.Cfloat.passin.use)
implicit none
type(Args_Cfloat_t) :: self ! in
real (selected_real_kind(6, 37)) :: f ! in
logical :: retval ! out
! DO-NOT-DELETE splicer.begin(Args.Cfloat.passin)
retval = (f .eq. 3.1)
! DO-NOT-DELETE splicer.end(Args.Cfloat.passin)
end subroutine Args_Cfloat_passin_mi
!
! Method: passout[]
!
recursive subroutine Args_Cfloat_passout_mi(self, f, retval)
use Args_Cfloat
use Args_Cfloat_impl
! DO-NOT-DELETE splicer.begin(Args.Cfloat.passout.use)
! Insert use statements here...
! DO-NOT-DELETE splicer.end(Args.Cfloat.passout.use)
implicit none
type(Args_Cfloat_t) :: self ! in
real (selected_real_kind(6, 37)) :: f ! out
logical :: retval ! out
! DO-NOT-DELETE splicer.begin(Args.Cfloat.passout)
f = 3.1
retval = .true.
! DO-NOT-DELETE splicer.end(Args.Cfloat.passout)
end subroutine Args_Cfloat_passout_mi
!
! Method: passinout[]
!
recursive subroutine Args_Cfloat_passinout_mi(self, f, retval)
use Args_Cfloat
use Args_Cfloat_impl
! DO-NOT-DELETE splicer.begin(Args.Cfloat.passinout.use)
! Insert use statements here...
! DO-NOT-DELETE splicer.end(Args.Cfloat.passinout.use)
implicit none
type(Args_Cfloat_t) :: self ! in
real (selected_real_kind(6, 37)) :: f ! inout
logical :: retval ! out
! DO-NOT-DELETE splicer.begin(Args.Cfloat.passinout)
f = -f
retval = .true.
! DO-NOT-DELETE splicer.end(Args.Cfloat.passinout)
end subroutine Args_Cfloat_passinout_mi
!
! Method: passeverywhere[]
!
recursive subroutine Args_Cfloat_passeverywhere_mi(self, f1, f2, f3, retval)
use Args_Cfloat
use Args_Cfloat_impl
! DO-NOT-DELETE splicer.begin(Args.Cfloat.passeverywhere.use)
! Insert use statements here...
! DO-NOT-DELETE splicer.end(Args.Cfloat.passeverywhere.use)
implicit none
type(Args_Cfloat_t) :: self ! in
real (selected_real_kind(6, 37)) :: f1 ! in
real (selected_real_kind(6, 37)) :: f2 ! out
real (selected_real_kind(6, 37)) :: f3 ! inout
real (selected_real_kind(6, 37)) :: retval ! out
! DO-NOT-DELETE splicer.begin(Args.Cfloat.passeverywhere)
f2 = 3.1
f3 = -f3
if (f1 .eq. 3.1) then
retval = 3.1
else
retval = 0.0
endif
! DO-NOT-DELETE splicer.end(Args.Cfloat.passeverywhere)
end subroutine Args_Cfloat_passeverywhere_mi
! DO-NOT-DELETE splicer.begin(_miscellaneous_code_end)
! Insert extra code here...
! DO-NOT-DELETE splicer.end(_miscellaneous_code_end)
|