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(_RECEIVERSIDEBAND_H) 16 : 17 : #include <alma/Enumerations/CReceiverSideband.h> 18 : #define _RECEIVERSIDEBAND_H 19 : #endif 20 : 21 : #if !defined(_RECEIVERSIDEBAND_HH) 22 : 23 : #include <alma/Enumtcl/Enum.hpp> 24 : 25 : template<> 26 : struct enum_set_traits<ReceiverSidebandMod::ReceiverSideband> : public enum_set_traiter<ReceiverSidebandMod::ReceiverSideband,4,ReceiverSidebandMod::TSB> {}; 27 : 28 : template<> 29 : class enum_map_traits<ReceiverSidebandMod::ReceiverSideband,void> : public enum_map_traiter<ReceiverSidebandMod::ReceiverSideband,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 3 : static bool init(){ 37 3 : EnumPar<void> ep; 38 9 : m_.insert(std::pair<ReceiverSidebandMod::ReceiverSideband,EnumPar<void> > 39 6 : (ReceiverSidebandMod::NOSB,ep((int)ReceiverSidebandMod::NOSB,"NOSB","un-documented"))); 40 9 : m_.insert(std::pair<ReceiverSidebandMod::ReceiverSideband,EnumPar<void> > 41 6 : (ReceiverSidebandMod::DSB,ep((int)ReceiverSidebandMod::DSB,"DSB","un-documented"))); 42 9 : m_.insert(std::pair<ReceiverSidebandMod::ReceiverSideband,EnumPar<void> > 43 6 : (ReceiverSidebandMod::SSB,ep((int)ReceiverSidebandMod::SSB,"SSB","un-documented"))); 44 9 : m_.insert(std::pair<ReceiverSidebandMod::ReceiverSideband,EnumPar<void> > 45 6 : (ReceiverSidebandMod::TSB,ep((int)ReceiverSidebandMod::TSB,"TSB","un-documented"))); 46 3 : return true; 47 3 : } 48 : static std::map<ReceiverSidebandMod::ReceiverSideband,EnumPar<void> > m_; 49 : }; 50 : #define _RECEIVERSIDEBAND_HH 51 : #endif