LCOV - code coverage report
Current view: top level - alma/Enumtcl - SwitchingMode.h (source / functions) Hit Total Coverage
Test: casa_coverage.info Lines: 17 17 100.0 %
Date: 2023-10-25 08:47:59 Functions: 1 1 100.0 %

          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(_SWITCHINGMODE_H)
      16             : 
      17             : #include <alma/Enumerations/CSwitchingMode.h>
      18             : #define _SWITCHINGMODE_H
      19             : #endif 
      20             : 
      21             : #if     !defined(_SWITCHINGMODE_HH)
      22             : 
      23             : #include <alma/Enumtcl/Enum.hpp>
      24             : 
      25             : template<>
      26             :  struct enum_set_traits<SwitchingModeMod::SwitchingMode> : public enum_set_traiter<SwitchingModeMod::SwitchingMode,7,SwitchingModeMod::CHOPPER_WHEEL> {};
      27             : 
      28             : template<>
      29             : class enum_map_traits<SwitchingModeMod::SwitchingMode,void> : public enum_map_traiter<SwitchingModeMod::SwitchingMode,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           1 :   static bool   init(){
      37           1 :     EnumPar<void> ep;
      38           2 :     m_.insert(std::pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
      39           1 :      (SwitchingModeMod::NO_SWITCHING,ep((int)SwitchingModeMod::NO_SWITCHING,"NO_SWITCHING","un-documented")));
      40           2 :     m_.insert(std::pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
      41           1 :      (SwitchingModeMod::LOAD_SWITCHING,ep((int)SwitchingModeMod::LOAD_SWITCHING,"LOAD_SWITCHING","un-documented")));
      42           2 :     m_.insert(std::pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
      43           1 :      (SwitchingModeMod::POSITION_SWITCHING,ep((int)SwitchingModeMod::POSITION_SWITCHING,"POSITION_SWITCHING","un-documented")));
      44           2 :     m_.insert(std::pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
      45           1 :      (SwitchingModeMod::PHASE_SWITCHING,ep((int)SwitchingModeMod::PHASE_SWITCHING,"PHASE_SWITCHING","un-documented")));
      46           2 :     m_.insert(std::pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
      47           1 :      (SwitchingModeMod::FREQUENCY_SWITCHING,ep((int)SwitchingModeMod::FREQUENCY_SWITCHING,"FREQUENCY_SWITCHING","un-documented")));
      48           2 :     m_.insert(std::pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
      49           1 :      (SwitchingModeMod::NUTATOR_SWITCHING,ep((int)SwitchingModeMod::NUTATOR_SWITCHING,"NUTATOR_SWITCHING","un-documented")));
      50           2 :     m_.insert(std::pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
      51           1 :      (SwitchingModeMod::CHOPPER_WHEEL,ep((int)SwitchingModeMod::CHOPPER_WHEEL,"CHOPPER_WHEEL","un-documented")));
      52           2 :     return true;
      53             :   }
      54             :   static std::map<SwitchingModeMod::SwitchingMode,EnumPar<void> > m_;
      55             : };
      56             : #define _SWITCHINGMODE_HH
      57             : #endif

Generated by: LCOV version 1.16