casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
MaskLogiArrFwd.h
Go to the documentation of this file.
00001 //# MaskLogiArrFwd.h: Forwards for MaskedLogicalArrays.
00002 //# Copyright (C) 1994,1995,1999
00003 //# Associated Universities, Inc. Washington DC, USA.
00004 //#
00005 //# This library is free software; you can redistribute it and/or modify it
00006 //# under the terms of the GNU Library General Public License as published by
00007 //# the Free Software Foundation; either version 2 of the License, or (at your
00008 //# option) any later version.
00009 //#
00010 //# This library is distributed in the hope that it will be useful, but WITHOUT
00011 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00012 //# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00013 //# License for more details.
00014 //#
00015 //# You should have received a copy of the GNU Library General Public License
00016 //# along with this library; if not, write to the Free Software Foundation,
00017 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
00018 //#
00019 //# Correspondence concerning AIPS++ should be addressed as follows:
00020 //#        Internet email: aips2-request@nrao.edu.
00021 //#        Postal address: AIPS++ Project Office
00022 //#                        National Radio Astronomy Observatory
00023 //#                        520 Edgemont Road
00024 //#                        Charlottesville, VA 22903-2475 USA
00025 //#
00026 //# $Id: MaskLogiArrFwd.h 20551 2009-03-25 00:11:33Z Malte.Marquarding $
00027 
00028 #ifndef CASA_MASKLOGIARRFWD_H
00029 #define CASA_MASKLOGIARRFWD_H
00030 
00031 //# There is no source file, so this pragma is not needed.
00032 #if 0
00033 #endif
00034 
00035 
00036 #include <casa/aips.h>
00037 #include <casa/Arrays/LogiArrayFwd.h>
00038 
00039 namespace casa { //# NAMESPACE CASA - BEGIN
00040 
00041 // <summary>
00042 //    Forward declarations for MaskedLogicalArrays.
00043 // </summary>
00044 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="tMaskedArray">
00045 //
00046 // <prerequisite>
00047 //   <li> <linkto class=Array>Array</linkto>
00048 //   <li> <linkto class=MaskedArray>MaskedArray</linkto>
00049 //   <li> <linkto group="LogiArray.h#LogicalArray">LogicalArray</linkto>
00050 // </prerequisite>
00051 //
00052 // <etymology>
00053 // MaskLogiArrayFwd is short for MaskedLogicalArrayForwards, which is
00054 // too long by AIPS++ file naming conventions.  It contains forwards
00055 // for MaskedLogicalArrays.
00056 // </etymology>
00057 //
00058 // <synopsis>
00059 // This file contains forward definitions for MaskedLogicalArrays.
00060 // </synopsis>
00061 //
00062 // <motivation>
00063 // There are places where MaskedLogicalArrays cannot be defined, i.e. where
00064 // MaskLogiArr.h cannot be included.  In those places, one must provide
00065 // forward declarations for those objects which one is using.
00066 // This is particularly tricky for MaskedLogicalArrays, since they are not
00067 // classes, but are rather typedefs.  In order to make these forwards
00068 // easier to get correct, and easier to maintain, this file was created.
00069 // If MaskedLogicalArrays should ever be change to a class, only this file would
00070 // need to be changed, instead of every file where the current typedefs
00071 // would have to be changed to class forwards.
00072 // </motivation>
00073 //
00074 // <todo asof="$DATE:$>
00075 //   <li> Consider making these into classes.
00076 //   <li> Consider replacing with builtin boolean class when that
00077 //          makes it into the C++ compiler.
00078 // </todo>
00079 //
00080 // <linkfrom anchor="MaskedLogicalArray forwards" classes="Array MaskedArray">
00081 //    <here>MaskedLogicalArray forwards</here> -- Forward declarations for
00082 //    MaskedLogicalArrays.
00083 // </linkfrom>
00084 //
00085 // <group name="MaskedLogicalArray forwards">
00086 
00087 
00088 //# Forwards
00089 
00090 template<class T> class Array;
00091 template<class T> class MaskedArray;
00092 
00093 
00094 // Define MaskedLogicalArray. 
00095 //
00096 typedef MaskedArray<LogicalArrayElem> MaskedLogicalArray;
00097 
00098 
00099 // </group>
00100 
00101 
00102 } //# NAMESPACE CASA - END
00103 
00104 #endif