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


"""This exception 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.SIDLException
import sidl.ClassInfo
import Overload.AnException
import sidl.BaseInterface
import sidl.BaseException
import sidl.BaseClass

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

class AnException:
  """\
This exception 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__)
    IORself.setNote("AnException")
    # DO-NOT-DELETE splicer.end(__init__)

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