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(_PRIMITIVEDATATYPE_H) 00016 00017 #include <CPrimitiveDataType.h> 00018 #define _PRIMITIVEDATATYPE_H 00019 #endif 00020 00021 #if !defined(_PRIMITIVEDATATYPE_HH) 00022 00023 #include "Enum.hpp" 00024 00025 using namespace PrimitiveDataTypeMod; 00026 00027 template<> 00028 struct enum_set_traits<PrimitiveDataTypeMod::PrimitiveDataType> : public enum_set_traiter<PrimitiveDataTypeMod::PrimitiveDataType,5,PrimitiveDataTypeMod::FLOAT64_TYPE> {}; 00029 00030 template<> 00031 class enum_map_traits<PrimitiveDataTypeMod::PrimitiveDataType,void> : public enum_map_traiter<PrimitiveDataTypeMod::PrimitiveDataType,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<PrimitiveDataTypeMod::PrimitiveDataType,EnumPar<void> > 00041 (PrimitiveDataTypeMod::INT16_TYPE,ep((int)PrimitiveDataTypeMod::INT16_TYPE,"INT16_TYPE","un-documented"))); 00042 m_.insert(pair<PrimitiveDataTypeMod::PrimitiveDataType,EnumPar<void> > 00043 (PrimitiveDataTypeMod::INT32_TYPE,ep((int)PrimitiveDataTypeMod::INT32_TYPE,"INT32_TYPE","un-documented"))); 00044 m_.insert(pair<PrimitiveDataTypeMod::PrimitiveDataType,EnumPar<void> > 00045 (PrimitiveDataTypeMod::INT64_TYPE,ep((int)PrimitiveDataTypeMod::INT64_TYPE,"INT64_TYPE","un-documented"))); 00046 m_.insert(pair<PrimitiveDataTypeMod::PrimitiveDataType,EnumPar<void> > 00047 (PrimitiveDataTypeMod::FLOAT32_TYPE,ep((int)PrimitiveDataTypeMod::FLOAT32_TYPE,"FLOAT32_TYPE","un-documented"))); 00048 m_.insert(pair<PrimitiveDataTypeMod::PrimitiveDataType,EnumPar<void> > 00049 (PrimitiveDataTypeMod::FLOAT64_TYPE,ep((int)PrimitiveDataTypeMod::FLOAT64_TYPE,"FLOAT64_TYPE","un-documented"))); 00050 return true; 00051 } 00052 static map<PrimitiveDataTypeMod::PrimitiveDataType,EnumPar<void> > m_; 00053 }; 00054 #define _PRIMITIVEDATATYPE_HH 00055 #endif