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


/** 
 * Class representing an ILU array type.
 */
public final class TheA1 { 
  public static int szFunc(xerox.ilu.IluCall _call, java.lang.String[] _value)
    throws org.omg.CORBA.SystemException {
        int _size = _call.szArray(3);
        for (int _i0 = 0; _i0 < 3; _i0++) {
            _size += _call.szString8(_value[_i0], 0);
        }
    _call.endArray();
    return _size;
  }

  public static void outFunc(xerox.ilu.IluCall _call, java.lang.String[] _value)
    throws org.omg.CORBA.SystemException {
        _call.outArray(3);
        if (_value.length != 3)
            throw new org.omg.CORBA.BAD_PARAM("bad array length");
        for (int _i0 = 0; _i0 < 3; _i0++) {
                        _call.outString8(_value[_i0], 0);
        }
    _call.endArray();
  }

  public static java.lang.String[] inFunc(xerox.ilu.IluCall _call)
    throws org.omg.CORBA.SystemException {
    _call.inArray();
    java.lang.String[] _value = new java.lang.String[3];
    for (int _i0 = 0; _i0 < 3; _i0++)
        _value[_i0] = _call.inString8(0);
    _call.endArray();
    return _value;
  }

    static{
        int[] dims = new int[1];
        dims[0] = 3;
        xerox.ilu.IluTypeRep.registerArrayType(
            "TheA1", //name
            "Test1", //islIfName
            null, //islIfBrand
            "ilut:luz7VSfeFa1pqQKgDlB9oQ-uM6Z", //uid
            "ilut:iqqhSf395+BafbY8Oo2elFQD1bK", //baseUID
            1, //dimcnt
            dims); //dims
    }//static
}// TheA1
