//////////////////////////////////////////////////////////////////////////////
//                                                                          //
//                         GNAT COMPILER COMPONENTS                         //
//                                                                          //
//                                  A c c                                   //
//                                                                          //
//                            $Revision: 1.3 $                              //
//                                                                          //
//          Copyright (C) 1998-2000 Ada Core Technologies, Inc.             //
//                                                                          //
// GNAT is free software;  you can  redistribute it  and/or modify it under //
// terms of the  GNU General Public License as published  by the Free Soft- //
// ware  Foundation;  either version 2,  or (at your option) any later ver- //
// sion.  GNAT is distributed in the hope that it will be useful, but WITH- //
// OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY //
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License //
// for  more details.  You should have  received  a copy of the GNU General //
// Public License  distributed with GNAT;  see file COPYING.  If not, write //
// to  the Free Software Foundation,  59 Temple Place - Suite 330,  Boston, //
// MA 02111-1307, USA.                                                      //
//                                                                          //
// JGNAT - The GNAT Ada 95 toolchain for the Java Virtual Machine is        //
//         maintained by Ada Core Technologies, Inc. - http://www.gnat.com  //
//                                                                          //
//////////////////////////////////////////////////////////////////////////////

// This Java class is part of the JGNAT library and it's used to implement
// access to access types. It must be marked Serializeable because of the way
// Ada.Sequential_IO and Ada.Direct_IO are implemented. See the body of these
// packages for more information.
using System;
namespace mgnat.adalib {

#if !COMPACT
[Serializable]
#endif
public class Acc {
      [NonSerialized()]
      public Object all;
   //  This field must be marked transient because we do not want to write the
   //  content of an access types out to a file while doing Sequential_IO or
   //  Direct_IO. In addition this ensures that the value "null" is used to
   //  initialize the field to "null" when performing Sequential_IO or
   //  Direct_IO read operations.
}
}
