tests/libjava-mauve/src/gnu/testlet/org/omg/CORBA/ORB/RF11/F_array_e_c_structHolder.java
branchjk_new_structure
changeset 1541 75c2e24dea9a
parent 1540 92ac284961c1
child 1542 be11db817bcf
equal deleted inserted replaced
1540:92ac284961c1 1541:75c2e24dea9a
     1 // Copyright (c) 2000, 2001 NEC Corporation.
       
     2 
       
     3 // Adapted for Mauve by Audrius Meskauskas <audriusa@bluewin.ch>
       
     4 
       
     5 // This file is part of Mauve.
       
     6 
       
     7 // Mauve is free software; you can redistribute it and/or modify
       
     8 // it under the terms of the GNU General Public License as published by
       
     9 // the Free Software Foundation; either version 2, or (at your option)
       
    10 // any later version.
       
    11 
       
    12 // Mauve is distributed in the hope that it will be useful,
       
    13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    15 // GNU General Public License for more details.
       
    16 
       
    17 // You should have received a copy of the GNU General Public License
       
    18 // along with Mauve; see the file COPYING.  If not, write to
       
    19 // the Free Software Foundation, 59 Temple Place - Suite 330,
       
    20 // Boston, MA 02111-1307, USA.
       
    21 
       
    22 /*
       
    23 This code originally came from the OMG's CORBA Open Source Testing project,
       
    24 which lived at cost.omg.org. That site no longer exists.
       
    25 
       
    26 All the contributing companies agreed to release their tests under the
       
    27 terms of the GNU Lesser General Public License, available in the file
       
    28 COPYING.LIB.
       
    29 
       
    30 The code has been modified integrating into Mauve test environment and
       
    31 removing tests that are not yet supported by Suns jre 1.4. Hence the license
       
    32 is now GPL.
       
    33 
       
    34 We downloaded the code from http://sourceforge.net/projects/corba-cost/,
       
    35 administrated by Duncan Grisby.
       
    36 */
       
    37 
       
    38 package gnu.testlet.org.omg.CORBA.ORB.RF11;
       
    39 
       
    40 public final class F_array_e_c_structHolder
       
    41   implements org.omg.CORBA.portable.Streamable
       
    42 {
       
    43   public C_struct[] value = null;
       
    44 
       
    45   public F_array_e_c_structHolder()
       
    46   {
       
    47   }
       
    48 
       
    49   public F_array_e_c_structHolder(C_struct[] initialValue)
       
    50   {
       
    51     value = initialValue;
       
    52   }
       
    53 
       
    54   public void _read(org.omg.CORBA.portable.InputStream i)
       
    55   {
       
    56     value = F_array_e_c_structHelper.read(i);
       
    57   }
       
    58 
       
    59   public void _write(org.omg.CORBA.portable.OutputStream o)
       
    60   {
       
    61     F_array_e_c_structHelper.write(o, value);
       
    62   }
       
    63 
       
    64   public org.omg.CORBA.TypeCode _type()
       
    65   {
       
    66     return F_array_e_c_structHelper.type();
       
    67   }
       
    68 }