Earth Observation Mission CFI Software EECommon Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.20 00003 //-------------------------------------------------------- 00004 00005 //-------------------------------------------------------------- 00006 // CVS Info: $Id: DemFile.h,v 1.12 2014-02-20 20:02:23 cavm Exp $ 00007 //-------------------------------------------------------------- 00008 00009 #ifndef _EEDLLEXPORT_H 00010 #define _EEDLLEXPORT_H 00011 00012 #if __cplusplus >= 201103L // ANR-813 00013 #define NOEXCEPT noexcept 00014 #else 00015 #define NOEXCEPT 00016 #endif 00017 00018 #if __cplusplus >= 201103L // ANR-813 00019 #define EXCEPT noexcept(false) 00020 #else 00021 #define EXCEPT 00022 #endif 00023 00024 #if defined(WINDOWS) && defined(_DLL) //AN-620; decorate with "dllexport"/"dllimport" to avoid using deifinition file for C++ symbols 00025 #include <string> 00026 #include <vector> 00027 #include <xstring> 00028 00029 #if defined(EECFI_DLL_EXPORT) 00030 #define EE_DECL __declspec(dllexport) 00031 #define EE_EXPIMP_TEMPLATE 00032 #else 00033 #define EE_DECL __declspec(dllimport) 00034 #define EE_EXPIMP_TEMPLATE extern 00035 #endif 00036 EE_EXPIMP_TEMPLATE template class EE_DECL std::allocator<int>; 00037 EE_EXPIMP_TEMPLATE template class EE_DECL std::allocator<long>; 00038 EE_EXPIMP_TEMPLATE template class EE_DECL std::allocator<double>; 00039 EE_EXPIMP_TEMPLATE template class EE_DECL std::allocator<char>; 00040 EE_EXPIMP_TEMPLATE template class EE_DECL std::vector<int>; 00041 EE_EXPIMP_TEMPLATE template class EE_DECL std::vector<long>; 00042 EE_EXPIMP_TEMPLATE template class EE_DECL std::vector<double>; 00043 //EE_EXPIMP_TEMPLATE template class EE_DECL std::basic_string<char,char_traits<char>,allocator<char>>; 00044 #else //MACOS, LINUX, WINDOWS_STA 00045 #define EE_DECL 00046 #endif 00047 00048 //#pragma warning (disable : 4251) 00049 00050 #endif