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 2 : static bool init(){ 37 2 : EnumPar<void> ep; 38 6 : m_.insert(std::pair<CalibrationDeviceMod::CalibrationDevice,EnumPar<void> > 39 4 : (CalibrationDeviceMod::AMBIENT_LOAD,ep((int)CalibrationDeviceMod::AMBIENT_LOAD,"AMBIENT_LOAD","un-documented"))); 40 6 : m_.insert(std::pair<CalibrationDeviceMod::CalibrationDevice,EnumPar<void> > 41 4 : (CalibrationDeviceMod::COLD_LOAD,ep((int)CalibrationDeviceMod::COLD_LOAD,"COLD_LOAD","un-documented"))); 42 6 : m_.insert(std::pair<CalibrationDeviceMod::CalibrationDevice,EnumPar<void> > 43 4 : (CalibrationDeviceMod::HOT_LOAD,ep((int)CalibrationDeviceMod::HOT_LOAD,"HOT_LOAD","un-documented"))); 44 6 : m_.insert(std::pair<CalibrationDeviceMod::CalibrationDevice,EnumPar<void> > 45 4 : (CalibrationDeviceMod::NOISE_TUBE_LOAD,ep((int)CalibrationDeviceMod::NOISE_TUBE_LOAD,"NOISE_TUBE_LOAD","un-documented"))); 46 6 : m_.insert(std::pair<CalibrationDeviceMod::CalibrationDevice,EnumPar<void> > 47 4 : (CalibrationDeviceMod::QUARTER_WAVE_PLATE,ep((int)CalibrationDeviceMod::QUARTER_WAVE_PLATE,"QUARTER_WAVE_PLATE","un-documented"))); 48 6 : m_.insert(std::pair<CalibrationDeviceMod::CalibrationDevice,EnumPar<void> > 49 4 : (CalibrationDeviceMod::SOLAR_FILTER,ep((int)CalibrationDeviceMod::SOLAR_FILTER,"SOLAR_FILTER","un-documented"))); 50 6 : m_.insert(std::pair<CalibrationDeviceMod::CalibrationDevice,EnumPar<void> > 51 4 : (CalibrationDeviceMod::NONE,ep((int)CalibrationDeviceMod::NONE,"NONE","un-documented"))); 52 2 : return true; 53 2 : } 54 : static std::map<CalibrationDeviceMod::CalibrationDevice,EnumPar<void> > m_; 55 : }; 56 : #define _CALIBRATIONDEVICE_HH 57 : #endif