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