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(_SIDEBANDPROCESSINGMODE_H) 16 : 17 : #include <alma/Enumerations/CSidebandProcessingMode.h> 18 : #define _SIDEBANDPROCESSINGMODE_H 19 : #endif 20 : 21 : #if !defined(_SIDEBANDPROCESSINGMODE_HH) 22 : 23 : #include <alma/Enumtcl/Enum.hpp> 24 : 25 : template<> 26 : struct enum_set_traits<SidebandProcessingModeMod::SidebandProcessingMode> : public enum_set_traiter<SidebandProcessingModeMod::SidebandProcessingMode,5,SidebandProcessingModeMod::FREQUENCY_OFFSET_REJECTION> {}; 27 : 28 : template<> 29 : class enum_map_traits<SidebandProcessingModeMod::SidebandProcessingMode,void> : public enum_map_traiter<SidebandProcessingModeMod::SidebandProcessingMode,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<SidebandProcessingModeMod::SidebandProcessingMode,EnumPar<void> > 39 4 : (SidebandProcessingModeMod::NONE,ep((int)SidebandProcessingModeMod::NONE,"NONE","un-documented"))); 40 6 : m_.insert(std::pair<SidebandProcessingModeMod::SidebandProcessingMode,EnumPar<void> > 41 4 : (SidebandProcessingModeMod::PHASE_SWITCH_SEPARATION,ep((int)SidebandProcessingModeMod::PHASE_SWITCH_SEPARATION,"PHASE_SWITCH_SEPARATION","un-documented"))); 42 6 : m_.insert(std::pair<SidebandProcessingModeMod::SidebandProcessingMode,EnumPar<void> > 43 4 : (SidebandProcessingModeMod::FREQUENCY_OFFSET_SEPARATION,ep((int)SidebandProcessingModeMod::FREQUENCY_OFFSET_SEPARATION,"FREQUENCY_OFFSET_SEPARATION","un-documented"))); 44 6 : m_.insert(std::pair<SidebandProcessingModeMod::SidebandProcessingMode,EnumPar<void> > 45 4 : (SidebandProcessingModeMod::PHASE_SWITCH_REJECTION,ep((int)SidebandProcessingModeMod::PHASE_SWITCH_REJECTION,"PHASE_SWITCH_REJECTION","un-documented"))); 46 6 : m_.insert(std::pair<SidebandProcessingModeMod::SidebandProcessingMode,EnumPar<void> > 47 4 : (SidebandProcessingModeMod::FREQUENCY_OFFSET_REJECTION,ep((int)SidebandProcessingModeMod::FREQUENCY_OFFSET_REJECTION,"FREQUENCY_OFFSET_REJECTION","un-documented"))); 48 2 : return true; 49 2 : } 50 : static std::map<SidebandProcessingModeMod::SidebandProcessingMode,EnumPar<void> > m_; 51 : }; 52 : #define _SIDEBANDPROCESSINGMODE_HH 53 : #endif