File: ParentTest_Impl.py

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 (177 lines) | stat: -rw-r--r-- 3,761 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
#
# File:          ParentTest_Impl.py
# Symbol:        Overload.ParentTest-v1.0
# Symbol Type:   class
# Babel Version: 0.10.2
# Description:   Implementation of sidl class Overload.ParentTest in Python.
# 
# WARNING: Automatically generated; changes will be lost
# 
# babel-version = 0.10.2
#


"""This class is used as the work-horse, returning the value passed
in.
"""

# DO-NOT-DELETE splicer.begin(_initial)
# Put your code here...
# DO-NOT-DELETE splicer.end(_initial)

import sidl.ClassInfo
import Overload.ParentTest
import sidl.BaseInterface
import sidl.BaseClass

# DO-NOT-DELETE splicer.begin(_before_type)
# Put your code here...
# DO-NOT-DELETE splicer.end(_before_type)

class ParentTest:
  """\
This class is used as the work-horse, returning the value passed
in.
"""

  # All calls to sidl methods should use __IORself

  def __init__(self, IORself):
    self.__IORself = IORself
    # DO-NOT-DELETE splicer.begin(__init__)
    # Put your code here...
    # DO-NOT-DELETE splicer.end(__init__)

  def getValue(self):
    #
    # sidl EXPECTED RETURN VALUE(s)
    # =============================
    # int _return
    #

    # DO-NOT-DELETE splicer.begin(getValue)
    return 1;
    # DO-NOT-DELETE splicer.end(getValue)

  def getValueInt(self, v):
    #
    # sidl EXPECTED INCOMING TYPES
    # ============================
    # int v
    #

    #
    # sidl EXPECTED RETURN VALUE(s)
    # =============================
    # int _return
    #

    # DO-NOT-DELETE splicer.begin(getValueInt)
    return v;
    # DO-NOT-DELETE splicer.end(getValueInt)

  def getValueBool(self, v):
    #
    # sidl EXPECTED INCOMING TYPES
    # ============================
    # bool v
    #

    #
    # sidl EXPECTED RETURN VALUE(s)
    # =============================
    # bool _return
    #

    # DO-NOT-DELETE splicer.begin(getValueBool)
    return v;
    # DO-NOT-DELETE splicer.end(getValueBool)

  def getValueDouble(self, v):
    #
    # sidl EXPECTED INCOMING TYPES
    # ============================
    # double v
    #

    #
    # sidl EXPECTED RETURN VALUE(s)
    # =============================
    # double _return
    #

    # DO-NOT-DELETE splicer.begin(getValueDouble)
    return v;
    # DO-NOT-DELETE splicer.end(getValueDouble)

  def getValueDcomplex(self, v):
    #
    # sidl EXPECTED INCOMING TYPES
    # ============================
    # dcomplex v
    #

    #
    # sidl EXPECTED RETURN VALUE(s)
    # =============================
    # dcomplex _return
    #

    # DO-NOT-DELETE splicer.begin(getValueDcomplex)
    return v;
    # DO-NOT-DELETE splicer.end(getValueDcomplex)

  def getValueFloat(self, v):
    #
    # sidl EXPECTED INCOMING TYPES
    # ============================
    # float v
    #

    #
    # sidl EXPECTED RETURN VALUE(s)
    # =============================
    # float _return
    #

    # DO-NOT-DELETE splicer.begin(getValueFloat)
    return v;
    # DO-NOT-DELETE splicer.end(getValueFloat)

  def getValueFcomplex(self, v):
    #
    # sidl EXPECTED INCOMING TYPES
    # ============================
    # fcomplex v
    #

    #
    # sidl EXPECTED RETURN VALUE(s)
    # =============================
    # fcomplex _return
    #

    # DO-NOT-DELETE splicer.begin(getValueFcomplex)
    return v;
    # DO-NOT-DELETE splicer.end(getValueFcomplex)

  def getValueString(self, v):
    #
    # sidl EXPECTED INCOMING TYPES
    # ============================
    # string v
    #

    #
    # sidl EXPECTED RETURN VALUE(s)
    # =============================
    # string _return
    #

    # DO-NOT-DELETE splicer.begin(getValueString)
    return v;
    # DO-NOT-DELETE splicer.end(getValueString)

# DO-NOT-DELETE splicer.begin(_final)
# Put your code here...
# DO-NOT-DELETE splicer.end(_final)