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