casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SpectralResolutionType.h
Go to the documentation of this file.
1 /*
2  *
3  * /////////////////////////////////////////////////////////////////
4  * // WARNING! DO NOT MODIFY THIS FILE! //
5  * // --------------------------------------------------------- //
6  * // | This is generated code using a C++ template function! | //
7  * // ! Do not modify this file. | //
8  * // | Any changes will be lost when the file is re-generated. | //
9  * // --------------------------------------------------------- //
10  * /////////////////////////////////////////////////////////////////
11  *
12  */
13 
14 
15 #if !defined(_SPECTRALRESOLUTIONTYPE_H)
16 
18 #define _SPECTRALRESOLUTIONTYPE_H
19 #endif
20 
21 #if !defined(_SPECTRALRESOLUTIONTYPE_HH)
22 
23 #include <alma/Enumtcl/Enum.hpp>
24 
25 template<>
26  struct enum_set_traits<SpectralResolutionTypeMod::SpectralResolutionType> : public enum_set_traiter<SpectralResolutionTypeMod::SpectralResolutionType,3,SpectralResolutionTypeMod::FULL_RESOLUTION> {};
27 
28 template<>
29 class enum_map_traits<SpectralResolutionTypeMod::SpectralResolutionType,void> : public enum_map_traiter<SpectralResolutionTypeMod::SpectralResolutionType,void> {
30 public:
31  static bool init_;
32  static std::string typeName_;
33  static std::string enumerationDesc_;
34  static std::string order_;
35  static std::string xsdBaseType_;
36  static bool init(){
37  EnumPar<void> ep;
38  m_.insert(std::pair<SpectralResolutionTypeMod::SpectralResolutionType,EnumPar<void> >
39  (SpectralResolutionTypeMod::CHANNEL_AVERAGE,ep((int)SpectralResolutionTypeMod::CHANNEL_AVERAGE,"CHANNEL_AVERAGE","un-documented")));
40  m_.insert(std::pair<SpectralResolutionTypeMod::SpectralResolutionType,EnumPar<void> >
41  (SpectralResolutionTypeMod::BASEBAND_WIDE,ep((int)SpectralResolutionTypeMod::BASEBAND_WIDE,"BASEBAND_WIDE","un-documented")));
42  m_.insert(std::pair<SpectralResolutionTypeMod::SpectralResolutionType,EnumPar<void> >
43  (SpectralResolutionTypeMod::FULL_RESOLUTION,ep((int)SpectralResolutionTypeMod::FULL_RESOLUTION,"FULL_RESOLUTION","un-documented")));
44  return true;
45  }
46  static std::map<SpectralResolutionTypeMod::SpectralResolutionType,EnumPar<void> > m_;
47 };
48 #define _SPECTRALRESOLUTIONTYPE_HH
49 #endif
static std::map< SpectralResolutionTypeMod::SpectralResolutionType, EnumPar< void > > m_