LCOV - code coverage report
Current view: top level - alma/Enumtcl - SchedulerMode.h (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 12 12 100.0 %
Date: 2024-10-29 13:38:20 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(_SCHEDULERMODE_H)
      16             : 
      17             : #include <alma/Enumerations/CSchedulerMode.h>
      18             : #define _SCHEDULERMODE_H
      19             : #endif 
      20             : 
      21             : #if     !defined(_SCHEDULERMODE_HH)
      22             : 
      23             : #include <alma/Enumtcl/Enum.hpp>
      24             : 
      25             : template<>
      26             :  struct enum_set_traits<SchedulerModeMod::SchedulerMode> : public enum_set_traiter<SchedulerModeMod::SchedulerMode,4,SchedulerModeMod::QUEUED> {};
      27             : 
      28             : template<>
      29             : class enum_map_traits<SchedulerModeMod::SchedulerMode,void> : public enum_map_traiter<SchedulerModeMod::SchedulerMode,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<SchedulerModeMod::SchedulerMode,EnumPar<void> >
      39           4 :      (SchedulerModeMod::DYNAMIC,ep((int)SchedulerModeMod::DYNAMIC,"DYNAMIC","un-documented")));
      40           6 :     m_.insert(std::pair<SchedulerModeMod::SchedulerMode,EnumPar<void> >
      41           4 :      (SchedulerModeMod::INTERACTIVE,ep((int)SchedulerModeMod::INTERACTIVE,"INTERACTIVE","un-documented")));
      42           6 :     m_.insert(std::pair<SchedulerModeMod::SchedulerMode,EnumPar<void> >
      43           4 :      (SchedulerModeMod::MANUAL,ep((int)SchedulerModeMod::MANUAL,"MANUAL","un-documented")));
      44           6 :     m_.insert(std::pair<SchedulerModeMod::SchedulerMode,EnumPar<void> >
      45           4 :      (SchedulerModeMod::QUEUED,ep((int)SchedulerModeMod::QUEUED,"QUEUED","un-documented")));
      46           2 :     return true;
      47           2 :   }
      48             :   static std::map<SchedulerModeMod::SchedulerMode,EnumPar<void> > m_;
      49             : };
      50             : #define _SCHEDULERMODE_HH
      51             : #endif

Generated by: LCOV version 1.16