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
|
#
# File: AClass_Impl.py
# Symbol: Overload.AClass-v1.0
# Symbol Type: class
# Babel Version: 0.10.2
# Description: Implementation of sidl class Overload.AClass in Python.
#
# WARNING: Automatically generated; changes will be lost
#
# babel-version = 0.10.2
#
"""This class is passed into the overloaded method as an example
of passing classes.
"""
# DO-NOT-DELETE splicer.begin(_initial)
# Put your code here...
# DO-NOT-DELETE splicer.end(_initial)
import sidl.ClassInfo
import Overload.AClass
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 AClass:
"""\
This class is passed into the overloaded method as an example
of passing classes.
"""
# 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)
# Put your code here...
return 2;
# DO-NOT-DELETE splicer.end(getValue)
# DO-NOT-DELETE splicer.begin(_final)
# Put your code here...
# DO-NOT-DELETE splicer.end(_final)
|