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(_PRIMARYBEAMDESCRIPTION_H) 16 : 17 : #include <alma/Enumerations/CPrimaryBeamDescription.h> 18 : #define _PRIMARYBEAMDESCRIPTION_H 19 : #endif 20 : 21 : #if !defined(_PRIMARYBEAMDESCRIPTION_HH) 22 : 23 : #include <alma/Enumtcl/Enum.hpp> 24 : 25 : template<> 26 : struct enum_set_traits<PrimaryBeamDescriptionMod::PrimaryBeamDescription> : public enum_set_traiter<PrimaryBeamDescriptionMod::PrimaryBeamDescription,2,PrimaryBeamDescriptionMod::APERTURE_FIELD_DISTRIBUTION> {}; 27 : 28 : template<> 29 : class enum_map_traits<PrimaryBeamDescriptionMod::PrimaryBeamDescription,void> : public enum_map_traiter<PrimaryBeamDescriptionMod::PrimaryBeamDescription,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<PrimaryBeamDescriptionMod::PrimaryBeamDescription,EnumPar<void> > 39 4 : (PrimaryBeamDescriptionMod::COMPLEX_FIELD_PATTERN,ep((int)PrimaryBeamDescriptionMod::COMPLEX_FIELD_PATTERN,"COMPLEX_FIELD_PATTERN","un-documented"))); 40 6 : m_.insert(std::pair<PrimaryBeamDescriptionMod::PrimaryBeamDescription,EnumPar<void> > 41 4 : (PrimaryBeamDescriptionMod::APERTURE_FIELD_DISTRIBUTION,ep((int)PrimaryBeamDescriptionMod::APERTURE_FIELD_DISTRIBUTION,"APERTURE_FIELD_DISTRIBUTION","un-documented"))); 42 2 : return true; 43 2 : } 44 : static std::map<PrimaryBeamDescriptionMod::PrimaryBeamDescription,EnumPar<void> > m_; 45 : }; 46 : #define _PRIMARYBEAMDESCRIPTION_HH 47 : #endif