Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

array.h

00001 // 00002 // array.h 00003 // 00004 // Copyright (C) 1996 Limit Point Systems, Inc. 00005 // 00006 // Author: Curtis Janssen <cljanss@ca.sandia.gov> 00007 // Maintainer: LPS 00008 // 00009 // This file is part of the SC Toolkit. 00010 // 00011 // The SC Toolkit is free software; you can redistribute it and/or modify 00012 // it under the terms of the GNU Library General Public License as published by 00013 // the Free Software Foundation; either version 2, or (at your option) 00014 // any later version. 00015 // 00016 // The SC Toolkit is distributed in the hope that it will be useful, 00017 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 // GNU Library General Public License for more details. 00020 // 00021 // You should have received a copy of the GNU Library General Public License 00022 // along with the SC Toolkit; see the file COPYING.LIB. If not, write to 00023 // the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 00024 // 00025 // The U.S. Government is granted a limited license as per AL 91-7. 00026 // 00027 00028 #ifdef __GNUC__ 00029 #pragma interface 00030 #endif 00031 00032 #ifndef _util_container_array_h 00033 #define _util_container_array_h 00034 00035 #include <iostream> 00036 #include <iomanip> 00037 #include <stdlib.h> 00038 00039 #include <util/misc/exenv.h> 00040 00041 // Simple array template and macro classes. 00042 #include <util/container/artem.h> 00043 #include <util/container/armac.h> 00044 #define ARRAY_dec(Type) Array_declare(Type) 00045 #define ARRAY_def(Type) 00046 00047 #include <util/state/statein.h> 00048 #include <util/state/stateout.h> 00049 #include <util/container/ssartem.h> 00050 #include <util/container/ssarmac.h> 00051 #define SSB_ARRAY_dec(Type) SSBArray_declare(Type) 00052 #define SSB_ARRAY_def(Type) 00053 00054 // Two dimensional versions of the above class. 00055 #include <util/container/ar2tem.h> 00056 #include <util/container/ar2mac.h> 00057 #define ARRAY2_dec(Type) Array2_declare(Type) 00058 #define ARRAY2_def(Type) 00059 00060 #include <util/container/ssar2tem.h> 00061 #include <util/container/ssar2mac.h> 00062 #define SSB_ARRAY2_dec(Type) SSBArray2_declare(Type) 00063 #define SSB_ARRAY2_def(Type) 00064 00065 // Declare arrays of the basic types. 00066 // The SSB versions cannot be declared because state.h cannot be included 00067 // yet. Use the template versions instead. 00068 00069 namespace sc { 00070 00071 ARRAY_dec(int); 00072 ARRAY2_dec(int); 00073 00074 ARRAY_dec(Arrayint); 00075 00076 ARRAY_dec(double); 00077 ARRAY2_dec(double); 00078 00079 ARRAY_dec(Arraydouble); 00080 00081 } 00082 00083 #endif

Generated at Sat Dec 18 15:14:20 2004 for MPQC 2.2.3 using the documentation package Doxygen 1.3.7-20040617.