casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MaskLogiArrFwd.h
Go to the documentation of this file.
1 //# MaskLogiArrFwd.h: Forwards for MaskedLogicalArrays.
2 //# Copyright (C) 1994,1995,1999
3 //# Associated Universities, Inc. Washington DC, USA.
4 //#
5 //# This library is free software; you can redistribute it and/or modify it
6 //# under the terms of the GNU Library General Public License as published by
7 //# the Free Software Foundation; either version 2 of the License, or (at your
8 //# option) any later version.
9 //#
10 //# This library is distributed in the hope that it will be useful, but WITHOUT
11 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13 //# License for more details.
14 //#
15 //# You should have received a copy of the GNU Library General Public License
16 //# along with this library; if not, write to the Free Software Foundation,
17 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
18 //#
19 //# Correspondence concerning AIPS++ should be addressed as follows:
20 //# Internet email: aips2-request@nrao.edu.
21 //# Postal address: AIPS++ Project Office
22 //# National Radio Astronomy Observatory
23 //# 520 Edgemont Road
24 //# Charlottesville, VA 22903-2475 USA
25 //#
26 //# $Id$
27 
28 #ifndef CASA_MASKLOGIARRFWD_H
29 #define CASA_MASKLOGIARRFWD_H
30 
31 //# There is no source file, so this pragma is not needed.
32 #if 0
33 #endif
34 
35 
36 #include <casacore/casa/aips.h>
38 
39 namespace casacore { //# NAMESPACE CASACORE - BEGIN
40 
41 // <summary>
42 // Forward declarations for MaskedLogicalArrays.
43 // </summary>
44 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="tMaskedArray">
45 //
46 // <prerequisite>
47 // <li> <linkto class=Array>Array</linkto>
48 // <li> <linkto class=MaskedArray>MaskedArray</linkto>
49 // <li> <linkto group="LogiArray.h#LogicalArray">LogicalArray</linkto>
50 // </prerequisite>
51 //
52 // <etymology>
53 // MaskLogiArrayFwd is short for MaskedLogicalArrayForwards, which is
54 // too long by the old AIPS++ file naming conventions.
55 // It contains forwards for MaskedLogicalArrays.
56 // </etymology>
57 //
58 // <synopsis>
59 // This file contains forward definitions for MaskedLogicalArrays.
60 // </synopsis>
61 //
62 // <motivation>
63 // There are places where MaskedLogicalArrays cannot be defined, i.e. where
64 // MaskLogiArr.h cannot be included. In those places, one must provide
65 // forward declarations for those objects which one is using.
66 // This is particularly tricky for MaskedLogicalArrays, since they are not
67 // classes, but are rather typedefs. In order to make these forwards
68 // easier to get correct, and easier to maintain, this file was created.
69 // If MaskedLogicalArrays should ever be change to a class, only this file would
70 // need to be changed, instead of every file where the current typedefs
71 // would have to be changed to class forwards.
72 // </motivation>
73 //
74 // <todo asof="$DATE:$>
75 // <li> Consider making these into classes.
76 // <li> Consider replacing with builtin boolean class when that
77 // makes it into the C++ compiler.
78 // </todo>
79 //
80 // <linkfrom anchor="MaskedLogicalArray forwards" classes="Array MaskedArray">
81 // <here>MaskedLogicalArray forwards</here> -- Forward declarations for
82 // MaskedLogicalArrays.
83 // </linkfrom>
84 //
85 // <group name="MaskedLogicalArray forwards">
86 
87 
88 //# Forwards
89 
90 template<class T> class Array;
91 template<class T> class MaskedArray;
92 
93 
94 // Define MaskedLogicalArray.
95 //
97 
98 
99 // </group>
100 
101 
102 } //# NAMESPACE CASACORE - END
103 
104 #endif
MaskedArray< LogicalArrayElem > MaskedLogicalArray
Define MaskedLogicalArray.
#define casacore
&lt;X11/Intrinsic.h&gt; #defines true, false, casacore::Bool, and String.
Definition: X11Intrinsic.h:42