# Skeletons for "Test3"
#
# This file was automatically generated with ILU (version 2.0beta1) tools
# at Tue Sep 21 11:44:54 1999 by `nobody'
# running "c:/iluwin/bin/python-stubber.exe" of Tue Sep 21 10:50:35 1999
# on "C:/iluwin/examples/test1/Test3.isl" of Mon Sep 20 15:53:46 1999,
# and "C:/iluwin/examples/test1/Test1.isl" of Mon Sep 20 15:53:47 1999,
# and "C:/iluwin/examples/test1/Test2.isl" of Mon Sep 20 15:53:44 1999,
# and "c:/iluwin/interfaces/ilu.isl" of Mon Sep 20 15:51:47 1999.
#
# ILU is Copyright 1991-1999 Xerox Corporation, All Rights Reserved.
# ILU information:  ftp://ftp.parc.xerox.com/pub/ilu/ilu.html.

import sys;
_imported_modules = {};
import iluRt ; _imported_modules['iluRt'] = iluRt; _imported_modules['ilu'] = iluRt;
iluRt.CheckStubConsistency('2.0beta1', 'v2 (post-2.0alpha12)');
_imported_modules['ilu__skel'] = iluRt
del iluRt
import Test3; _imported_modules['Test3'] = Test3; del Test3;
import Test1; _imported_modules['Test1'] = Test1; del Test1;
import Test1__skel; _imported_modules['Test1__skel'] = Test1__skel; del Test1__skel;
import Test2; _imported_modules['Test2'] = Test2; del Test2;
import Test2__skel; _imported_modules['Test2__skel'] = Test2__skel; del Test2__skel;
import iluRt

T2T1O3 = _imported_modules['Test2__skel'].T1O3

def _O__I_to_Test1U(_call):
    _self = iluRt.InputObjectID(_call, iluRt.TRUE, _imported_modules['Test3'].O)
    i = iluRt.InputInteger(_call)
    iluRt.RequestRead(_call)
    try:
	_result = _self.I_to_Test1U(i)
    except _imported_modules['Test3'].E1, _value:
	iluRt.BeginException(_call, 1, iluRt.BeginSizingException(_call, 1) + \
	  iluRt.SizeOfString(_call, _value, 0))
	iluRt.OutputString(_call, _value, 0)
	iluRt.FinishException(_call)
	return
    except _imported_modules['Test1'].E1, _value:
	iluRt.BeginException(_call, 2, iluRt.BeginSizingException(_call, 2) + \
	  _imported_modules['Test1']._SizeOf_TheU(_call, _value))
	_imported_modules['Test1']._Output_TheU(_call, _value)
	iluRt.FinishException(_call)
	return
    except:
	iluRt.CaughtUnexpectedException(_call)
    iluRt.BeginReply(_call, iluRt.TRUE, iluRt.BeginSizingReply(_call, iluRt.TRUE) + _imported_modules['Test1']._SizeOf_TheU(_call, _result))
    _imported_modules['Test1']._Output_TheU(_call, _result)
    iluRt.FinishReply(_call)

iluRt.RegisterSkeletons(_imported_modules['Test3'].O._IluClass, (\
  _O__I_to_Test1U,))

class O(iluRt.IluObjTrue):
    _IluClass = _imported_modules['Test3'].O._IluClass

    def I_to_Test1U(_self, i):
	raise iluRt.IluUnimplementedMethodError, 'I-to-Test1U'
