00001 /* 00002 ***************************************************************** 00003 ***************************************************************** 00004 ******* ******** 00005 ******* (C) Copyright 1989-2007 by Tecplot Inc. ******** 00006 ******* All Rights Reserved. ******** 00007 ******* ******** 00008 ***************************************************************** 00009 ***************************************************************** 00010 */ 00011 #ifndef TECPLOT_TOOLBOX_TPTOOLBOX_H 00012 #define TECPLOT_TOOLBOX_TPTOOLBOX_H 00013 00014 #if defined WIN32 00015 /* 00016 * warning C4996: 'foo': This function or variable may be unsafe. Consider using foo_s instead. 00017 */ 00018 #pragma warning(disable: 4996) 00019 00020 /* 00021 * warning C4786: 'Some STL template class' : identifier was truncated to 00022 * '255' characters in the debug information 00023 */ 00024 #pragma warning(disable: 4786) 00025 00026 /* 00027 * class 'std::set<>,class std::allocator<> >' needs to have dll-interface 00028 */ 00029 #pragma warning (disable : 4251) 00030 00031 /* 00032 * "C++ exception specification ignored except to indicate a function is not __declspec(nothrow)" 00033 * Indeed, in the current implementation of the compiler, there is no check if the method will throw 00034 * only the exceptions that it claims it throws. The 'throw' qualifier is added to methods for purely 00035 * documentational purposes. 00036 */ 00037 #pragma warning (disable : 4290) 00038 00039 #ifdef _TPTOOLBOX_DLLAPI 00040 #define TPTOOLBOX_DLLAPI __declspec( dllexport ) 00041 #else 00042 #define TPTOOLBOX_DLLAPI __declspec( dllimport ) 00043 #endif 00044 #else 00045 #define TPTOOLBOX_DLLAPI 00046 #endif //MSWIN 00047 00048 #undef UNCOPYABLE_CLASS /* Prevent duplicate definition warning */ 00049 00050 #define UNCOPYABLE_CLASS(CLASS_NAME) \ 00051 CLASS_NAME(const CLASS_NAME &);\ 00052 CLASS_NAME & operator = (const CLASS_NAME &) 00053 00054 #include "TECADDON.h" 00055 00056 #endif // TECPLOT_TOOLBOX_TPTOOLBOX_H