casa
$Rev:20696$
|
00001 /* 00002 * 00003 * ///////////////////////////////////////////////////////////////// 00004 * // WARNING! DO NOT MODIFY THIS FILE! // 00005 * // --------------------------------------------------------- // 00006 * // | This is generated code using a C++ template function! | // 00007 * // ! Do not modify this file. | // 00008 * // | Any changes will be lost when the file is re-generated. | // 00009 * // --------------------------------------------------------- // 00010 * ///////////////////////////////////////////////////////////////// 00011 * 00012 */ 00013 00014 00015 #if !defined(_DATACONTENT_H) 00016 00017 #include <CDataContent.h> 00018 #define _DATACONTENT_H 00019 #endif 00020 00021 #if !defined(_DATACONTENT_HH) 00022 00023 #include "Enum.hpp" 00024 00025 using namespace DataContentMod; 00026 00027 template<> 00028 struct enum_set_traits<DataContentMod::DataContent> : public enum_set_traiter<DataContentMod::DataContent,7,DataContentMod::FLAGS> {}; 00029 00030 template<> 00031 class enum_map_traits<DataContentMod::DataContent,void> : public enum_map_traiter<DataContentMod::DataContent,void> { 00032 public: 00033 static bool init_; 00034 static string typeName_; 00035 static string enumerationDesc_; 00036 static string order_; 00037 static string xsdBaseType_; 00038 static bool init(){ 00039 EnumPar<void> ep; 00040 m_.insert(pair<DataContentMod::DataContent,EnumPar<void> > 00041 (DataContentMod::CROSS_DATA,ep((int)DataContentMod::CROSS_DATA,"CROSS_DATA","un-documented"))); 00042 m_.insert(pair<DataContentMod::DataContent,EnumPar<void> > 00043 (DataContentMod::AUTO_DATA,ep((int)DataContentMod::AUTO_DATA,"AUTO_DATA","un-documented"))); 00044 m_.insert(pair<DataContentMod::DataContent,EnumPar<void> > 00045 (DataContentMod::ZERO_LAGS,ep((int)DataContentMod::ZERO_LAGS,"ZERO_LAGS","un-documented"))); 00046 m_.insert(pair<DataContentMod::DataContent,EnumPar<void> > 00047 (DataContentMod::ACTUAL_TIMES,ep((int)DataContentMod::ACTUAL_TIMES,"ACTUAL_TIMES","un-documented"))); 00048 m_.insert(pair<DataContentMod::DataContent,EnumPar<void> > 00049 (DataContentMod::ACTUAL_DURATIONS,ep((int)DataContentMod::ACTUAL_DURATIONS,"ACTUAL_DURATIONS","un-documented"))); 00050 m_.insert(pair<DataContentMod::DataContent,EnumPar<void> > 00051 (DataContentMod::WEIGHTS,ep((int)DataContentMod::WEIGHTS,"WEIGHTS","un-documented"))); 00052 m_.insert(pair<DataContentMod::DataContent,EnumPar<void> > 00053 (DataContentMod::FLAGS,ep((int)DataContentMod::FLAGS,"FLAGS","un-documented"))); 00054 return true; 00055 } 00056 static map<DataContentMod::DataContent,EnumPar<void> > m_; 00057 }; 00058 #define _DATACONTENT_HH 00059 #endif