casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
MSHistoryEnums.h
Go to the documentation of this file.
00001 //# MSHistoryEnums.h: Defns for the MeasurementSet HISTORY table
00002 //# Copyright (C) 1996,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: MSHistoryEnums.h 18093 2004-11-30 17:51:10Z ddebonis $
00028 
00029 #ifndef MS_MSHISTORYENUMS_H
00030 #define MS_MSHISTORYENUMS_H
00031 
00032 namespace casa { //# NAMESPACE CASA - BEGIN
00033 
00034 // <use visibility=export>
00035 
00036 // <summary> Enums for the MeasurementSet HISTORY table </summary>
00037 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="" demos="">
00038 // </reviewed>
00039 // <etymology>
00040 // This class contains the enums for the MeasurementSet HISTORY table
00041 // </etymology>
00042 // <synopsis>
00043 // This class does nothing.  It is merely a container for the enumerations
00044 // used by the MSHistory class.  These enumerations define the
00045 // standard columns, keywords.
00046 // </synopsis>
00047 
00048 // <example>
00049 // See the documentation for MeasurementSet for examples on the use of these
00050 // enumerations.
00051 // </example>
00052 // <todo asof="1999/01/14">
00053 // All the todo items which may be related to this class are
00054 // grouped with the todo items for MeasurementSet
00055 // </todo>
00056 //
00057 
00058 class MSHistoryEnums {
00059 public:
00060     // The HISTORY table colums with predefined meaning.
00061     // Keys: TIME, OBSERVATION_ID
00062     enum PredefinedColumns {
00063     // "True" columns are defined.<BR>
00064     // TYPE - UNIT - MEASURE
00065     UNDEFINED_COLUMN=0,
00066     // Application name <BR>
00067     // String
00068     APPLICATION,
00069     // Application parameters <BR>
00070     // String(*)
00071     APP_PARAMS,
00072     // CLI command sequence <BR>
00073     // String(*)
00074     CLI_COMMAND,
00075     // Log message <BR>
00076     // String
00077     MESSAGE,
00078     // Originating object ID <BR>
00079     // String
00080     OBJECT_ID,
00081     // Observation id (index in OBSERVATION table) <BR>
00082     // Int
00083     OBSERVATION_ID,
00084     // (Source code) Origin of message <BR>
00085     // String
00086     ORIGIN,
00087     // Priority of message: DEBUGGING, WARN, NORMAL, SEVERE <BR>
00088     // String
00089     PRIORITY,
00090     // Timestamp of message <BR>
00091     // Double - s - EPOCH
00092     TIME,
00093     //
00094     // Number of required columns
00095     NUMBER_REQUIRED_COLUMNS=TIME,
00096     // Not a column, but just a final enum specifying the number of enums.
00097     NUMBER_PREDEFINED_COLUMNS=NUMBER_REQUIRED_COLUMNS
00098     };
00099   
00100     // Keywords with a predefined meaning
00101     enum PredefinedKeywords {
00102     //
00103     // "True" keywords are defined. 
00104     UNDEFINED_KEYWORD=0,
00105     //
00106     // Not a keyword, but just a final enum specifying the number of enums.
00107     NUMBER_PREDEFINED_KEYWORDS=0
00108     };
00109 };
00110 
00111 } //# NAMESPACE CASA - END
00112 
00113 #endif