casa
$Rev:20696$
|
00001 //# MSFreqOffsetEnums.h: Defs for the MS FREQ_OFFSET table 00002 //# Copyright (C) 1999,2000 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 //# 00027 //# $Id: MSFreqOffEnums.h 18093 2004-11-30 17:51:10Z ddebonis $ 00028 00029 #ifndef MS_MSFREQOFFENUMS_H 00030 #define MS_MSFREQOFFENUMS_H 00031 00032 #include <casa/aips.h> 00033 00034 namespace casa { //# NAMESPACE CASA - BEGIN 00035 00036 // <use visibility=export> 00037 00038 // <summary> Enums for the MeasurementSet FREQ_OFFSET table </summary> 00039 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="" demos=""> 00040 // </reviewed> 00041 // <etymology> 00042 // This class contains the enums for the MeasurementSet FREQ_OFFSET table 00043 // </etymology> 00044 // <synopsis> 00045 // This class does nothing. It is merely a container for the enumerations 00046 // used by the MSFreqOffset class. These enumerations define the 00047 // standard columns, keywords. 00048 // </synopsis> 00049 00050 // <example> 00051 // See the documentation for MeasurementSet for examples on the use of these 00052 // enumerations. 00053 // </example> 00054 // <todo asof="1999/01/14"> 00055 // All the todo items which may be related to this class are 00056 // grouped with the todo items for MeasurementSet 00057 // </todo> 00058 // 00059 00060 class MSFreqOffsetEnums { 00061 public: 00062 // The FREQ_OFFSET table colums with predefined meaning. 00063 enum PredefinedColumns { 00064 // "True" columns are defined.<BR> 00065 // TYPE - UNIT - MEASURE 00066 UNDEFINED_COLUMN=0, 00067 // Antenna 1 id <BR> 00068 // Int 00069 ANTENNA1, 00070 // Antenna 2 id <BR> 00071 // Int 00072 ANTENNA2, 00073 // Feed id <BR> 00074 // Int 00075 FEED_ID, 00076 // Time interval <BR> 00077 // Double - s 00078 INTERVAL, 00079 // Frequency offset <BR> 00080 // Double - Hz 00081 OFFSET, 00082 // Spectral window id <BR> 00083 // Int 00084 SPECTRAL_WINDOW_ID, 00085 // Midpoint of time interval <BR> 00086 // Double - s - EPOCH 00087 TIME, 00088 // Number of required columns 00089 NUMBER_REQUIRED_COLUMNS=TIME, 00090 // Not a column, but just a final enum specifying the number of enums. 00091 NUMBER_PREDEFINED_COLUMNS=NUMBER_REQUIRED_COLUMNS 00092 }; 00093 00094 // Keywords with a predefined meaning 00095 enum PredefinedKeywords { 00096 // 00097 // "True" keywords are defined. 00098 UNDEFINED_KEYWORD=0, 00099 // 00100 // Not a keyword, but just a final enum specifying the number of enums. 00101 NUMBER_PREDEFINED_KEYWORDS=0 00102 }; 00103 }; 00104 00105 } //# NAMESPACE CASA - END 00106 00107 #endif