Earth Observation Mission CFI Software Lib Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.22 00003 //-------------------------------------------------------- 00004 00005 #ifndef _LIBGENERICINTERNALS_H 00006 #define _LIBGENERICINTERNALS_H 00007 00008 //--INCLUDE----------------------------------------------------------- 00009 #include <CfiId.h> 00010 #include <ModelId.h> 00011 #include <TimeCorrelation.h> 00012 00013 namespace EECFI 00014 { 00015 template<> struct GenericInternals<TimeCorrelation> 00016 { 00017 static GenericId* get(const TimeCorrelation& id) 00018 { 00019 return const_cast<TimeCorrelation&>(id).getId(); 00020 } 00021 }; // AN-823 00022 00023 template<> struct GenericInternals<ModelId> 00024 { 00025 static GenericId* get(const ModelId& id) 00026 { 00027 return const_cast<ModelId&>(id).getId(); 00028 } 00029 }; // AN-823 00030 00031 } // namespace EECFI 00032 00033 #endif