SwitchingMode.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #if !defined(_SWITCHINGMODE_H)
00016
00017 #include <CSwitchingMode.h>
00018 #define _SWITCHINGMODE_H
00019 #endif
00020
00021 #if !defined(_SWITCHINGMODE_HH)
00022
00023 #include "Enum.hpp"
00024
00025 using namespace SwitchingModeMod;
00026
00027 template<>
00028 struct enum_set_traits<SwitchingModeMod::SwitchingMode> : public enum_set_traiter<SwitchingModeMod::SwitchingMode,7,SwitchingModeMod::CHOPPER_WHEEL> {};
00029
00030 template<>
00031 class enum_map_traits<SwitchingModeMod::SwitchingMode,void> : public enum_map_traiter<SwitchingModeMod::SwitchingMode,void> {
00032 public:
00033 static bool init_;
00034 static string typeName_;
00035 static string enumerationDesc_;
00036 static string order_;
00037 static string xsdBaseType_;
00038 static bool init(){
00039 EnumPar<void> ep;
00040 m_.insert(pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
00041 (SwitchingModeMod::NO_SWITCHING,ep((int)SwitchingModeMod::NO_SWITCHING,"NO_SWITCHING","un-documented")));
00042 m_.insert(pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
00043 (SwitchingModeMod::LOAD_SWITCHING,ep((int)SwitchingModeMod::LOAD_SWITCHING,"LOAD_SWITCHING","un-documented")));
00044 m_.insert(pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
00045 (SwitchingModeMod::POSITION_SWITCHING,ep((int)SwitchingModeMod::POSITION_SWITCHING,"POSITION_SWITCHING","un-documented")));
00046 m_.insert(pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
00047 (SwitchingModeMod::PHASE_SWITCHING,ep((int)SwitchingModeMod::PHASE_SWITCHING,"PHASE_SWITCHING","un-documented")));
00048 m_.insert(pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
00049 (SwitchingModeMod::FREQUENCY_SWITCHING,ep((int)SwitchingModeMod::FREQUENCY_SWITCHING,"FREQUENCY_SWITCHING","un-documented")));
00050 m_.insert(pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
00051 (SwitchingModeMod::NUTATOR_SWITCHING,ep((int)SwitchingModeMod::NUTATOR_SWITCHING,"NUTATOR_SWITCHING","un-documented")));
00052 m_.insert(pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
00053 (SwitchingModeMod::CHOPPER_WHEEL,ep((int)SwitchingModeMod::CHOPPER_WHEEL,"CHOPPER_WHEEL","un-documented")));
00054 return true;
00055 }
00056 static map<SwitchingModeMod::SwitchingMode,EnumPar<void> > m_;
00057 };
00058 #define _SWITCHINGMODE_HH
00059 #endif