casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ImageTypedefs.h
Go to the documentation of this file.
1 //# ImageTypedefs.h
2 //# Copyright (C) 1998,1999,2000,2001
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 
27 #ifndef IMAGETYPEDEFS_H_
28 #define IMAGETYPEDEFS_H_
29 
30 #include <casa/aipstype.h>
33 
34 #define SPIIT std::shared_ptr<casacore::ImageInterface<T>>
35 #define SPCIIT std::shared_ptr<const casacore::ImageInterface<T>>
36 
37 #define SPIIU std::shared_ptr<casacore::ImageInterface<U>>
38 #define SPCIIU std::shared_ptr<const casacore::ImageInterface<U>>
39 
40 #define SPIICT std::shared_ptr<casacore::ImageInterface<ComplexType>>
41 #define SPIIRT std::shared_ptr<casacore::ImageInterface<RealType>>
42 
43 namespace casacore{
44 
45  template<class T> class ImageInterface;
46 }
47 
48 namespace casa {
49 
50  using SPCIIF = std::shared_ptr<const casacore::ImageInterface<casacore::Float> >;
51  using SPIIF = std::shared_ptr<casacore::ImageInterface<casacore::Float> >;
52  using SPCIIC = std::shared_ptr<const casacore::ImageInterface<casacore::Complex> >;
53  using SPIIC = std::shared_ptr<casacore::ImageInterface<casacore::Complex> >;
54  using SPCIID = std::shared_ptr<const casacore::ImageInterface<casacore::Double> >;
55  using SPIID = std::shared_ptr<casacore::ImageInterface<casacore::Double> >;
56  using SPCIIDC = std::shared_ptr<const casacore::ImageInterface<casacore::DComplex> >;
57  using SPIIDC = std::shared_ptr<casacore::ImageInterface<casacore::DComplex> >;
58  using ITUPLE = std::tuple<SPIIF, SPIIC, SPIID, SPIIDC>;
59 }
60 
61 #endif
std::tuple< SPIIF, SPIIC, SPIID, SPIIDC > ITUPLE
Definition: ImageTypedefs.h:58
std::shared_ptr< const casacore::ImageInterface< casacore::Complex > > SPCIIC
Definition: ImageTypedefs.h:52
std::shared_ptr< casacore::ImageInterface< casacore::Complex > > SPIIC
Definition: ImageTypedefs.h:53
std::shared_ptr< casacore::ImageInterface< casacore::DComplex > > SPIIDC
Definition: ImageTypedefs.h:57
std::shared_ptr< const casacore::ImageInterface< casacore::Float > > SPCIIF
Definition: ImageTypedefs.h:50
std::shared_ptr< casacore::ImageInterface< casacore::Double > > SPIID
Definition: ImageTypedefs.h:55
std::shared_ptr< const casacore::ImageInterface< casacore::Double > > SPCIID
Definition: ImageTypedefs.h:54
std::shared_ptr< casacore::ImageInterface< casacore::Float > > SPIIF
Definition: ImageTypedefs.h:51
std::shared_ptr< const casacore::ImageInterface< casacore::DComplex > > SPCIIDC
Definition: ImageTypedefs.h:56
#define casacore
&lt;X11/Intrinsic.h&gt; #defines true, false, casacore::Bool, and String.
Definition: X11Intrinsic.h:42