casacore
MSFieldEnums.h
Go to the documentation of this file.
1 //# MSFieldEnums.h: Definitions for the MeasurementSet FIELD table
2 //# Copyright (C) 1996,1999,2000
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 //# $Id$
28 
29 #ifndef MS_MSFIELDENUMS_H
30 #define MS_MSFIELDENUMS_H
31 
32 #include <casacore/casa/aips.h>
33 
34 namespace casacore { //# NAMESPACE CASACORE - BEGIN
35 
36 // <use visibility=export>
37 
38 // <summary> Enums for the MeasurementSet FIELD table </summary>
39 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="" demos="">
40 // </reviewed>
41 // <etymology>
42 // This class contains the enums for the MeasurementSet FIELD table
43 // </etymology>
44 // <synopsis>
45 // This class does nothing. It is merely a container for the enumerations
46 // used by the MSField class. These enumerations define the
47 // standard columns and keywords.
48 // </synopsis>
49 
50 // <example>
51 // See the documentation for MeasurementSet for examples on the use of these
52 // enumerations.
53 // </example>
54 // <todo asof="1999/01/13">
55 // All the todo items which may be related to this class are
56 // grouped with the todo items for MeasurementSet
57 // </todo>
58 //
59 
60 class MSFieldEnums {
61 public:
62  // The FIELD table colums with predefined meaning.
63  // Keys: FIELD_ID, SOURCE_ID
65  // "True" columns are defined.<BR>
66  // TYPE - UNIT - MEASURE
68  // Special characteristics of field, e.g. Bandpass calibrator.
69  // We need to define a standard set that can be used for
70  // automated data reduction.<BR>
71  // String.
72  CODE,
73  // Direction of delay center (e.g. RA, DEC) as polynomial in time.<BR>
74  // Double(2,NUM_POLY+1) - rad - DIRECTION.
76  // Flag for this row <BR>
77  // Bool
79  // Field Name. <BR>
80  // String
82  // Polynomial order for *_DIR columns <BR>
83  // Int
85  // Direction of phase center (e.g. RA, DEC) as polynomial in time<BR>
86  // Double(2,NUM_POLY+1) - rad - DIRECTION.
88  // Direction of reference center (e.g. RA, DEC).<BR>
89  // Double(2,NUM_POLY+1) - rad - DIRECTION.
91  // Source id (index in SOURCE table) <BR>
92  // Int
94  // Time origin for the directions and rates. <BR>
95  // Double - s - EPOCH
97  // Number of required columns
99  // Ephemeris id, pointer to EPHEMERIS table (for moving objects, with
100  // possible ephemeris updates) <BR>
101  // Int
103  // Not a column, but just a final enum specifying the number of enums.
105  };
106 
107  // Keywords with a predefined meaning
109  //
110  // "True" keywords are defined.
112  //
113  // Not a keyword, but just a final enum specifying the number of enums.
115  };
116 };
117 
118 } //# NAMESPACE CASACORE - END
119 
120 #endif
Enums for the MeasurementSet FIELD table.
Definition: MSFieldEnums.h:60
PredefinedKeywords
Keywords with a predefined meaning.
Definition: MSFieldEnums.h:108
@ NUMBER_PREDEFINED_KEYWORDS
Not a keyword, but just a final enum specifying the number of enums.
Definition: MSFieldEnums.h:114
@ UNDEFINED_KEYWORD
"True" keywords are defined.
Definition: MSFieldEnums.h:111
PredefinedColumns
The FIELD table colums with predefined meaning.
Definition: MSFieldEnums.h:64
@ EPHEMERIS_ID
Ephemeris id, pointer to EPHEMERIS table (for moving objects, with possible ephemeris updates) Int.
Definition: MSFieldEnums.h:102
@ NUMBER_PREDEFINED_COLUMNS
Not a column, but just a final enum specifying the number of enums.
Definition: MSFieldEnums.h:104
@ PHASE_DIR
Direction of phase center (e.g.
Definition: MSFieldEnums.h:87
@ REFERENCE_DIR
Direction of reference center (e.g.
Definition: MSFieldEnums.h:90
@ NUM_POLY
Polynomial order for *_DIR columns Int.
Definition: MSFieldEnums.h:84
@ NUMBER_REQUIRED_COLUMNS
Number of required columns.
Definition: MSFieldEnums.h:98
@ UNDEFINED_COLUMN
"True" columns are defined.
Definition: MSFieldEnums.h:67
@ SOURCE_ID
Source id (index in SOURCE table) Int
Definition: MSFieldEnums.h:93
@ DELAY_DIR
Direction of delay center (e.g.
Definition: MSFieldEnums.h:75
@ CODE
Special characteristics of field, e.g.
Definition: MSFieldEnums.h:72
@ FLAG_ROW
Flag for this row Bool.
Definition: MSFieldEnums.h:78
@ TIME
Time origin for the directions and rates.
Definition: MSFieldEnums.h:96
this file contains all the compiler specific defines
Definition: mainpage.dox:28