Source
22
22
//# National Radio Astronomy Observatory
23
23
//# 520 Edgemont Road
24
24
//# Charlottesville, VA 22903-2475 USA
25
25
//#
26
26
//#
27
27
//# $Id$
28
28
29
29
#ifndef CALIBRATION_NEWCALTABLENUMS_H
30
30
#define CALIBRATION_NEWCALTABLENUMS_H
31
31
32
+
#include <map>
32
33
#include <casa/aips.h>
33
34
#include <casa/Containers/SimOrdMap.h>
34
35
#include <casa/Containers/Block.h>
35
36
#include <casa/Arrays/Vector.h>
36
37
#include <casa/BasicSL/String.h>
37
38
#include <casa/Utilities/DataType.h>
38
39
39
40
namespace casa { //# NAMESPACE CASA - BEGIN
40
41
41
42
// <summary>
125
126
static casacore::String fieldName (casacore::Int enumField);
126
127
static casacore::Block<casacore::String> fieldNames (const casacore::Vector<casacore::Int>& enumFields);
127
128
static casacore::DataType basicType (casacore::Int enumField);
128
129
129
130
private:
130
131
// Initialize the static maps
131
132
static void initMaps();
132
133
133
134
// Static ordered maps containing field descriptions
134
135
// Enum => Field Name
135
-
static casacore::SimpleOrderedMap <casacore::Int, casacore::String> theirFieldMap;
136
+
static std::map <casacore::Int, casacore::String> theirFieldMap;
136
137
// Enum => Basic data type
137
-
static casacore::SimpleOrderedMap <casacore::Int, casacore::DataType> theirTypeMap;
138
+
static std::map <casacore::Int, casacore::DataType> theirTypeMap;
138
139
};
139
140
140
141
141
142
} //# NAMESPACE CASA - END
142
143
143
144
#endif