LCOV - code coverage report
Current view: top level - alma/Enumtcl - DopplerReferenceCode.h (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 18 18 100.0 %
Date: 2024-10-28 15:53: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(_DOPPLERREFERENCECODE_H)
      16             : 
      17             : #include <alma/Enumerations/CDopplerReferenceCode.h>
      18             : #define _DOPPLERREFERENCECODE_H
      19             : #endif 
      20             : 
      21             : #if     !defined(_DOPPLERREFERENCECODE_HH)
      22             : 
      23             : #include <alma/Enumtcl/Enum.hpp>
      24             : 
      25             : template<>
      26             :  struct enum_set_traits<DopplerReferenceCodeMod::DopplerReferenceCode> : public enum_set_traiter<DopplerReferenceCodeMod::DopplerReferenceCode,7,DopplerReferenceCodeMod::RELATIVISTIC> {};
      27             : 
      28             : template<>
      29             : class enum_map_traits<DopplerReferenceCodeMod::DopplerReferenceCode,void> : public enum_map_traiter<DopplerReferenceCodeMod::DopplerReferenceCode,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<DopplerReferenceCodeMod::DopplerReferenceCode,EnumPar<void> >
      39           4 :      (DopplerReferenceCodeMod::RADIO,ep((int)DopplerReferenceCodeMod::RADIO,"RADIO","un-documented")));
      40           6 :     m_.insert(std::pair<DopplerReferenceCodeMod::DopplerReferenceCode,EnumPar<void> >
      41           4 :      (DopplerReferenceCodeMod::Z,ep((int)DopplerReferenceCodeMod::Z,"Z","un-documented")));
      42           6 :     m_.insert(std::pair<DopplerReferenceCodeMod::DopplerReferenceCode,EnumPar<void> >
      43           4 :      (DopplerReferenceCodeMod::RATIO,ep((int)DopplerReferenceCodeMod::RATIO,"RATIO","un-documented")));
      44           6 :     m_.insert(std::pair<DopplerReferenceCodeMod::DopplerReferenceCode,EnumPar<void> >
      45           4 :      (DopplerReferenceCodeMod::BETA,ep((int)DopplerReferenceCodeMod::BETA,"BETA","un-documented")));
      46           6 :     m_.insert(std::pair<DopplerReferenceCodeMod::DopplerReferenceCode,EnumPar<void> >
      47           4 :      (DopplerReferenceCodeMod::GAMMA,ep((int)DopplerReferenceCodeMod::GAMMA,"GAMMA","un-documented")));
      48           6 :     m_.insert(std::pair<DopplerReferenceCodeMod::DopplerReferenceCode,EnumPar<void> >
      49           4 :      (DopplerReferenceCodeMod::OPTICAL,ep((int)DopplerReferenceCodeMod::OPTICAL,"OPTICAL","un-documented")));
      50           6 :     m_.insert(std::pair<DopplerReferenceCodeMod::DopplerReferenceCode,EnumPar<void> >
      51           4 :      (DopplerReferenceCodeMod::RELATIVISTIC,ep((int)DopplerReferenceCodeMod::RELATIVISTIC,"RELATIVISTIC","un-documented")));
      52           2 :     return true;
      53           2 :   }
      54             :   static std::map<DopplerReferenceCodeMod::DopplerReferenceCode,EnumPar<void> > m_;
      55             : };
      56             : #define _DOPPLERREFERENCECODE_HH
      57             : #endif

Generated by: LCOV version 1.16