Line data Source code
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(_CALIBRATIONDEVICE_H) 16 : 17 : #include <alma/Enumerations/CCalibrationDevice.h> 18 : #define _CALIBRATIONDEVICE_H 19 : #endif 20 : 21 : #if !defined(_CALIBRATIONDEVICE_HH) 22 : 23 : #include <alma/Enumtcl/Enum.hpp> 24 : 25 : template<> 26 : struct enum_set_traits<CalibrationDeviceMod::CalibrationDevice> : public enum_set_traiter<CalibrationDeviceMod::CalibrationDevice,7,CalibrationDeviceMod::NONE> {}; 27 : 28 : template<> 29 : class enum_map_traits<CalibrationDeviceMod::CalibrationDevice,void> : public enum_map_traiter<CalibrationDeviceMod::CalibrationDevice,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 1 : static bool init(){ 37 1 : EnumPar<void> ep; 38 2 : m_.insert(std::pair<CalibrationDeviceMod::CalibrationDevice,EnumPar<void> > 39 1 : (CalibrationDeviceMod::AMBIENT_LOAD,ep((int)CalibrationDeviceMod::AMBIENT_LOAD,"AMBIENT_LOAD","un-documented"))); 40 2 : m_.insert(std::pair<CalibrationDeviceMod::CalibrationDevice,EnumPar<void> > 41 1 : (CalibrationDeviceMod::COLD_LOAD,ep((int)CalibrationDeviceMod::COLD_LOAD,"COLD_LOAD","un-documented"))); 42 2 : m_.insert(std::pair<CalibrationDeviceMod::CalibrationDevice,EnumPar<void> > 43 1 : (CalibrationDeviceMod::HOT_LOAD,ep((int)CalibrationDeviceMod::HOT_LOAD,"HOT_LOAD","un-documented"))); 44 2 : m_.insert(std::pair<CalibrationDeviceMod::CalibrationDevice,EnumPar<void> > 45 1 : (CalibrationDeviceMod::NOISE_TUBE_LOAD,ep((int)CalibrationDeviceMod::NOISE_TUBE_LOAD,"NOISE_TUBE_LOAD","un-documented"))); 46 2 : m_.insert(std::pair<CalibrationDeviceMod::CalibrationDevice,EnumPar<void> > 47 1 : (CalibrationDeviceMod::QUARTER_WAVE_PLATE,ep((int)CalibrationDeviceMod::QUARTER_WAVE_PLATE,"QUARTER_WAVE_PLATE","un-documented"))); 48 2 : m_.insert(std::pair<CalibrationDeviceMod::CalibrationDevice,EnumPar<void> > 49 1 : (CalibrationDeviceMod::SOLAR_FILTER,ep((int)CalibrationDeviceMod::SOLAR_FILTER,"SOLAR_FILTER","un-documented"))); 50 2 : m_.insert(std::pair<CalibrationDeviceMod::CalibrationDevice,EnumPar<void> > 51 1 : (CalibrationDeviceMod::NONE,ep((int)CalibrationDeviceMod::NONE,"NONE","un-documented"))); 52 2 : return true; 53 : } 54 : static std::map<CalibrationDeviceMod::CalibrationDevice,EnumPar<void> > m_; 55 : }; 56 : #define _CALIBRATIONDEVICE_HH 57 : #endif