File: sort_Integer_Impl.F90

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 (140 lines) | stat: -rw-r--r-- 3,860 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
! 
! File:          sort_Integer_Impl.F90
! Symbol:        sort.Integer-v0.1
! Symbol Type:   class
! Babel Version: 0.10.2
! Description:   Server-side implementation for sort.Integer
! 
! WARNING: Automatically generated; only changes within splicers preserved
! 
! babel-version = 0.10.2
! 


! 
! Symbol "sort.Integer" (version 0.1)
! 
! An object to hold a simple integer.
! 


#include "sort_Integer_fAbbrev.h"
#include "sidl_ClassInfo_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 sort_Integer__ctor_mi(self)
  use sort_Integer
  use sort_Integer_impl
  ! DO-NOT-DELETE splicer.begin(sort.Integer._ctor.use)
  ! Insert use statements here...
  ! DO-NOT-DELETE splicer.end(sort.Integer._ctor.use)
  implicit none
  type(sort_Integer_t) :: self ! in

! DO-NOT-DELETE splicer.begin(sort.Integer._ctor)
  type(sort_Integer_wrap) :: dp
  integer(selected_int_kind(9)) zero
  allocate(dp%d_private_data)
  dp%d_private_data%d_value = 0
  call sort_Integer__set_data_m(self, dp)
! DO-NOT-DELETE splicer.end(sort.Integer._ctor)
end subroutine sort_Integer__ctor_mi


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

recursive subroutine sort_Integer__dtor_mi(self)
  use sort_Integer
  use sort_Integer_impl
  ! DO-NOT-DELETE splicer.begin(sort.Integer._dtor.use)
  ! Insert use statements here...
  ! DO-NOT-DELETE splicer.end(sort.Integer._dtor.use)
  implicit none
  type(sort_Integer_t) :: self ! in

! DO-NOT-DELETE splicer.begin(sort.Integer._dtor)
  type(sort_Integer_wrap) :: dp
  call sort_Integer__get_data_m(self, dp)
  deallocate(dp%d_private_data)
! DO-NOT-DELETE splicer.end(sort.Integer._dtor)
end subroutine sort_Integer__dtor_mi


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

recursive subroutine sort_Integer__load_mi()
  use sort_Integer
  use sort_Integer_impl
  ! DO-NOT-DELETE splicer.begin(sort.Integer._load.use)
  ! Insert use statements here...
  ! DO-NOT-DELETE splicer.end(sort.Integer._load.use)
  implicit none

! DO-NOT-DELETE splicer.begin(sort.Integer._load)
! Insert the implementation here...
! DO-NOT-DELETE splicer.end(sort.Integer._load)
end subroutine sort_Integer__load_mi


! 
! Method:  getValue[]
! 

recursive subroutine sort_Integer_getValue_mi(self, retval)
  use sort_Integer
  use sort_Integer_impl
  ! DO-NOT-DELETE splicer.begin(sort.Integer.getValue.use)
  ! Insert use statements here...
  ! DO-NOT-DELETE splicer.end(sort.Integer.getValue.use)
  implicit none
  type(sort_Integer_t) :: self ! in
  integer (selected_int_kind(9)) :: retval ! out

! DO-NOT-DELETE splicer.begin(sort.Integer.getValue)
  type(sort_Integer_wrap) :: dp
  call sort_Integer__get_data_m(self, dp)
  retval = dp%d_private_data%d_value
! DO-NOT-DELETE splicer.end(sort.Integer.getValue)
end subroutine sort_Integer_getValue_mi


! 
! Method:  setValue[]
! 

recursive subroutine sort_Integer_setValue_mi(self, value)
  use sort_Integer
  use sort_Integer_impl
  ! DO-NOT-DELETE splicer.begin(sort.Integer.setValue.use)
  ! Insert use statements here...
  ! DO-NOT-DELETE splicer.end(sort.Integer.setValue.use)
  implicit none
  type(sort_Integer_t) :: self ! in
  integer (selected_int_kind(9)) :: value ! in

! DO-NOT-DELETE splicer.begin(sort.Integer.setValue)
  type(sort_Integer_wrap) :: dp
  call sort_Integer__get_data_m(self, dp)
  dp%d_private_data%d_value = value
! DO-NOT-DELETE splicer.end(sort.Integer.setValue)
end subroutine sort_Integer_setValue_mi


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