Go to the documentation of this file. 18 #ifndef OPEN_KARTO_MACROS_H 19 #define OPEN_KARTO_MACROS_H 28 #ifndef KARTO_DEPRECATED 29 # if defined(__GNUC__) && (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__>=1)) 30 # define KARTO_DEPRECATED __attribute__((deprecated)) 31 # elif defined(__INTEL) || defined(_MSC_VER) 32 # define KARTO_DEPRECATED __declspec(deprecated) 34 # define KARTO_DEPRECATED 45 #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__) 46 # if defined( _LIB ) || defined( KARTO_STATIC ) || defined( STATIC_BUILD ) 50 # define KARTO_EXPORT __declspec(dllexport) 52 # define KARTO_EXPORT __declspec(dllimport) 53 # endif // KARTO_DYNAMIC 66 #define forEach( listtype, list ) \ 67 for ( listtype::iterator iter = (list)->begin(); iter != (list)->end(); ++iter ) 69 #define forEachAs( listtype, list, iter ) \ 70 for ( listtype::iterator iter = (list)->begin(); iter != (list)->end(); ++iter ) 72 #define const_forEach( listtype, list ) \ 73 for ( listtype::const_iterator iter = (list)->begin(); iter != (list)->end(); ++iter ) 75 #define const_forEachAs( listtype, list, iter ) \ 76 for ( listtype::const_iterator iter = (list)->begin(); iter != (list)->end(); ++iter ) 78 #define forEachR( listtype, list ) \ 79 for ( listtype::reverse_iterator iter = (list)->rbegin(); iter != (list)->rend(); ++iter ) 81 #define const_forEachR( listtype, list ) \ 82 for ( listtype::const_reverse_iterator iter = (list)->rbegin(); iter != (list)->rend(); ++iter ) 93 #if defined(__INTEL) || defined(_MSC_VER) 96 #pragma warning(disable:4251) 100 #ifdef __INTEL_COMPILER 103 #pragma warning(disable:4127) 106 #pragma warning(disable:4100) 109 #pragma warning(disable:383) 113 #pragma warning(disable:981) 116 #pragma warning(disable:1418) 120 #pragma warning(disable:1572) 123 #pragma warning(disable:10121) 125 #endif // __INTEL_COMPILER 127 #endif // OPEN_KARTO_MACROS_H
open_karto
Author(s):
autogenerated on Sat Apr 6 2019 02:22:46