00001
00002
00003
00004
00005
00006
00007 #if !defined(SAGA_PACKAGE_COMM_STREAM_VERSION_HPP)
00008 #define SAGA_PACKAGE_COMM_STREAM_VERSION_HPP
00009
00010 #include <saga/saga/util.hpp>
00011 #include <saga/saga/version.hpp>
00012 #include <saga/saga/packages/stream/config.hpp>
00013
00015
00016
00017
00018
00019
00020
00021 #define SAGA_VERSION_PACKAGE_STREAM_FULL SAGA_VERSION_FULL
00022
00023 #define SAGA_VERSION_PACKAGE_STREAM_MAJOR SAGA_VERSION_MAJOR
00024 #define SAGA_VERSION_PACKAGE_STREAM_MINOR SAGA_VERSION_MINOR
00025 #define SAGA_VERSION_PACKAGE_STREAM_SUBMINOR SAGA_VERSION_SUBMINOR
00026
00027 #define SAGA_VERSION_PACKAGE_STREAM_DATE SAGA_VERSION_DATE
00028
00029 #define SAGA_VERSION_PACKAGE_STREAM_SUBMINORMASK SAGA_VERSION_SUBMINORMASK
00030
00032
00033 #define SAGA_VERSION_PACKAGE_STREAM_API SAGA_VERSION_API
00034
00036
00037
00038
00039
00040
00041
00042
00043 #define SAGA_VERSION_PACKAGE_STREAM_ISCOMPATIBLE_EX(version) \
00044 (((version) & ~SAGA_VERSION_PACKAGE_STREAM_SUBMINORMASK) >= \
00045 (SAGA_VERSION_PACKAGE_STREAM_FULL & ~SAGA_VERSION_PACKAGE_STREAM_SUBMINORMASK)) \
00046
00047
00048 #define SAGA_VERSION_PACKAGE_STREAM_ISCOMPATIBLE() \
00049 SAGA_VERSION_PACKAGE_STREAM_ISCOMPATIBLE_EX( \
00050 saga::get_stream_package_version()) \
00051
00052
00054 namespace saga {
00055
00056
00057 SAGA_STREAM_PACKAGE_EXPORT unsigned long get_stream_package_version();
00058
00059
00060 SAGA_STREAM_PACKAGE_EXPORT unsigned long get_stream_package_api_version();
00061
00063 }
00064
00065 #endif // !SAGA_VERSION_HPP
00066
00067