casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
ViColumns2.h
Go to the documentation of this file.
00001 #if ! defined (ViColumns_H_121126_1506)
00002 #define ViColumns_H_121126_1506
00003 
00004 #include <casa/aips.h>
00005 #include <tables/Tables/ArrayColumn.h>
00006 #include <tables/Tables/ScalarColumn.h>
00007 
00008 
00009 namespace casa {
00010 
00011 namespace vi {
00012 
00013 class ViColumns2 {
00014 
00015 public:
00016 
00017     ViColumns2 ();
00018     ViColumns2 & operator= (const ViColumns2 & other);
00019 
00020     void attachColumns (const Table & t, bool attachSpecialColumns = True);
00021 
00022 
00023     ScalarColumn<Int>    antenna1_p;
00024     ScalarColumn<Int>    antenna2_p;
00025     ScalarColumn<Int>    array_p;
00026     ArrayColumn<Complex> corrVis_p;
00027     ScalarColumn<Int>    dataDescription_p;
00028     ScalarColumn<Double> exposure_p;
00029     ScalarColumn<Int>    feed1_p;
00030     ScalarColumn<Int>    feed2_p;
00031     ScalarColumn<Int>    field_p;
00032     ArrayColumn<Bool>    flagCategory_p;
00033     ScalarColumn<Bool>   flagRow_p;
00034     ArrayColumn<Bool>    flag_p;
00035     ArrayColumn<Float>   floatVis_p;
00036     ArrayColumn<Complex> modelVis_p;
00037     ScalarColumn<Int>    observation_p;
00038     ScalarColumn<Int>    processor_p;
00039     ScalarColumn<Int>    scan_p;
00040     ArrayColumn<Float>   sigma_p;
00041     ScalarColumn<Int>    state_p;
00042     ScalarColumn<Double> timeCentroid_p;
00043     ScalarColumn<Double> timeInterval_p;
00044     ScalarColumn<Double> time_p;
00045     ArrayColumn<Double>  uvw_p;
00046     ArrayColumn<Complex> vis_p;
00047     ArrayColumn<Float>   weightSpectrum_p;
00048     ArrayColumn<Float>   weight_p;
00049 
00050     Bool isFloatDataPresent () const;
00051 
00052 private:
00053 
00054     Bool floatDataFound_p;
00055 
00056 };
00057 
00058 } // namespace vi
00059 
00060 } // end namespace casa
00061 
00062 #endif // ! defined (ViColumns_H_121126_1506)