LCOV - code coverage report
Current view: top level - alma/Enumtcl - PointingMethod.h (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 16 16 100.0 %
Date: 2024-10-04 16:51:10 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(_POINTINGMETHOD_H)
      16             : 
      17             : #include <alma/Enumerations/CPointingMethod.h>
      18             : #define _POINTINGMETHOD_H
      19             : #endif 
      20             : 
      21             : #if     !defined(_POINTINGMETHOD_HH)
      22             : 
      23             : #include <alma/Enumtcl/Enum.hpp>
      24             : 
      25             : template<>
      26             :  struct enum_set_traits<PointingMethodMod::PointingMethod> : public enum_set_traiter<PointingMethodMod::PointingMethod,6,PointingMethodMod::HOLOGRAPHY> {};
      27             : 
      28             : template<>
      29             : class enum_map_traits<PointingMethodMod::PointingMethod,void> : public enum_map_traiter<PointingMethodMod::PointingMethod,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<PointingMethodMod::PointingMethod,EnumPar<void> >
      39           6 :      (PointingMethodMod::THREE_POINT,ep((int)PointingMethodMod::THREE_POINT,"THREE_POINT","un-documented")));
      40           9 :     m_.insert(std::pair<PointingMethodMod::PointingMethod,EnumPar<void> >
      41           6 :      (PointingMethodMod::FOUR_POINT,ep((int)PointingMethodMod::FOUR_POINT,"FOUR_POINT","un-documented")));
      42           9 :     m_.insert(std::pair<PointingMethodMod::PointingMethod,EnumPar<void> >
      43           6 :      (PointingMethodMod::FIVE_POINT,ep((int)PointingMethodMod::FIVE_POINT,"FIVE_POINT","un-documented")));
      44           9 :     m_.insert(std::pair<PointingMethodMod::PointingMethod,EnumPar<void> >
      45           6 :      (PointingMethodMod::CROSS,ep((int)PointingMethodMod::CROSS,"CROSS","un-documented")));
      46           9 :     m_.insert(std::pair<PointingMethodMod::PointingMethod,EnumPar<void> >
      47           6 :      (PointingMethodMod::CIRCLE,ep((int)PointingMethodMod::CIRCLE,"CIRCLE","un-documented")));
      48           9 :     m_.insert(std::pair<PointingMethodMod::PointingMethod,EnumPar<void> >
      49           6 :      (PointingMethodMod::HOLOGRAPHY,ep((int)PointingMethodMod::HOLOGRAPHY,"HOLOGRAPHY","un-documented")));
      50           3 :     return true;
      51           3 :   }
      52             :   static std::map<PointingMethodMod::PointingMethod,EnumPar<void> > m_;
      53             : };
      54             : #define _POINTINGMETHOD_HH
      55             : #endif

Generated by: LCOV version 1.16