// javastubs/Test1/ROStub.java
// Stubs for "Test1"
//
// This file was automatically generated with ILU (version 2.0beta1) tools
// at Tue Sep 21 11:47:02 1999 by `nobody'
// running "c:/iluwin/bin/java-stubber.exe" of Tue Sep 21 10:50:42 1999
// on "C:/iluwin/examples/pickle/Test1.isl" of Mon Sep 20 15:54:01 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.



package Test1;


/** 
 * Helper class for an ILU otional type.
 */
public final class ROStub { //ilu-otional

    public static int _szFunc(xerox.ilu.IluCall _call, TheR _a) 
        throws org.omg.CORBA.SystemException
    {
        if (_a==null) {
            return _call.szOptional(false);
        } else {
            return _call.szOptional(true) + TheRHelper._szFunc(_call, ((TheR)_a));
        }
    } //_szFunc

    public static void _outFunc(xerox.ilu.IluCall _call, TheR _a) 
        throws org.omg.CORBA.SystemException
    {
        if (_a==null) {
            _call.outOptional(false);
        } else {
            _call.outOptional(true);
            TheRHelper._outFunc(_call, ((TheR)_a));
        }
    } //_outFunc

    public static TheR _inFunc(xerox.ilu.IluCall _call) 
        throws org.omg.CORBA.SystemException
    {
        if (_call.inOptional()) {
            return TheRHelper._inFunc(_call);
        } else {
            return (null);
        }
    } //_inFunc

    static {
        xerox.ilu.IluTypeRep __t = xerox.ilu.IluTypeRep.registerOptionalType(
            "RO", //name
            "Test1", //islIfName
            null, //islIfBrand
            "ilut:iTDg7u0rHUGeSrN1Luo-ldrz2u0", //uid
            "ilut:bj9z498Taji6KirWtCd2BCnB4it"); //baseUID
    } //static
} //ROStub
