LCOV - code coverage report
Current view: top level - alma/Enumtcl - SubscanIntent.h (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 26 26 100.0 %
Date: 2024-10-04 18:58:15 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(_SUBSCANINTENT_H)
      16             : 
      17             : #include <alma/Enumerations/CSubscanIntent.h>
      18             : #define _SUBSCANINTENT_H
      19             : #endif 
      20             : 
      21             : #if     !defined(_SUBSCANINTENT_HH)
      22             : 
      23             : #include <alma/Enumtcl/Enum.hpp>
      24             : 
      25             : template<>
      26             :  struct enum_set_traits<SubscanIntentMod::SubscanIntent> : public enum_set_traiter<SubscanIntentMod::SubscanIntent,11,SubscanIntentMod::UNSPECIFIED> {};
      27             : 
      28             : template<>
      29             : class enum_map_traits<SubscanIntentMod::SubscanIntent,void> : public enum_map_traiter<SubscanIntentMod::SubscanIntent,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<SubscanIntentMod::SubscanIntent,EnumPar<void> >
      39           6 :      (SubscanIntentMod::ON_SOURCE,ep((int)SubscanIntentMod::ON_SOURCE,"ON_SOURCE","un-documented")));
      40           9 :     m_.insert(std::pair<SubscanIntentMod::SubscanIntent,EnumPar<void> >
      41           6 :      (SubscanIntentMod::OFF_SOURCE,ep((int)SubscanIntentMod::OFF_SOURCE,"OFF_SOURCE","un-documented")));
      42           9 :     m_.insert(std::pair<SubscanIntentMod::SubscanIntent,EnumPar<void> >
      43           6 :      (SubscanIntentMod::MIXED,ep((int)SubscanIntentMod::MIXED,"MIXED","un-documented")));
      44           9 :     m_.insert(std::pair<SubscanIntentMod::SubscanIntent,EnumPar<void> >
      45           6 :      (SubscanIntentMod::REFERENCE,ep((int)SubscanIntentMod::REFERENCE,"REFERENCE","un-documented")));
      46           9 :     m_.insert(std::pair<SubscanIntentMod::SubscanIntent,EnumPar<void> >
      47           6 :      (SubscanIntentMod::SCANNING,ep((int)SubscanIntentMod::SCANNING,"SCANNING","un-documented")));
      48           9 :     m_.insert(std::pair<SubscanIntentMod::SubscanIntent,EnumPar<void> >
      49           6 :      (SubscanIntentMod::HOT,ep((int)SubscanIntentMod::HOT,"HOT","un-documented")));
      50           9 :     m_.insert(std::pair<SubscanIntentMod::SubscanIntent,EnumPar<void> >
      51           6 :      (SubscanIntentMod::AMBIENT,ep((int)SubscanIntentMod::AMBIENT,"AMBIENT","un-documented")));
      52           9 :     m_.insert(std::pair<SubscanIntentMod::SubscanIntent,EnumPar<void> >
      53           6 :      (SubscanIntentMod::SIGNAL,ep((int)SubscanIntentMod::SIGNAL,"SIGNAL","un-documented")));
      54           9 :     m_.insert(std::pair<SubscanIntentMod::SubscanIntent,EnumPar<void> >
      55           6 :      (SubscanIntentMod::IMAGE,ep((int)SubscanIntentMod::IMAGE,"IMAGE","un-documented")));
      56           9 :     m_.insert(std::pair<SubscanIntentMod::SubscanIntent,EnumPar<void> >
      57           6 :      (SubscanIntentMod::TEST,ep((int)SubscanIntentMod::TEST,"TEST","un-documented")));
      58           9 :     m_.insert(std::pair<SubscanIntentMod::SubscanIntent,EnumPar<void> >
      59           6 :      (SubscanIntentMod::UNSPECIFIED,ep((int)SubscanIntentMod::UNSPECIFIED,"UNSPECIFIED","un-documented")));
      60           3 :     return true;
      61           3 :   }
      62             :   static std::map<SubscanIntentMod::SubscanIntent,EnumPar<void> > m_;
      63             : };
      64             : #define _SUBSCANINTENT_HH
      65             : #endif

Generated by: LCOV version 1.16